CVE-2026-40459: PAC4J is vulnerable to LDAP Injection in multiple methods
CVE-2026-40459 is a high-severity flaw (CVSS 8.8) affecting pac4j. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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
Why this priority
- High severity
A fixed release or distro patch exists.
Risk facts
| CVSS score | 8.8 (High) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | Low |
| User interaction | None |
| EPSS exploit chance | 0.6% (top 51%) |
| CISA exploited list | No |
| Weakness | CWE-90 |
| Published | 2026-04-17 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-40459?
pac4j: upgrade to 4.5.10, 5.7.10, 6.4.1. Exact commands for each OS are on this page.
Is CVE-2026-40459 being exploited?
CVE-2026-40459 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-40459 affect?
CVE-2026-40459 affects pac4j. Severity is high (CVSS 8.8). 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 operation
How urgent is CVE-2026-40459?
Priority 43/100. High severity
Related CVEs
- CVE-2026-40458 MEDIUM 6.5 UPGRADE PAC4J is vulnerable to Cross-Site Request Forgery (CSRF)