# CVE-2026-40459: LDAP Injection in PAC4J

- Severity: High 8.7 (CVSS:4.0, scored by CERT-PL) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.62%, higher than 50% of CVEs (2026-12-01)
- Published: 2026-04-17T13:18:39.181Z
- Modified: 2026-06-17T10:45:19.677Z
- Weaknesses: CWE-90
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: CERT-PL

## Description

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

(As written by CVE List.)

## Affected

- PAC4J PAC4J: from 4.0 before 4.5.10; from 5.0 before 5.7.10; from 6.0 before 6.4.1; from 4.0.0 before 4.5.10; from 5.0.0 before 5.7.10; from 6.0.0 before 6.4.1

## Every score

- CERT-PL: CVSS:4.0 8.7 High `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`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## 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)

## Sources

- CVE List: [CVE-2026-40459](https://www.cve.org/CVERecord?id=CVE-2026-40459), CVE Terms of Use, modified 2026-04-17
- NVD: [CVE-2026-40459](https://nvd.nist.gov/vuln/detail/CVE-2026-40459), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-40459 · Whole record: https://cve.day/CVE-2026-40459.json · Rebuilt by cve.day 2026-11-25T22:59:18.945Z
