CVE-2025-48734
Java vulnerability analysis and mitigation

Overview

Improper Access Control vulnerability (CVE-2025-48734) affects Apache Commons BeanUtils versions 1.x before 1.11.0 and 2.x before 2.0.0-M2. The vulnerability was discovered and disclosed on May 28, 2025, by Raj and Muthukumar Marikani. The issue stems from a BeanIntrospector class introduced in version 1.9.2 that was meant to prevent attackers from accessing the classloader through Java enum objects' declared class property, but this protection was not enabled by default (OSS Security).

Technical details

The vulnerability exists in the PropertyUtilsBean component (and consequently BeanUtilsBean) where property paths from external sources passed to the getProperty() method could allow attackers to access an enum's class loader via the "declaredClass" property available on all Java enum objects. The issue also affects the getNestedProperty() method. The vulnerability has been assigned a CVSS v3.1 Base Score of 8.8 HIGH with the vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H, indicating a serious security risk (NVD).

Impact

The vulnerability allows remote attackers to access the ClassLoader and potentially execute arbitrary code on affected systems. This could lead to complete system compromise, as attackers could gain unauthorized access to critical data and system resources (OSS Security).

Mitigation and workarounds

Users of commons-beanutils:commons-beanutils 1.x are recommended to upgrade to version 1.11.0, and users of org.apache.commons:commons-beanutils2 2.x should upgrade to version 2.0.0-M2. In these versions, a special BeanIntrospector suppresses the "declaredClass" property by default, though this can be disabled to regain the old behavior as detailed in section 2.5 of the user's guide (OSS Security).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

“Best User Experience I have ever seen, provides full visibility to cloud workloads.”
David EstlickCISO
“Wiz provides a single pane of glass to see what is going on in our cloud environments.”
Adam FletcherChief Security Officer
“We know that if Wiz identifies something as critical, it actually is.”
Greg PoniatowskiHead of Threat and Vulnerability Management