CVE-2026-40459
HIGH 8.7CVSS 4.0PAC4J 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
- Published
- 17 Apr 2026
- Last modified
- 17 Jun 2026
- Assigned by
- cvd@cert.pl
- NVD status
- Analyzed
- Weakness
- CWE-90
- Sources
- NVDJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | cvd@cert.pl (Secondary) | CVSS 4.0 | HIGH 8.7 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | pac4j | pac4jcpe:2.3:a:pac4j:pac4j:*:*:*:*:*:*:*:* |
>= 4.0.0, < 4.5.10 | 4.5.10 |
| NVD | pac4j | pac4jcpe:2.3:a:pac4j:pac4j:*:*:*:*:*:*:*:* |
>= 5.0.0, < 5.7.10 | 5.7.10 |
| NVD | pac4j | pac4jcpe:2.3:a:pac4j:pac4j:*:*:*:*:*:*:*:* |
>= 6.0.0, < 6.4.1 | 6.4.1 |
References
- 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
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 17 Apr 2026)