CVE-2025-48734
Apache Commons BeanUtils: PropertyUtilsBean does not suppresses an enum's declaredClass property by default
A public proof of concept exists; no exploitation attested.
- Published2025-05-28
- Fixed in1.11.0
- WeaknessCWE-284
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
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.
Timeline
dates in UTC- 2025-05-2813:32CVE publishedCNA
- 2025-05-2814:15CVE publishedNVD
Versions per branch
NVD · OSV| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 1.x | ≥ 1.0, < 1.11.0 | 1.11.0 | NVD · OSV |
| 2.0 | = 2.0.0 | no fix published | NVD |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 2.0 | ≥ 2.0.0-M1, < 2.0.0-M2 | 2.0.0-M2 | OSV |
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Products declared by the CNA2 products
As apache, the CNA that assigned this CVE, declared them in the CVE record; versions as written.
- Apache Software Foundation Apache Commons BeanUtils 1.xother versions: not affected
package commons-beanutils:commons-beanutilshttps://repo.maven.apache.org/maven2
Affected- ≥ 1.0, < 1.11.0fixed in 1.11.0maven
- Apache Software Foundation Apache Commons BeanUtils 2.xother versions: not affected
package org.apache.commons:commons-beanutils2https://repo.maven.apache.org/maven2
Affected- ≥ 2.0.0-M1, < 2.0.0-M2fixed in 2.0.0-M2maven
Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2025-05-28
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- antRocky Linux:8all versions · fixed in 0:1.10.5-1.module+el8.10.0+2003+8aeac9cb
- antRocky Linux:8all versions · fixed in 0:1.10.5-1.module+el8.3.0+74+855e3f5d
- antAlmaLinux:8all versions · fixed in 1.10.5-1.module_el8.0.0+6004+2fc32706and 21 other packages
- ant-contribRocky Linux:8all versions · fixed in 0:1.0-0.32.b3.module+el8.3.0+74+855e3f5d
- ant-contribAlmaLinux:8all versions · fixed in 1.0-0.32.b3.module_el8.0.0+6004+2fc32706and 1 other package
- antlrRocky Linux:8all versions · fixed in 0:2.7.7-56.module+el8.3.0+74+855e3f5d
- antlr-C++AlmaLinux:8all versions · fixed in 2.7.7-56.module_el8.0.0+6004+2fc32706and 3 other packages
- antlr-C++AlmaLinux:8all versions · fixed in 2.7.7-56.module_el8.5.0+197+0c7f4e0a
511 more package ranges on OSV.dev
Vendor advisories
commons-beanutils: Apache Commons BeanUtils: PropertyUtilsBean does not suppresses an enum's declaredClass property by default
commons-beanutils as a component of A-MQ Clients 2 · commons-beanutils-core as a component of A-MQ Clients 2 · commons-beanutils as a component of Red Hat AMQ Clients · +43 more
Red Hat Security Advisory: Red Hat JBoss Enterprise Application Platform 7.3.15 security update
Red Hat Security Advisory: Red Hat JBoss Enterprise Application Platform 7.1.12 on RHEL 7 security update
Red Hat Security Advisory: Red Hat AMQ Broker 7.12.5 release and security update
Red Hat Security Advisory: Red Hat Product OCP Tools 4.17 OpenShift Jenkins security update
Red Hat Security Advisory: Red Hat Product OCP Tools 4.14 OpenShift Jenkins security update
28 more advisories
Fix
- Update Apache commons beanutils to 1.11.0
- Vendor fix Red Hat Product Security RHSA-2025:16667 · 38 productsBefore applying this update, ensure all previously released errata relevant to your system have been applied. Also, back up your existing installation, including all applications, configuration files, databases and database settings. For details on how to apply this update, refer to: https://access…
- Vendor fix Red Hat Product Security RHSA-2025:16409 · 1 productBefore applying the update, back up your existing installation, including all applications, configuration files, databases and database settings. The References section of this erratum contains a download link (you must log in to download the update).
- Vendor fix Red Hat Product Security RHSA-2025:15814 · 4 productsFor more information on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
- Vendor fix Red Hat Product Security RHSA-2025:12511 · 1 productBefore applying this update, make sure all previously released errata relevant to your system have been applied. For details on how to apply this update, refer to: https://access.redhat.com/articles/11258
- Vendor fix Red Hat Product Security RHSA-2025:10931 · 1 productBefore applying the update, make sure all previously released errata relevant to your system have been applied. Also, back up your existing installation, including all applications, configuration files, databases and database settings. For details on how to apply this update, refer to: https://acce…
- Vendor fix Red Hat Product Security RHSA-2025:10814 · 3 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
Advisories and patches
- lists.apache.orgVendor Advisory
Detection
read 2026-11-01 01:02 UTC- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- CISA-ADP (SSVC)PoC stated2026-04-29
- PoC-in-GitHub1 repository, unverifiedknown since 2026-11-01h3raklez/CVE-2025-48734
- Metasploit modules
- none listed Metasploit Framework
Sources
- NVDCVE recordread 2026-11-03
- CISA-ADPSSVC decisionpoc2026-04-29
- CISA-ADPCVSS 3.18.82026-11-03
- CNAweakness (CWE)CWE-2842025-05-28
- FIRST EPSSEPSS score2.0 %2026-11-09
- PoC-in-GitHubproof of concept1known since 2026-11-01
- OSVaffected packages—
- GitHub AdvisoriesadvisoryHIGH2025-05-28
Identifiers
- AZL-109472same flawAzure Linux · MIT
- CGA-23j7-98mf-5xvfsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-24mh-68vm-w3c6same flawChainguard · CC-BY-NC-ND-4.0
- CGA-24v8-mxc5-hg9rsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-253x-4qhr-hg68same flawChainguard · CC-BY-NC-ND-4.0
- CGA-25qm-2jw5-7f8vsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-26xc-j45m-f7hxsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-27fc-w2q4-j9hjsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-2fhv-wwx3-pchxsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-2fj9-wvw6-5mhcsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-2h68-94p2-xg2vsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-2hp5-j849-ph95same flawChainguard · CC-BY-NC-ND-4.0
- CGA-2hr9-fcff-624qsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-2j3h-hwq3-6vpmsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-2mm2-9fg7-2rqrsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-2q92-8xv5-jx9qsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-2qqg-4pg6-7v36same flawChainguard · CC-BY-NC-ND-4.0
- CGA-2vgx-vqqj-4r8wsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-2xq5-p6pq-9jxcsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-322x-4vf4-r5g4same flawChainguard · CC-BY-NC-ND-4.0
- CGA-32rp-9vjj-c8q7same flawChainguard · CC-BY-NC-ND-4.0
- CGA-33w2-mv2p-qwfvsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-3cpj-55xh-pjrcsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-3g98-qv3p-q4h4same flawChainguard · CC-BY-NC-ND-4.0
- CGA-3jvf-68pm-w9rrsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-3m2h-6f7r-wgrcsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-3mqq-9x3r-9544same flawChainguard · CC-BY-NC-ND-4.0
- CGA-3p6h-2r5j-v6xcsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-3ppf-8fr7-7fpgsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-3q3h-jc4c-fgh8same flawChainguard · CC-BY-NC-ND-4.0
- CGA-3rwq-7r7h-q675same flawChainguard · CC-BY-NC-ND-4.0
- CGA-3w73-4qx7-h9hcsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-3w93-jwv9-mcxcsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-3w9j-m2hg-p6h9same flawChainguard · CC-BY-NC-ND-4.0
- CGA-3wm6-qj93-p7j9same flawChainguard · CC-BY-NC-ND-4.0
- CGA-422j-vp2w-8jw7same flawChainguard · CC-BY-NC-ND-4.0
- CGA-43qw-v8fr-92w3same flawChainguard · CC-BY-NC-ND-4.0
- CGA-47vx-64f9-vm5psame flawChainguard · CC-BY-NC-ND-4.0
- CGA-483q-pj3c-3hpfsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-48hc-xvmp-xcghsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-48r8-cg32-hwcjsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-49wp-v29j-5jvgsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-4cwc-2rph-r65qsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-4fqm-f84p-55q9same flawChainguard · CC-BY-NC-ND-4.0
- CGA-4fvq-wrh2-rcf8same flawChainguard · CC-BY-NC-ND-4.0
- CGA-4gwh-5m2m-4p49same flawChainguard · CC-BY-NC-ND-4.0
- CGA-4hmf-52hx-grvwsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-4hpr-r28q-7722same flawChainguard · CC-BY-NC-ND-4.0
- CGA-4j7w-f825-c97fsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-4q7f-p8jq-cfj3same flawChainguard · CC-BY-NC-ND-4.0
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Published
- 2025-05-28
- Last Modified
- 2026-11-03
- NVD status
- Modified
- GitHub Advisory
- GHSA-wxr5-93ph-8wr9
Frequently asked questions
What is CVE-2025-48734?
Is CVE-2025-48734 actively exploited?
What is the CVSS score for CVE-2025-48734?
Running commons-beanutils? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CVE Program · CVE Program Terms of Use
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-wxr5-93ph-8wr9
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- PoC-in-GitHub · CC0-1.0
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0
- CISA Vulnrichment · CC0-1.0