CVE-2026-40459

LDAP Injection in PAC4J

State
Published
Severity
8.7 High
Published
Apr 17, 2026
Updated
Apr 17, 2026
Reserved
Apr 13, 2026

Read the record on cve.org

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

Scores

CVSSScoreVectorSource
4.08.7 HighCVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NCERT-PL

Weaknesses

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

Affected Products

ProductVersions
PAC4JPAC4J
  • 4.0 to before 4.5.10Affected
  • 5.0 to before 5.7.10Affected
  • 6.0 to before 6.4.1Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.