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
References
| Link | Resource |
|---|---|
| https://cert.pl/en/posts/2026/04/CVE-2026-40458/ | Third Party Advisory |
| https://www.pac4j.org/blog/security-advisory-pac4j-core-and-ldap.html | Vendor Advisory |
Configurations
Configuration 1 (hide)
|
History
20 Apr 2026, 14:38
| Type | Values Removed | Values Added |
|---|---|---|
| CPE | cpe:2.3:a:pac4j:pac4j:*:*:*:*:*:*:*:* | |
| First Time |
Pac4j
Pac4j pac4j |
|
| CVSS |
v2 : v3 : |
v2 : unknown
v3 : 8.8 |
| References | () https://cert.pl/en/posts/2026/04/CVE-2026-40458/ - Third Party Advisory | |
| References | () https://www.pac4j.org/blog/security-advisory-pac4j-core-and-ldap.html - Vendor Advisory |
17 Apr 2026, 14:16
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-04-17 14:16
Updated : 2026-04-20 14:38
NVD link : CVE-2026-40459
Mitre link : CVE-2026-40459
CVE.ORG link : CVE-2026-40459
JSON object : View
Products Affected
pac4j
- pac4j
CWE
CWE-90
Improper Neutralization of Special Elements used in an LDAP Query ('LDAP Injection')
