Vulnerabilities in pkg:maven/org.apache.commons/commons-beanutils2
PACKAGECVE-2025-48734 is a HIGH (CVSS 8.8) apache commons improper access control vulnerability (CWE-284: Improper Access Control) affecting Commons beanutils libraries in the Maven ecosystem. The issue involves apache commons improper access control vulnerability. Remediation is available by upgrading affected packages to version 1.11.0, 2.0.0-M2.
pkg:maven/org.apache.commons/commons-beanutils2
Vulnerability advisories affecting package pkg:maven/org.apache.commons/commons-beanutils2. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-wxr5-93ph-8wr9 | CVE-2025-48734 | HIGH | Apache Commons Improper Access Control vulnerability |
CVE-2025-48734 at a Glance
Security Impact
CVSS: 8.8
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H).
How to Fix CVE-2025-48734
To remediate this vulnerability, upgrade all affected Commons beanutils dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
<dependency>
<groupId>commons-beanutils</groupId>
<artifactId>commons-beanutils</artifactId>
<version>1.11.0</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-beanutils2</artifactId>
<version>2.0.0-M2</version>
</dependency>
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
mvn dependency:tree -Dincludes=commons-beanutils
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2025-48734, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=commons-beanutils
Analyze the terminal output to locate any version of Commons beanutils in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.11.0), your application is affected.
Note: The mvn dependency:tree -Dincludes=commons-beanutils command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-284: Improper Access Control, where the product does not restrict or incorrectly restricts access to a resource from an unauthorized actor. In Commons beanutils, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2025-48734 Affected Commons beanutils Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
commons-beanutils:commons-beanutils
|
Maven |
≥ 1.0
< 1.11.0
|
1.11.0
|
|
org.apache.commons:commons-beanutils2
|
Maven |
≥ 2.0.0-M1
< 2.0.0-M2
|
2.0.0-M2
|
References
Frequently Asked Questions
What is CVE-2025-48734?
Which Commons beanutils versions are affected?
What version fixes CVE-2025-48734?
Is commons-beanutils affected?
Is commons-beanutils2 affected?
What is the CVSS score of CVE-2025-48734?
What CWE is associated with CVE-2025-48734?
How can I check Maven dependencies for CVE-2025-48734?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-wxr5-93ph-8wr9",
"modified" : "2025-11-03T21:33:58Z",
"published" : "2025-05-28T15:34:34Z",
"aliases" : [ "CVE-2025-48734" ],
"summary" : "Apache Commons Improper Access Control vulnerability",
"details" : "Improper Access Control vulnerability in Apache Commons.\n\n\n\nA special BeanIntrospector class was added in version 1.9.2. This can be used to stop attackers from using the declared class property of Java enum objects to get access to the classloader. However this protection was not enabled by default. PropertyUtilsBean (and consequently BeanUtilsBean) now disallows declared class level property access by default.\n\n\n\n\n\nReleases 1.11.0 and 2.0.0-M2 address a potential security issue when accessing enum properties in an uncontrolled way. If an application using Commons BeanUtils passes property paths from an external source directly to the getProperty() method of PropertyUtilsBean, an attacker can access the enum’s class loader via the “declaredClass” property available on all Java “enum” objects. Accessing the enum’s “declaredClass” allows remote attackers to access the ClassLoader and execute arbitrary code. The same issue exists with PropertyUtilsBean.getNestedProperty().\nStarting in versions 1.11.0 and 2.0.0-M2 a special BeanIntrospector suppresses the “declaredClass” property. Note that this new BeanIntrospector is enabled by default, but you can disable it to regain the old behavior; see section 2.5 of the user's guide and the unit tests.\n\nThis issue affects Apache Commons BeanUtils 1.x before 1.11.0, and 2.x before 2.0.0-M2.Users of the artifact commons-beanutils:commons-beanutils\n\n 1.x are recommended to upgrade to version 1.11.0, which fixes the issue.\n\n\nUsers of the artifact org.apache.commons:commons-beanutils2\n\n 2.x are recommended to upgrade to version 2.0.0-M2, which fixes the issue.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "commons-beanutils:commons-beanutils"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.0"
}, {
"fixed" : "1.11.0"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 1.10.1"
}
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.apache.commons:commons-beanutils2"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.0.0-M1"
}, {
"fixed" : "2.0.0-M2"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-48734"
}, {
"type" : "WEB",
"url" : "https://github.com/apache/commons-beanutils/commit/bd20740da25b69552ddef8523beec0837297eaf9"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/apache/commons-beanutils"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread/s0hb3jkfj5f3ryx6c57zqtfohb0of1g9"
}, {
"type" : "WEB",
"url" : "https://lists.debian.org/debian-lts-announce/2025/06/msg00027.html"
}, {
"type" : "WEB",
"url" : "http://www.openwall.com/lists/oss-security/2025/05/28/6"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-284" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2025-05-28T17:37:18Z",
"nvd_published_at" : "2025-05-28T14:15:34Z"
}
}