🛡️ CVE-2026-40459 — pac4j

🟠 CVSS 8.8 — High ✅ No Known Exploit CWE-90 NVD
8.8
CVSS Score
0 Low4 Medium7 High9 Critical10

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

How this vulnerability can be exploited

This issue can be reached over the network, attack complexity is low, an attacker needs low-level privileges on the target. No user interaction is required. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality high, integrity high, availability high.

Weakness class

CVE-2026-40459 is classified as CWE-90: LDAP Injection. Input is placed into an LDAP query without neutralisation, allowing the directory lookup to be rewritten.

Affected software

CVE-2026-40459 is recorded against 1 package.

  • pac4j (from 6.0.0 up to 6.4.1)

Timeline and source

Published on 17 April 2026 and last revised on 17 June 2026. No public exploit is currently recorded for this entry. Record sourced from NVD.

References

cert.pl
www.pac4j.org

Details

Severity HIGH
CVSS Score 8.8
CVSS Vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CWE CWE-90
Public Exploit ✅ No
Source NVD
Published 2026-04-17
Updated 2026-08-11
Modified 2026-06-17
Fix URL N/A

Affected Packages

Software From version Fixed in
pac4j 6.0.0 6.4.1

Similar Threats

Site Security Check

Is pac4j part of your stack?

CVE-2026-40459 is rated CVSS 8.8 High. BotEraser scans your installation against known CVE records and tells you whether this vulnerability applies to the versions you actually run.

Scan My Site Free →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.