Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify target application using pac4j-saml SLO
-
DeliveryObtain or enumerate victim NameID (e.g., email from directory)
-
ExploitCraft unsigned SAML LogoutRequest with victim NameID, omit SessionIndex
-
ExecutionPOST forged request to SP SLO endpoint
-
PersistSAML2LogoutValidator accepts unsigned message
-
ImpactVictim session destroyed
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A08:2025 - Software or Data Integrity Failures
ASVS 5.0
V15 - Secure Coding and Architecture Data authenticity verification
|
| Exploitation Conditions | Exploitation requires that the target application uses pac4j-saml in a version prior to 6.5.6 and has a SAML Single Logout (SLO) endpoint exposed. The critical enabling condition is that the configured SAML IdP does not always include a SessionIndex in its LogoutRequest messages - this is the code path where signature validation was absent. The attacker must know or accurately guess the victim's SAML NameID, which is commonly set to an email address or username. No authentication is required (PR:N per CVSS vector), and no victim interaction is needed (UI:N). Exploitation is strictly limited to session termination: the attacker cannot read session contents, forge authentication, or gain any access to the application. Deployments where the IdP consistently includes SessionIndex values, or where SLO is disabled entirely, are not reachable via this specific attack path. |
| Impact | The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N, score 6.9) accurately reflects the attack surface: network-reachable, zero authentication, low complexity, but limited in impact to vulnerable-system availability (session termination). This is a forced-logout attack - attackers can deny a victim access to their current session but cannot read session data, impersonate the victim, or escalate privileges, so confidentiality and integrity remain unaffected. EPSS data is not provided in the intelligence feed. No CISA KEV listing and no known public POC exist at time of analysis, reducing the urgency tier relative to what the CVSS score alone might suggest. The practical exploitation difficulty is bounded by the need to enumerate valid NameIDs; in environments where NameIDs are email addresses (common in enterprise SAML deployments), this is a realistic but non-trivial precondition. The 'Information Disclosure' tag in the source data appears to be a misclassification - actual impact is session availability loss, not data exfiltration. Overall, this is a real, patched vulnerability warranting prompt upgrade, but not an emergency stop-the-presses response absent active exploitation evidence. |
| Exploit ScenarioDerived | An attacker targeting a known victim in an enterprise using pac4j-saml for SAML SSO obtains the victim's email address (e.g., from a corporate directory or LinkedIn), which serves as the SAML NameID. The attacker crafts a minimal unsigned SAML LogoutRequest XML containing that NameID and no SessionIndex element, then HTTP-POSTs it directly to the application's SAML SLO endpoint. The unpatched SAML2LogoutValidator accepts the unsigned request, matches the session by NameID, and destroys it - silently logging the victim out mid-session without any action on their part. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 29, 2026
Session termination via unsigned SAML LogoutRequest in pac4j-saml before 6.5.6 allows unauthenticated remote attackers to destroy any active SAML session by submitting a forged, unsigned LogoutRequest containing a guessed NameID (e.g., an email address used as the SAML subject identifier) when the IdP omits a SessionIndex. The root cause is that SAML2LogoutValidator.validateLogoutRequest() did not enforce signature validation in this code path, permitting the NameID alone to trigger session destruction without any cryptographic proof of IdP origin. No public exploit code is known and this is not listed in CISA KEV; however, the attack is low-complexity and entirely unauthenticated per the CVSS 4.0 vector.
RemediationAI
Upgrade pac4j-saml to version 6.5.6 or later; the vendor-released patch is confirmed via the advisory at https://www.pac4j.org/blog/security-advisory-pac4j-core-oidc-saml.html and the fix commit at https://github.com/pac4j/pac4j/commit/2270c3ff70e93cc43831e75702acd5135531237e. If immediate upgrade is not feasible, a targeted compensating control is to configure your SAML IdP to always include a SessionIndex in every LogoutRequest; this eliminates the vulnerable NameID-only code path, though it depends on IdP-side configuration control and does not constitute a complete fix. Alternatively, disabling the SAML Single Logout (SLO) endpoint entirely removes the attack surface at the cost of federation-wide logout functionality - users would need to log out of each SP individually. Note that pac4j 6.5.6 bundles multiple security fixes simultaneously (open redirect in logout, OIDC token validation, Keycloak role validation), making the upgrade independently worthwhile beyond this specific CVE.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
SAML (Security Assertion Markup Language) is an XML-based SSO federation protocol where Identity Providers (IdPs) send signed LogoutRequest messages to Service Providers (SPs) to terminate SSO sessions. The pac4j-saml library is the SAML SP implementation within the broader pac4j Java security framework (CPE: cpe:2.3:a:pac4j:pac4j:*:*:*:*:*:*:*:*). The vulnerable class is SAML2LogoutValidator, specifically its validateLogoutRequest() method, which took a conditional code path - when the IdP sends no SessionIndex element, the validator fell back to NameID-based session lookup without enforcing that the LogoutRequest carry a valid IdP signature. CWE-345 (Insufficient Verification of Data Authenticity) precisely describes this flaw: the software does not sufficiently verify the origin or integrity of data before acting on it. The commit diff at 2270c3ff70e93cc43831e75702acd5135531237e confirms the fix adds mandatory signature validation to this path, and the release notes explicitly state 'an unsigned SAML LogoutRequest can no longer destroy a session based on the NameID (when the IdP sends no SessionIndex) unless the signature is validated.'
Know when Pac4J gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
Network-reachable unauthenticated SLO endpoint; no privileges needed; impact is solely session availability loss with no confidentiality or integrity breach.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
pac4j-saml before 6.5.6 does not require signature validation of SAML LogoutRequest messages in SAML2LogoutValidator.validateLogoutRequest(). When an IdP sends no SessionIndex, a session can be destroyed based solely on the NameID, allowing an unauthenticated attacker to submit an unsigned LogoutRequest with a guessed identifier (e.g., an email address used as NameID) to terminate a victim's SAML session.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
LDAP injection vulnerabilities in PAC4J authentication library allow low-privileged remote attackers to execute arbitrar
Authentication bypass in pac4j-core before 6.5.6 allows authenticated users holding a weaker profile type to access reso
Privilege escalation in pac4j-oidc before 6.5.6 allows authenticated attackers to forge Keycloak access tokens and claim
CSRF protection bypass in PAC4J authentication library allows remote attackers to forge state-changing requests without
Authentication bypass in pac4j-oidc before 6.5.6 allows remote unauthenticated attackers to establish authenticated sess
Open redirect in pac4j-core before 6.5.6 allows network-accessible attackers to redirect authenticated users to attacker
The SAML identifier generated within SAML2Utils.java was found to make use of the apache commons-lang3 RandomStringUtils
EUVD-2026-68122
GHSA-r76c-m8xx-m685
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB