CVE-2026-40459

published 17 Apr 2026 · updated 17 Apr 2026

LDAP Injection in PAC4J

8.7HighCVSS 8.7EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in 4.5.10, 5.7.10 and 6.4.1.

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

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
pac4j>=4.0 <4.5.10, >=5.0 <5.7.10, >=6.0 <6.4.14.5.10, 5.7.10, 6.4.1

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-40459 severity on Zeptric[![CVE-2026-40459](https://zeptric.io/badge/cve/CVE-2026-40459.svg)](https://zeptric.io/cve/CVE-2026-40459)