CVE-2025-48734
Apache Commons Improper Access Control vulnerability
Reported by apache · Published May 28, 2025
commons-beanutils is fixed in 1.11.0 (Maven Central)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| commons-beanutils:commons-beanutils | Maven Central | 1.11.0 |
| jenkins-plugin-manager | Wolfi | 2.14.0-r0 |
| druid | Chainguard | 37.0.0-r56, 37.0.0-r14 |
| spark-fips-3.5 | Chainguard | 3.5.8-r14 |
| apache-activemq-artemis | Wolfi | 2.41.0-r4 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Apache Software Foundation | Apache Commons BeanUtils 1.x | 1.0 |
| Apache Software Foundation | Apache Commons BeanUtils 2.x | 2.0.0-M1 |
| wolfi | jenkins-plugin-manager | 0 |
| Apache Software Foundation | Apache Commons BeanUtils 1.x | 1.0 |
| chainguard | druid | 0, 0 |
| chainguard | spark-fips-3.5 | 0 |
| wolfi | apache-activemq-artemis | 0 |
| Apache | Commons BeanUtils | |
| chainguard | jenkins-2.462 | 0 |
| wolfi | druid | 0, 0 |
| chainguard | camunda-zeebe-8.6 | 0 |
| chainguard | prometheus-jmx-exporter | 0 |
| wolfi | kafka-3.8 | 0 |
| amazon:2023 | javapackages-bootstrap | 0 |
| Maven | org.apache.commons:commons-beanutils2 | 2.0.0-M1 |
| chainguard | strimzi-kafka-operator | 0 |
| wolfi | apache-nifi | 0 |
| wolfi | celeborn-0.6 | 0 |
| chainguard | confluent-common-docker | 0 |
| amazon:2023 | apache-commons-beanutils | 0 |
…and 49 more
Timeline
- May 28, 2025 CVE Published
- May 29, 2025 EPSS Score (30 in total, the first dated here)
- Mar 17, 2026 Security Advisory (57 in total, the first dated here)
- Jun 6, 2026 Coalition ESS Score
- Aug 11, 2026 Distribution Patch (46 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-48734
vulnetix vdb fixes CVE-2025-48734
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-48734/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- vendor-advisory
- https://nvd.nist.gov/vuln/detail/CVE-2025-48734 advisory
- https://github.com/advisories/GHSA-wxr5-93ph-8wr9 advisory
- https://github.com/apache/commons-beanutils/commit/bd20740da25b69552ddef8523beec0837297eaf9 patch
- https://github.com/apache/commons-beanutils url
- http://www.openwall.com/lists/oss-security/2025/05/28/6 url
- https://lists.debian.org/debian-lts-announce/2025/06/msg00027.html url