Critical Vulnerability in libpf4j-java: Remote Code Execution Risk

libpf4j-java Updated 02 Oct 2025

Summary

28/08/2023
N/A
No i
High
7.5

UBUNTU-CVE-2023-40827: An issue in pf4j pf4j v.3.9.0 and before allows a remote attacker to obtain sensitive information and execute arbitrary code via the loadpluginPath parameter. Affects libpf4j-java versions 3.6.0+dfsg-2 – 3.6.0+dfsg-3. No fix is published. 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

libpf4j-java is a Java library designed for plugin development, enabling developers to create modular applications with ease. It provides a framework for loading and managing plugins dynamically, which enhances the extensibility of Java applications. However, versions 3.9.0 and earlier are susceptible to a serious vulnerability that allows unauthorized access and execution of arbitrary code.

Vulnerability Detail

An issue in pf4j pf4j v.3.9.0 and earlier versions allows a remote attacker to exploit the loadpluginPath parameter, potentially leading to the exposure of sensitive information and the execution of arbitrary code. This vulnerability arises from improper handling of user input, which can be manipulated to load malicious plugins, thereby compromising the integrity of the application.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As a temporary measure, avoid using the loadpluginPath parameter in your application until the package is updated. Additionally, ensure that your application does not accept untrusted input that could be used to exploit this vulnerability.

Conclusion

The vulnerability in libpf4j-java poses a significant risk, allowing remote attackers to execute arbitrary code. It is crucial to update to the latest patched versions of the package to mitigate this risk. Additionally, employing Vulert can help monitor for such vulnerabilities in real-time.

See every vulnerability recorded for libpf4j-java →

Share this vulnerability

FAQ

The CVSS score of this vulnerability is 7.5, indicating a high severity level.

Versions 3.9.0 and earlier of libpf4j-java are affected by this vulnerability.

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 requiring signup.

If exploited, this vulnerability can lead to unauthorized access to sensitive information and execution of arbitrary code, compromising the security of the application.

Yes, you can temporarily avoid using the loadpluginPath parameter and ensure that your application does not accept untrusted input.

Related vulnerabilities

Recent vulnerabilities recorded for libpf4j-java.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. 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