Advisory [CVE-2025-48734] Apache Commons BeanUtils: PropertyUtilsBean does not suppresses an enum's declaredClass property by default
This Apache Software Foundation security advisory covers CVE-2025-48734 affecting Apache Commons BeanUtils 1.x, Apache Commons BeanUtils 2.x.
Aggregated and source-linked by VulniPulse. Data sources, validation and limitations.
VulniPulse record published
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.
Affected products named by the advisory: Apache Commons BeanUtils 1.x; Apache Commons BeanUtils 2.x.
Is CVE-2025-48734 exploited?
No exploitation is reported in the sources VulniPulse tracks: CVE-2025-48734 is not in the CISA KEV catalog (checked ) and this advisory does not report exploitation. That is not proof the vulnerability cannot be exploited.
How do I fix CVE-2025-48734?
Upgrade to a fixed release named by Apache:
- 1.11.0
- 2.0.0-M2
Confirm against the vendor advisory before you patch.
- Apache Commons BeanUtils 1.x 1.0 before 1.11.0
- Apache Commons BeanUtils 2.x 2.0.0-M1 before 2.0.0-M2
Official advisory · medium-confidence parse· fetched 7 days ago·verify at source
- 1.11.0
- 2.0.0-M2
Official advisory · medium-confidence parse· fetched 7 days ago·verify at source
Mitigation checklist
- 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.
- 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.
Official advisory · medium-confidence parse· fetched 7 days ago·verify at source
Get an email when Apache publishes the next one.
See Apache's last 90 days of advisories first. Then choose one product with live alerts free for life, or a free month of real-time alerts on everything with the severity, the fixed version and the vendor's link (card needed, then US$15/month; we email you before the first charge).
More Apache Software Foundation advisories
- CVE-2026-86336Nov 10, 2026Apache TomEE running on JDK 21 or later skips EJB method authorization checks, allowing
- CVE-2026-86531Nov 10, 2026The embedded OpenEJB HTTP server does not limit the size of incoming request bodies
- CVE-2026-87758Nov 10, 2026The remote EJB client does not verify that the hostname of the server it connects
- CVE-2026-97849Nov 10, 2026The embedded Derby network service ignores its configured bind address and listens on all
- CVE-2026-97867Nov 10, 2026The EJBd remote protocol returns datasource connection details, including database
- CVE-2026-97870Nov 10, 2026When Hessian remoting endpoints are served by the embedded HTTP server, configured
iPhone and Android apps · New on the App Store
Monitor future Apache Software Foundation CVEs from your phone.
Choose a whole vendor or a precise platform, then receive matching security advisories by phone notification, email, or both. Coverage follows 34 official vendor sources and 160+ reviewed platform categories.
Discussion(0)
No comments yet. Share field notes, upgrade gotchas, or questions — verify against the vendor advisory before acting on community advice.
Sign in to join the discussion.