Improper Access Control in Apache Commons BeanUtils: CVE-2025-48734

commons-beanutils Updated 02 Oct 2025

Summary

28/05/2025
N/A
Yes i
Unrated
Not published

CVE-2025-48734: Improper Access Control vulnerability in Apache Commons. Affects commons-beanutils versions < 1.9.4-1+deb11u1. Fixed in 1.9.4-1+deb11u1. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Apache Commons BeanUtils is a Java library that provides easy-to-use utilities for manipulating JavaBeans properties. It allows developers to easily access and modify properties of Java objects, making it a popular choice for applications that require dynamic property manipulation. However, a recent vulnerability has been identified that could allow attackers to exploit the library's functionality to gain unauthorized access to sensitive classloader information.

Vulnerability Detail

CVE-2025-48734 is an improper access control vulnerability that affects Apache Commons BeanUtils versions prior to 1.11.0 and 2.x before 2.0.0-M2. The vulnerability arises from the way the library handles property paths passed from external sources. An attacker can exploit this by accessing the 'declaredClass' property of Java enum objects, which can lead to unauthorized access to the ClassLoader and potentially allow the execution of arbitrary code. This issue was introduced with the addition of a special BeanIntrospector class in version 1.9.2, which was not enabled by default.

How To Fix

Minimum fixed version

1.9.4-1+deb11u1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade commons-beanutils

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, users can disable the new BeanIntrospector to regain the old behavior. However, this is not recommended as it exposes the application to potential security risks. Instead, upgrading to the patched version is strongly advised.

Conclusion

CVE-2025-48734 is a critical vulnerability in Apache Commons BeanUtils that poses significant security risks if not addressed. Users are strongly encouraged to upgrade to the latest patched versions to mitigate these risks and protect their applications from potential exploitation.

See every vulnerability recorded for commons-beanutils →

Share this vulnerability

FAQ

CVE-2025-48734 is a vulnerability in Apache Commons BeanUtils that allows attackers to access sensitive classloader information through improper access control.

The vulnerability affects Apache Commons BeanUtils versions prior to 1.11.0 and 2.x before 2.0.0-M2.

You can use Vulert to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected without needing to sign up.

If you cannot upgrade immediately, consider disabling the new BeanIntrospector as a temporary workaround, but be aware that this exposes your application to security risks.

If exploited, this vulnerability could allow remote attackers to access the ClassLoader and execute arbitrary code, leading to severe security breaches.

Related vulnerabilities

Recent vulnerabilities recorded for commons-beanutils.

How To Fix

Minimum fixed version

1.9.4-1+deb11u1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade commons-beanutils

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback