Skip to content
Fencer Vulns
high 7.5

CVE-2023-40827 json

pf4j vulnerable to remote code execution via loadpluginPath parameter

published 2023-08-28 3 y ago modified 2026-06-17 4 mo ago also GHSA-rvm8-j2cp-j592 , EUVD-2023-2352

cvss
7.5
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
1.7%
EPSS 1.7% chance of exploitation in 30 days, percentile 77%
public exploits
0
none known

Summary

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.

Patch / fix

  • libpf4j-java Debian 14, Debian 13 3.9.0+dfsg-2

debian advisories DEBIAN-CVE-2023-40827

CISA SSVC

Exploitation
Proof of concept is public
Automatable
yes
Technical impact
partial
Assessed
2 y ago

Exploit prediction

1.70% chance of exploitation in the next 30 days, higher than 77% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • github.com https://github.com/pf4j/pf4j/pull/537 referenced PoC, tagged "exploit" by a source, unverified
  • github.com https://github.com/pf4j/pf4j/issues/536 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
NVD 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
GitHub 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Affected packages

ecosystem package affected fixed in
maven org.pf4j:pf4j
<=3.9.0
no fix listed

Classification

Weakness
  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory
  • CWE-94 Improper Control of Generation of Code

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.