CyberIntel ⬡ News
★ Saved ◆ Cyber Reads
← Back ⬡ Vulnerabilities & CVEs Apr 17, 2026

CVE-2026-40458 | PAC4J up to 5.7.9/6.4.0 String.hashCode cross-site request forgery

VulDB Archived Apr 17, 2026 ✓ Full text saved

A vulnerability marked as problematic has been reported in PAC4J up to 5.7.9/6.4.0 . This vulnerability affects the function String.hashCode . This manipulation causes cross-site request forgery. This vulnerability is registered as CVE-2026-40458 . Remote exploitation of the attack is possible. No exploit is available. It is suggested to upgrade the affected component.

Full text archived locally
✦ AI Summary · Claude Sonnet


    VDB-358076 · CVE-2026-40458 · GCVE-0-2026-40458 PAC4J UP TO 5.7.9/6.4.0 STRING.HASHCODE CROSS-SITE REQUEST FORGERY HISTORYDIFFRELATEJSONXMLCTI CVSS Meta Temp Score Current Exploit Price (≈) CTI Interest Score 4.1 $0-$5k 3.79+ Summaryinfo A vulnerability described as problematic has been identified in PAC4J up to 5.7.9/6.4.0. This issue affects the function String.hashCode. Such manipulation leads to cross-site request forgery. This vulnerability is documented as CVE-2026-40458. The attack can be executed remotely. There is not any exploit available. Upgrading the affected component is recommended. Detailsinfo A vulnerability, which was classified as problematic, has been found in PAC4J up to 5.7.9/6.4.0. Affected by this issue is the function String.hashCode. The manipulation with an unknown input leads to a cross-site request forgery vulnerability. Using CWE to declare the problem leads to CWE-352. The web application does not, or can not, sufficiently verify whether a well-formed, valid, consistent request was intentionally provided by the user who submitted the request. Impacted is integrity. CVE summarizes: 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 The weakness was released by Bartłomiej Dmitruk and Striga.ai. The advisory is shared for download at cert.pl. This vulnerability is handled as CVE-2026-40458 since 04/13/2026. The exploitation is known to be easy. The attack may be launched remotely. No form of authentication is required for exploitation. Successful exploitation requires user interaction by the victim. There are known technical details, but no exploit is available. Upgrading to version 5.7.10 or 6.4.1 eliminates this vulnerability. Productinfo Name PAC4J Version 5.7.0 5.7.1 5.7.2 5.7.3 5.7.4 5.7.5 5.7.6 5.7.7 5.7.8 5.7.9 6.0 6.1 6.2 6.3 6.4.0 CPE 2.3info 🔒 🔒 🔒 CPE 2.2info 🔒 🔒 🔒 CVSSv4info VulDB Vector: 🔒 VulDB Reliability: 🔍 CNA CVSS-B Score: 🔒 CNA CVSS-BT Score: 🔒 CNA Vector: 🔒 CVSSv3info VulDB Meta Base Score: 4.3 VulDB Meta Temp Score: 4.1 VulDB Base Score: 4.3 VulDB Temp Score: 4.1 VulDB Vector: 🔒 VulDB Reliability: 🔍 CVSSv2info Vector Complexity Authentication Confidentiality Integrity Availability Unlock Unlock Unlock Unlock Unlock Unlock Unlock Unlock Unlock Unlock Unlock Unlock Unlock Unlock Unlock Unlock Unlock Unlock VulDB Base Score: 🔒 VulDB Temp Score: 🔒 VulDB Reliability: 🔍 Exploitinginfo Class: Cross-site request forgery CWE: CWE-352 / CWE-862 / CWE-863 CAPEC: 🔒 ATT&CK: 🔒 Physical: No Local: No Remote: Yes Availability: 🔒 Status: Not defined Price Prediction: 🔍 Current Price Estimation: 🔒 0-Day Unlock Unlock Unlock Unlock Today Unlock Unlock Unlock Unlock Threat Intelligenceinfo Interest: 🔍 Active Actors: 🔍 Active APT Groups: 🔍 Countermeasuresinfo Recommended: Upgrade Status: 🔍 0-Day Time: 🔒 Upgrade: PAC4J 5.7.10/6.4.1 Timelineinfo 04/13/2026 CVE reserved 04/17/2026 +4 days Advisory disclosed 04/17/2026 +0 days VulDB entry created 04/17/2026 +0 days VulDB entry last update Sourcesinfo Advisory: cert.pl Researcher: Bartłomiej Dmitruk, Striga.ai Status: Confirmed CVE: CVE-2026-40458 (🔒) GCVE (CVE): GCVE-0-2026-40458 GCVE (VulDB): GCVE-100-358076 Entryinfo Created: 04/17/2026 17:02 Changes: 04/17/2026 17:02 (67) Complete: 🔍 Cache ID: 99:54D:101 Discussion No comments yet. Languages: en. Please log in to comment. ◂ PreviousOverviewNext ▸
    💬 Team Notes
    Article Info
    Source
    VulDB
    Category
    ⬡ Vulnerabilities & CVEs
    Published
    Apr 17, 2026
    Archived
    Apr 17, 2026
    Full Text
    ✓ Saved locally
    Open Original ↗