Search covers the description text, product and vendor names and weakness types (also partial words).

CVE-2026-40458
pac4j

Score7 High
CVSS 4.0
Exploit probability (EPSS)0.19%
within the next 30 days
CategoryRequest forgery (CSRF / SSRF)
Published17 April 2026
Last modified: 17 June 2026

In short

This vulnerability can be exploited remotely over the network, without logging in, with active user participation.

A successful attack has high impact: modifying data.

Weakness type: Cross-site request forgery (CSRF).

✨ AI commentary

After a short ad, a plain-language commentary on this vulnerability is shown. AI can make mistakes; base decisions on the official sources.

Official 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

CVSS: 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Weakness: CWE-352 – Cross-site request forgery (CSRF)

Affected products

VendorProductVersions
pac4jpac4j>=5.0.0 <5.7.10
pac4jpac4j>6.0.0 <6.4.1

Sources

Latest in the same category

  • CVE-2026-93329 High 8.7
    A Confused Deputy and Server-Side Request Forgery (SSRF) vulnerability in the /api-proxy endpoint in Google Cloud Gemini Enterprise Agent Platform — Agent Studio App Builder versions prior to 2026-09-02 on Cloud Run…
    Request forgery (CSRF / SSRF) · 30 November 2026
  • CVE-2026-5202 Medium 6.7
    LibreOffice documents can link to external content, such as images, objects, sounds and database data, and ask the user before updating those links. Some of this content was loaded while the document was opening,…
    Request forgery (CSRF / SSRF) · 30 November 2026
  • CVE-2026-66024 High 8.3
    Chatwoot before 4.17.0 contains a server-side request forgery vulnerability that allows unauthenticated attackers to make the server issue HTTP requests to arbitrary hosts by exploiting missing Twilio request signature…
    Request forgery (CSRF / SSRF) · 30 November 2026
  • CVE-2026-137189 Critical 9.3
    Jupyter MCP Server is a Model Context Protocol server for Jupyter. Prior to 2.1.3, ManagementRouteSecurityMiddleware in jupyter_mcp_server/server.py checks request.url.hostname rather than the actual TCP peer before…
    Request forgery (CSRF / SSRF) · 30 November 2026
  • CVE-2026-137188 Medium 6.1
    PinePaper MCP server enables AI tools to create animated graphics with PinePaper Studio. From 1.6.13 until 1.6.22, pinepaper_import_svg, pinepaper_import_asset and pinepaper_import_image can fetch attacker-influenced…
    Request forgery (CSRF / SSRF) · 30 November 2026
  • CVE-2026-137183 High 8.5
    Databasement is a self-hosted database backup management application. From 1.2.0 until 1.7.2, authenticated users with volume creation permission can supply arbitrary custom_endpoint, public_endpoint, or sts_endpoint…
    Request forgery (CSRF / SSRF) · 30 November 2026