CVE Explorer
CVE-2026-40458
PAC4J is vulnerable to Cross-Site Request Forgery (CSRF). A malicious attacker can craft a specially designed website which, when visited by a user, will automatically submit a forged cross-site request with a token whose hash collides with the victim's legitimate CSRF token. Importantly, the attacker does not need to know the victim’s CSRF token or its hash prior to the attack. Collisions in the deterministic String.hashCode() function can be computed directly, reducing the effective token's se
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":"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:45ea2e1a570f0a33673a7bf937b003ac435463787ad159bc5849f9cb2edb3439 · sha256:c602aa815622fc62… · /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":7,"baseSeverity":"HIGH","privilegesRequired":"NONE","providerUrgency":"NOT_DEFINED","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"ACTIVE","valueDensity":"NOT_DEFINED","vectorString":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N","version":"4.0","vulnAvailabilityImpact":"LOW","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"HIGH…
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:45ea2e1a570f0a33673a7bf937b003ac435463787ad159bc5849f9cb2edb3439 · sha256:c602aa815622fc62… · /containers/cna/metrics/0/cvssV4_0
CWE assertions
1 source assertion{"cweId":"CWE-352","description":"CWE-352 Cross-Site Request Forgery (CSRF)","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:45ea2e1a570f0a33673a7bf937b003ac435463787ad159bc5849f9cb2edb3439 · sha256:c602aa815622fc62… · /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:45ea2e1a570f0a33673a7bf937b003ac435463787ad159bc5849f9cb2edb3439 · sha256:c602aa815622fc62… · /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:45ea2e1a570f0a33673a7bf937b003ac435463787ad159bc5849f9cb2edb3439 · sha256:c602aa815622fc62… · /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.