216.73.217.176

CVE-2026-40458

· Published 17/04/2026 14:16 · Modified 17/04/2026 15:38

Labels: CVE-2026-40458 2026-04-17CVE-2026-40458CWE-352[email protected]

Essential information

Published
17/04/2026 14:16
Modified
17/04/2026 15:38
Author
Creator
CVSS
7.0 HIGH (v3) 7.0 HIGH (v4.0)
CISA KEV
No
CWE
CVSS vector

CVSS metrics

Description

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 security space to 32 bits. This bypasses CSRF protection, allowing profile updates, password changes, account linking, and any other state-changing operations to be performed without the victim's consent. This issue was fixed in PAC4J versions 5.7.10 and 6.4.1

NVD status

Status
Undergoing Analysis — CVE has been recently published to the CVE List and has been received by the NVD.
Source
[email protected]
NVD
View on NVD

Affected products (CPE)

ProductCPE
pac4j / pac4j cpe:2.3:a:pac4j:pac4j:5.7.10:*:*:*:*:*:*:*
pac4j / pac4j cpe:2.3:a:pac4j:pac4j:6.4.1:*:*:*:*:*:*:*

References