Home

Description

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 Reserved 2026-04-13 | Published 2026-04-17 | Updated 2026-04-17 | Assigner CERT-PL




HIGH: 8.7CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Problem types

CWE-90: Improper Neutralization of Special Elements used in an LDAP Query ('LDAP Injection')

Product status

Default status
unaffected

4.0 (semver) before 4.5.10
affected

5.0 (semver) before 5.7.10
affected

6.0 (semver) before 6.4.1
affected

Credits

Bartłomiej Dmitruk, striga.ai finder

References

cert.pl/en/posts/2026/04/CVE-2026-40458/ third-party-advisory

www.pac4j.org/.../security-advisory-pac4j-core-and-ldap.html vendor-advisory

cve.org (CVE-2026-40459)

nvd.nist.gov (CVE-2026-40459)

Download JSON