cbcvebase.
CVE-2025-48734
published 2025-05-28

CVE-2025-48734: 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…

PriorityP262high8.8CVSS 3.1
AVNACLPRLUINSUCHIHAH
EPSS
1.55%
72.3th percentile
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.

Affected

6 ranges
VendorProductVersion rangeFixed in
apachecommons_beanutils
apachecommons_beanutils>= 1.0 < 1.11.01.11.0
apache_software_foundationapache_commons_beanutils_1.x>= 1.0 < 1.11.01.11.0
apache_software_foundationapache_commons_beanutils_2.x>= 2.0.0-M1 < 2.0.0-M22.0.0-M2
debiancommons-beanutils< commons-beanutils 1.9.4-1+deb12u1 (bookworm)commons-beanutils 1.9.4-1+deb12u1 (bookworm)
ubuntucommons-beanutils

Detection & IOCsextracted from sources · hover to see the quote

  • Audit applications using Apache Commons BeanUtils 1.x before 1.11.0 or 2.x before 2.0.0-M2 that pass untrusted/external property paths directly to getProperty() or getNestedProperty() — these are the vulnerable code paths
  • ·The suppression BeanIntrospector for 'declaredClass' is enabled by default in fixed versions (1.11.0 / 2.0.0-M2), but can be explicitly disabled by configuration — verify it has not been disabled in deployed applications
  • ·Protection via BeanIntrospector existed since version 1.9.2 but was NOT enabled by default, meaning applications on 1.9.2–1.10.x were vulnerable unless they explicitly enabled the suppressor
  • ·Both artifact coordinates are affected and must be checked: 'commons-beanutils:commons-beanutils' (1.x, fix in 1.11.0) and 'org.apache.commons:commons-beanutils2' (2.x, fix in 2.0.0-M2)

CVSS provenance

nvdv3.18.8HIGHCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
osv8.8HIGH
vendor_debian8.8HIGH
vendor_oracle8.8HIGH
vendor_redhat8.8HIGH
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.