Apache Commons Beanutils Vulnerability: Classloader Access Risk

commons-beanutils Updated 02 Oct 2025

Summary

20/08/2019
N/A
Yes i
High
7.3

CVE-2019-10086: In Apache Commons Beanutils 1.9.2, a special BeanIntrospector class was added which allows suppressing the ability for an attacker to access the classloader via the class property available on all Java objects. Affects commons-beanutils versions < 1.9.4-1. Fixed in 1.9.4-1. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Apache Commons Beanutils is a Java library that provides utilities for manipulating JavaBeans properties. It allows developers to easily access and modify properties of Java objects, making it a popular choice for applications that require dynamic property manipulation. However, a vulnerability was identified in version 1.9.2, where the default configuration did not utilize a newly introduced BeanIntrospector class designed to prevent unauthorized access to the classloader through Java objects.

Vulnerability Detail

In Apache Commons Beanutils version 1.9.2, a vulnerability exists due to the failure to implement the BeanIntrospector class by default. This oversight allows attackers to exploit the class property available on all Java objects, potentially gaining access to the classloader. This could lead to unauthorized code execution or exposure of sensitive information, posing a significant security risk to applications relying on this library.

How To Fix

Minimum fixed version

1.9.4-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade commons-beanutils

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

If an immediate upgrade is not feasible, consider implementing a custom BeanIntrospector that restricts access to the classloader. This can be done by configuring the PropertyUtilsBean to use the custom BeanIntrospector, thereby mitigating the risk until an upgrade can be performed. Example code for a custom BeanIntrospector is not provided here, but it should focus on overriding the default behavior to prevent classloader access.

Conclusion

The vulnerability in Apache Commons Beanutils poses a significant risk due to improper access control to the classloader. Upgrading to version 1.9.4-1 or later is essential to secure applications using this library. Additionally, utilizing tools like Vulert can help monitor and alert for such vulnerabilities in real-time.

See every vulnerability recorded for commons-beanutils →

Share this vulnerability

FAQ

Versions prior to 1.9.4-1 are affected by this vulnerability.

The CVSS score for this vulnerability is 7.3, indicating a high severity level.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.

Exploitation of this vulnerability could lead to unauthorized access to the classloader, allowing attackers to execute arbitrary code or access sensitive data.

Yes, implementing a custom BeanIntrospector can help mitigate the risk until an upgrade is possible.

Related vulnerabilities

Recent vulnerabilities recorded for commons-beanutils.

How To Fix

Minimum fixed version

1.9.4-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade commons-beanutils

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback