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 trend (30 days)EPSS over the last 30 days for CVE-2026-40459: held from 0.006 to 0.007.

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

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.