SCA: security update for org.pac4j:pac4j-core (GHSA-xw5c-jc7x-gf75)

high Tenable Self-Hosted Container Security Plugin ID 440665

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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 (CVE-2026-40458)

Solution

Update the org.pac4j:pac4j-core library and its related packages to version 5.7.10 or later.

See Also

https://github.com/advisories/GHSA-xw5c-jc7x-gf75

Plugin Details

Severity: High

ID: 440665

Version: Revision 1.7

Type: Local

Family: SCA Checks

Published: 4/18/2026

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Low

Score: 3

Percentile: 23.73

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: High

Base Score: 7.8

Temporal Score: 5.8

Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:C/A:N

CVSS Score Source: CVE-2026-40458

CVSS v3

Risk Factor: Medium

Base Score: 6.5

Temporal Score: 5.7

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

CVSS v4

Risk Factor: High

Base Score: 7

Threat Score: 4.7

Threat Vector: CVSS:4.0/E:U

Vector: 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

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 4/17/2026

Vulnerability Publication Date: 4/17/2026

Reference Information

CVE: CVE-2026-40458

cwe: CWE-352