CVE-2025-48734: Apache Commons BeanUtils: PropertyUtilsBean does not suppresses an enum's declaredClass property by default
Vulnerability summary
CVE-2025-48734 is a high (CVSS 8.8) Improper Access Control vulnerability in apache software foundation apache commons beanutils 1.x. EPSS estimates a 2.02% chance of exploitation in the next 30 days, higher than 80.9% of scored vulnerabilities.
Not severe (CVSS 8.8, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 9 · Related 15Timeline
- 28-05-2025PublishedVulnerability first disclosed.
- 29-04-2026Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
8 scores · 8 sources · 1 version- OSV · Red hatEcosystem advisory · calculated8.8HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · UbuntuEcosystem advisory · calculated8.8HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated8.8HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · WolfiEcosystem advisory · calculated8.8HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · ChainguardEcosystem advisory · calculated8.8HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · MavenEcosystem advisory · calculated8.8HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- NVDNIST8.8HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
2.02%
Chance of exploitation in the next 30 days
Percentile
81%
Versus all other CVEs
30-day change
Increase +0.19 pp
From 1.82% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard129 products
- akhq< 0.25.1-r4
- apache-activemq-artemis< 2.41.0-r4
- apache-activemq-artemis-compat< 2.41.0-r4
- apache-nifi< 2.4.0-r1
- apache-nifi-compat< 2.4.0-r1
Wolfi68 products
- akhq< 0.25.1-r4
- apache-activemq-artemis< 2.41.0-r4
- apache-activemq-artemis-compat< 2.41.0-r4
- apache-nifi< 2.4.0-r1
- apache-nifi-compat< 2.4.0-r1
Apache software foundation2 products
- apache commons beanutils 1.x≥ 1.0, < 1.11.0
- apache commons beanutils 2.x≥ 2.0.0-M1, < 2.0.0-M2
Apache1 product
- commons_beanutils≥ 1.0, < 1.11.0 | 2.0.0:milestone1
4 vendors · 200 products · Showing 200 of 263
References
51 links- lists.apache.org/thread/s0hb3jkfj5f3ryx6c57zqtfohb0of1g9Vendor AdvisoryARTICLEREPORTAdvisoryWEBMailing List
Show all 51 references
- docs.redhat.com/en/…ARTICLE