cve.bz

CVE-2025-48734 apache commons beanutils: Improper Access Control

8.8 highEPSS 2.0%Fix available

High (8.8) in apache commons beanutils. EPSS 2.0% estimated probability of exploitation activity in the next 30 days. Fixed in commons-beanutils:commons-beanutils 1.11.0.

On this page
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.

Severity

CVSS 3.1

8.8 high
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
2.0% (unchanged from 2.0% a week ago; 1.8% 30 days ago) estimated probability of exploitation activity in the next 30 days; 81st percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: total, assessed 2026-04-29. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-284 Improper Access Control
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2025-48734 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-48734?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-48734?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-48734 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Apache Software Foundation Apache Commons BeanUtils 1.xfrom 1.0 before 1.11.0
Apache Software Foundation Apache Commons BeanUtils 2.xfrom 2.0.0-M1 before 2.0.0-M2

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-wxr5-93ph-8wr9Mavencommons-beanutils:commons-beanutils>=1.0 <1.11.01.11.0
GHSA-wxr5-93ph-8wr9Mavenorg.apache.commons:commons-beanutils2>=2.0.0-M1 <2.0.0-M22.0.0-M2

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11commons-beanutils1.9.4-1+deb11u1DLA-4229-1
Debian12commons-beanutils1.9.4-1+deb12u1DEBIAN-CVE-2025-48734
Debian13, 14commons-beanutils1.10.1-1.1DEBIAN-CVE-2025-48734
Ubuntu22.04:LTScommons-beanutils1.9.4-1+deb11u1build0.22.04.1UBUNTU-CVE-2025-48734 USN-8322-1
UbuntuPro:14.04:LTScommons-beanutils1.9.1-1ubuntu0.1~esm2UBUNTU-CVE-2025-48734 USN-8322-1
UbuntuPro:16.04:LTScommons-beanutils1.9.2-3ubuntu0.1~esm1USN-8322-1
UbuntuPro:18.04:LTScommons-beanutils1.9.3-1ubuntu0.1~esm2UBUNTU-CVE-2025-48734 USN-8322-1
UbuntuPro:20.04:LTScommons-beanutils1.9.4-1ubuntu0.20.04.1~esm1UBUNTU-CVE-2025-48734 USN-8322-1
UbuntuPro:24.04:LTScommons-beanutils1.9.4-2ubuntu0.1~esm1UBUNTU-CVE-2025-48734 USN-8322-1
Red Hatenterprise_linux:8::crbant, ant-xz, ant-jmf and 19 more0:1.10.5-1.module+el8.10.0+23274+27840b45RHSA-2025:9318
Red Hatenterprise_linux:8::crbant-contrib, ant-contrib-javadoc0:1.0-0.32.b3.module+el8.10.0+23274+27840b45RHSA-2025:9318
Red Hatenterprise_linux:8::crbantlr, antlr-C++, antlr-tool and 2 more0:2.7.7-56.module+el8.10.0+23274+27840b45RHSA-2025:9318
Red Hatenterprise_linux:8::crbaopalliance, aopalliance-javadoc0:1.0-17.module+el8.10.0+23274+27840b45RHSA-2025:9318
Red Hatenterprise_linux:8::crbapache-commons-beanutils, apache-commons-beanutils-javadoc0:1.9.3-5.module+el8.10.0+23274+27840b45RHSA-2025:9318
Red Hatenterprise_linux:8::crbapache-commons-cli, apache-commons-cli-javadoc0:1.4-4.module+el8.10.0+23274+27840b45RHSA-2025:9318
Red Hatenterprise_linux:8::crbapache-commons-collections, apache-commons-collections-javadoc, apache-commons-collections-testframework0:3.2.2-10.module+el8.10.0+23274+27840b45RHSA-2025:9318
Red Hatenterprise_linux:8::crbapache-commons-compress, apache-commons-compress-javadoc0:1.18-1.module+el8.10.0+23274+27840b45RHSA-2025:9318
Red Hatenterprise_linux:8::crbapache-commons-exec, apache-commons-exec-javadoc0:1.3-8.module+el8.10.0+23274+27840b45RHSA-2025:9318
Red Hatenterprise_linux:8::crbapache-commons-io, apache-commons-io-javadoc1:2.6-3.module+el8.10.0+23274+27840b45RHSA-2025:9318
Red Hatenterprise_linux:8::crbapache-commons-jxpath, apache-commons-jxpath-javadoc0:1.3-29.module+el8.10.0+23274+27840b45RHSA-2025:9318
Red Hatenterprise_linux:8::crbapache-commons-lang, apache-commons-lang-javadoc0:2.6-21.module+el8.10.0+23274+27840b45RHSA-2025:9318
266 more for Red Hat in the JSON and on Red Hat's page.
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise High Performance Computing 15 SP4-ESPOS and 12 moreapache-commons-beanutils1.11.0-150200.3.9.1SUSE-SU-2025:01815-1
SUSELinux Enterprise Server 12 SP5-LTSS, Linux Enterprise Server LTSS Extended Security 12 SP5apache-commons-beanutils1.11.0-7.3.1SUSE-SU-2025:02056-1
openSUSELeap 15.6apache-commons-beanutils1.11.0-150200.3.9.1SUSE-SU-2025:01815-1
openSUSETumbleweedapache-commons-beanutils1.11.0-1.1openSUSE-SU-2025:15175-1
AlmaLinux8ant, ant-xz, ant-jmf and 19 more1.10.5-1.module_el8.0.0+6004+2fc32706ALSA-2025:9318
AlmaLinux8ant-contrib, ant-contrib-javadoc1.0-0.32.b3.module_el8.0.0+6004+2fc32706ALSA-2025:9318
AlmaLinux8antlr-C++2.7.7-56.module_el8.5.0+197+0c7f4e0aALSA-2025:9318
AlmaLinux8antlr-C++2.7.7-56.module_el8.6.0+3182+f8468cf8ALSA-2025:9318
AlmaLinux8antlr-C++, antlr-tool, antlr-manual and 1 more2.7.7-56.module_el8.0.0+6004+2fc32706ALSA-2025:9318
AlmaLinux8aopalliance, aopalliance-javadoc1.0-17.module_el8.0.0+6004+2fc32706ALSA-2025:9318
AlmaLinux8apache-commons-beanutils, apache-commons-beanutils-javadoc1.9.3-5.module_el8.10.0+4020+7deec6e4ALSA-2025:9318
AlmaLinux8apache-commons-cli, apache-commons-cli-javadoc1.4-4.module_el8.0.0+6004+2fc32706ALSA-2025:9318
AlmaLinux8apache-commons-collections, apache-commons-collections-javadoc, apache-commons-collections-testframework3.2.2-10.module_el8.0.0+6004+2fc32706ALSA-2025:9318

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Important.

Red Hat's statement

This vulnerability is rated as important severity because a flaw exists in Apache Commons BeanUtils, where PropertyUtilsBean and BeanUtilsBean allow uncontrolled access to the declaredClass property of Java enum objects. Applications that pass untrusted property paths directly to getProperty() or getNestedProperty() methods are at risk, as attackers can exploit this behavior to retrieve the ClassLoader instance and execute arbitrary code in the context of the affected application. This issue leads to compromise of confidentiality, integrity, and availability.

ProductPackageStateAdvisory
Cryostat 4 on RHEL 9cryostat/cryostat-agent-init-rhel9:0.5.1-1Fixed 2025-06-05RHSA-2025:8265
Cryostat 4 on RHEL 9cryostat/cryostat-db-rhel9:4.0.1-4Fixed 2025-06-05RHSA-2025:8265
Cryostat 4 on RHEL 9cryostat/cryostat-grafana-dashboard-rhel9:4.0.1-3Fixed 2025-06-05RHSA-2025:8265
Cryostat 4 on RHEL 9cryostat/cryostat-openshift-console-plugin-rhel9:4.0.1-2Fixed 2025-06-05RHSA-2025:8265
Cryostat 4 on RHEL 9cryostat/cryostat-operator-bundle:4.0.1-1Fixed 2025-06-05RHSA-2025:8265
Cryostat 4 on RHEL 9cryostat/cryostat-ose-oauth-proxy-rhel9:4.0.1-4Fixed 2025-06-05RHSA-2025:8265
Cryostat 4 on RHEL 9cryostat/cryostat-reports-rhel9:4.0.1-2Fixed 2025-06-05RHSA-2025:8265
Cryostat 4 on RHEL 9cryostat/cryostat-rhel9:4.0.1-2Fixed 2025-06-05RHSA-2025:8265
Cryostat 4 on RHEL 9cryostat/cryostat-rhel9-operator:4.0.1-4Fixed 2025-06-05RHSA-2025:8265
Cryostat 4 on RHEL 9cryostat/cryostat-storage-rhel9:4.0.1-4Fixed 2025-06-05RHSA-2025:8265
A-MQ Clients 2commons-beanutilsWill not fix
A-MQ Clients 2commons-beanutils-coreWill not fix
Red Hat AMQ Clientscommons-beanutilsWill not fix
Red Hat Ansible Automation Platform 2commons-beanutilsNot affected
Red Hat build of Apache Camel - HawtIO 4commons-beanutilsNot affected
Red Hat build of Apicurio Registry 2commons-beanutilsAffected
Red Hat build of Apicurio Registry 3commons-beanutilsAffected
Red Hat build of Debezium 2commons-beanutilsWill not fix
Red Hat build of Debezium 2commons-beanutils-coreWill not fix
Red Hat build of Debezium 3commons-beanutilsWill not fix
155 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-48734.

GitHub PoC

Repositories on GitHub named after this CVE or listed for it by the PoC-in-GitHub index. For those marked Harbor Check: matches CVE, Flawharbor read the code and found it implements this CVE's exploitation technique: read, not run, and its dependencies only checked for warning signs, so a pointer and no guarantee. The rest are unverified: some hold a working proof of concept, some nothing useful, and some malware made to look like one. Read the code before you run any of it. How Harbor Check reads them, and what it found.

  • h3raklez/CVE-2025-48734 Harbor Check: matches CVE 0 stars, Shell, created
    CVE-2025-48734 - Affects Apache Commons BeanUtils in versions prior to 1.11.0 (and the 2.x branch before 2.0.0-M2).

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-284 (17).

References

Check your stackJSON