CVE-2026-40459 PUBLISHED

LDAP Injection in PAC4J

Assigner: CERT-PL
Reserved: 13.04.2026 Published: 17.04.2026 Updated: 17.04.2026

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

Metrics

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

Product Status

Vendor PAC4J
Product PAC4J
Versions Default: unaffected
  • affected from 4.0 to 4.5.10 (excl.)
  • affected from 5.0 to 5.7.10 (excl.)
  • affected from 6.0 to 6.4.1 (excl.)

Credits

  • Bartłomiej Dmitruk, striga.ai finder

References

Problem Types

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

Impacts

  • CAPEC-136: LDAP Injection