CVE Explorer
CVE-2026-40459
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
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"defaultStatus":"unaffected","product":"PAC4J","vendor":"PAC4J","versions":[{"lessThan":"4.5.10","status":"affected","version":"4.0","versionType":"semver"},{"lessThan":"5.7.10","status":"affected","version":"5.0","versionType":"semver"},{"lessThan":"6.4.1","status":"affected","version":"6.0","versionType":"semver"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:4727c2289340d06d41a8df4ffd4321e86bff4da5b24530719fa73838cafe7245 · sha256:edef48cd41cd7c29… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","Safety":"NOT_DEFINED","attackComplexity":"LOW","attackRequirements":"NONE","attackVector":"NETWORK","baseScore":8.7,"baseSeverity":"HIGH","privilegesRequired":"LOW","providerUrgency":"NOT_DEFINED","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"NONE","valueDensity":"NOT_DEFINED","vectorString":"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","version":"4.0","vulnAvailabilityImpact":"HIGH","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH…
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:4727c2289340d06d41a8df4ffd4321e86bff4da5b24530719fa73838cafe7245 · sha256:edef48cd41cd7c29… · /containers/cna/metrics/0/cvssV4_0
CWE assertions
1 source assertion{"cweId":"CWE-90","description":"CWE-90: Improper Neutralization of Special Elements used in an LDAP Query ('LDAP Injection')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:4727c2289340d06d41a8df4ffd4321e86bff4da5b24530719fa73838cafe7245 · sha256:edef48cd41cd7c29… · /containers/cna/problemTypes/0/descriptions/0
Source references
2 source assertions{"tags":["third-party-advisory"],"url":"https://cert.pl/en/posts/2026/04/CVE-2026-40458/"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:4727c2289340d06d41a8df4ffd4321e86bff4da5b24530719fa73838cafe7245 · sha256:edef48cd41cd7c29… · /containers/cna/references/0
{"tags":["vendor-advisory"],"url":"https://www.pac4j.org/blog/security-advisory-pac4j-core-and-ldap.html"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:4727c2289340d06d41a8df4ffd4321e86bff4da5b24530719fa73838cafe7245 · sha256:edef48cd41cd7c29… · /containers/cna/references/1
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.