Skip to main content

pac4j-saml CVE-2026-82465

| EUVDEUVD-2026-68122 MEDIUM
Insufficient Verification of Data Authenticity (CWE-345)
2026-08-29 VulnCheck GHSA-r76c-m8xx-m685
6.9
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify target application using pac4j-saml SLO
  2. Delivery
    Obtain or enumerate victim NameID (e.g., email from directory)
  3. Exploit
    Craft unsigned SAML LogoutRequest with victim NameID, omit SessionIndex
  4. Execution
    POST forged request to SP SLO endpoint
  5. Persist
    SAML2LogoutValidator accepts unsigned message
  6. Impact
    Victim 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

pac4j 0 <6.5.6

Affected Packages

euvd pac4j fix: 6.5.6

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

Vendor (VulnCheck) PRIMARY 6.9 MEDIUM
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
vuln.today AI 5.3 MEDIUM

Network-reachable unauthenticated SLO endpoint; no privileges needed; impact is solely session availability loss with no confidentiality or integrity breach.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

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

EPSS Score
0.2%
Top 92% exploitable
Prevalence
Medium
widely used Java SSO framework, significant enterprise adoption
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

34
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +34
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy