CVE-2025-48734 — Vulnerability in commons-beanutils — CVE Details
Apache Commons Improper Access Control vulnerability
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (2.68%). Schedule for your next planned update.
Does your project use an affected commons-beanutils:commons-beanutils version?
Paste your pom.xml to check it for CVE-2025-48734 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
Improper Access Control vulnerability in Apache Commons.
A 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.
Releases 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(). Starting 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.
This 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
1.x are recommended to upgrade to version 1.11.0, which fixes the issue.
Users of the artifact org.apache.commons:commons-beanutils2
2.x are recommended to upgrade to version 2.0.0-M2, which fixes the issue.
Advisory Timeline
- First published May 28, 2025 (547 days ago).
- Last revised September 10, 2026 — 470 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
<!-- Update pom.xml dependency version to 1.11.0 for commons-beanutils:commons-beanutils -->
<!-- Update pom.xml dependency version to 2.0.0-M2 for org.apache.commons:commons-beanutils2 -->
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (2)
Affects 1 ecosystem: Maven (2).
| Package | Fixed In |
|---|---|
| commons-beanutils:commons-beanutils Maven · Affected: 1.0, 1.10.0, 1.10.1, 1.2 (+17 more) | 1.11.0 |
| org.apache.commons:commons-beanutils2 Maven · Affected: 2.0.0-M1 | 2.0.0-M2 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-284
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 8.8 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-48734ADVISORY
- https://github.com/apache/commons-beanutils/commit/bd20740da25b69552ddef8523beec0837297eaf9WEB
- https://github.com/apache/commons-beanutilsPACKAGE
- https://lists.apache.org/thread/s0hb3jkfj5f3ryx6c57zqtfohb0of1g9WEB
- https://lists.debian.org/debian-lts-announce/2025/06/msg00027.htmlWEB
- https://www.openwall.com/lists/oss-security/2025/05/28/6WEB
Frequently Asked Questions
- What is CVE-2025-48734?
- Apache Commons Improper Access Control vulnerability. This vulnerability has been assigned a severity rating of HIGH (CVSS score: 8.8/10).
- How do I check if my project is affected by CVE-2025-48734?
- CVE-2025-48734 affects commons-beanutils:commons-beanutils and org.apache.commons:commons-beanutils2. It has a 2.7% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2025-48734 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Significant impact if exploited, or exploitable with modest effort.
This places it in the top quartile of EPSS-scored vulnerabilities — 86.5% of tracked vulnerabilities score at or below it, so it is more likely to be exploited than most of the tracked corpus.
Also Known As
Related CVEs
- CVE-2022-42889CRITICAL
Arbitrary code execution in Apache Commons Text
- CVE-2015-7501CRITICAL
Deserialization of Untrusted Data in Apache commons collections
- CVE-2026-61689HIGH
XWiki Platform: HQL injection in search allows unauthenticated database extraction including password hashes
- CVE-2026-107725HIGH
Hazelcast has an authorization bypass in IMap Predicates API