LDAP Injection in Pac4j
CVE-2026-40459
PAC4J is vulnerable to LDAP Injection in multiple methods. A low-privileged remote attacker can inject crafted LDAP syntax into ID-based search parameters, potentially resulting in unauthorized LDAP queries and arbitrary directory operations. This issue was fixed in PAC4J versions 4.5.10, 5.7.10 and 6.4.1
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.007 (50.4th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 50th percentile — 50.4% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.006 · newest: 0.007 · change: +0.001
Affected products
- Pac4j — versions 4.0, 5.0, 6.0
Weakness classification (CWE)
References
- cert.pl/en/posts/2026/04/CVE-2026-40458/ (Third Party Advisory, third-party-advisory)
- www.pac4j.org/blog/security-advisory-pac4j-core-and-ldap.html (vendor-advisory, Vendor Advisory)
Frequently asked questions
- What is CVE-2026-40459?
- CVE-2026-40459 is a high-severity vulnerability in Pac4j, classified under LDAP Injection. CVSS score: 8.8/10. Published 2026-04-17.
- How severe is CVE-2026-40459?
- High severity. CVSS v3 base score is 8.8 out of 10.