Description
pac4j-core before 6.5.6 contains an open redirect vulnerability in DefaultLogoutLogic.perform() that accepts backslash-prefixed logout redirect targets matching logoutUrlPattern. Attackers can craft logout links with backslash-prefixed external hosts that browsers normalize into network-path references, redirecting victims to attacker-controlled sites after logout.
Published: 2026-08-29
Score: 5.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Open redirect to attacker-controlled sites after logout
Action: Patch Now
AI Analysis

Impact

The vulnerability resides in pac4j-core’s DefaultLogoutLogic and is a CWE‑601: Open Redirect flaw, where a backslash‑prefixed logout redirect target falls within a configured pattern. When a user logs out, the framework accepts the redirect URL, and browsers normalize the backslash‑prefixed external host into a network‑path reference. This behavior can be abused to redirect users to sites chosen by an attacker, enabling phishing, credential harvesting, or other social‑engineering attacks.

Affected Systems

It affects all installations of the pac4j pac4j library older than version 6.5.6. If an application uses pac4j-core before that version, any configured logoutUrlPattern that tolerates backslash‑prefixed values is vulnerable.

Risk and Exploitability

The CVSS score of 5.3 points to moderate severity. No EPSS score is provided, and the vulnerability is not listed in the CISA KEV database, suggesting limited widespread exploitation to date. The exploitation requires an attacker to supply a crafted logout link that a victim will click, making user interaction a prerequisite. Once triggered, the attacker can redirect the victim to a malicious domain, compromising user trust and potentially credential integrity.

Generated by OpenCVE AI on August 29, 2026 at 17:52 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade pac4j pac4j to version 6.5.6 or later, which removes the backslash‑prefix handling in logout redirects.
  • If upgrading immediately is not feasible, modify the logoutUrlPattern configuration to explicitly disallow backslash‑prefixed targets, ensuring only absolute URLs or local paths are accepted.
  • Deploy application firewall or web‑application monitoring rules to detect and block logout URLs containing backslash prefixes that point to external hosts, thereby preventing the redirect behavior until a patch can be applied.

Generated by OpenCVE AI on August 29, 2026 at 17:52 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 01 Sep 2026 03:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Sat, 29 Aug 2026 16:45:00 +0000

Type Values Removed Values Added
Description pac4j-core before 6.5.6 contains an open redirect vulnerability in DefaultLogoutLogic.perform() that accepts backslash-prefixed logout redirect targets matching logoutUrlPattern. Attackers can craft logout links with backslash-prefixed external hosts that browsers normalize into network-path references, redirecting victims to attacker-controlled sites after logout.
Title pac4j-core before 6.5.6 Open Redirect via Backslash Logout
First Time appeared Pac4j
Pac4j pac4j
Weaknesses CWE-601
CPEs cpe:2.3:a:pac4j:pac4j:*:*:*:*:*:*:*:*
Vendors & Products Pac4j
Pac4j pac4j
References
Metrics cvssV3_1

{'score': 6.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N'}

cvssV4_0

{'score': 5.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-09-01T02:12:18.076Z

Reserved: 2026-08-29T14:11:01.292Z

Link: CVE-2026-82464

cve-icon Vulnrichment

Updated: 2026-09-01T02:12:11.262Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-08-29T17:17:58.640

Modified: 2026-09-10T19:54:25.810

Link: CVE-2026-82464

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-29T18:00:12Z

Weaknesses
  • CWE-601

    URL Redirection to Untrusted Site ('Open Redirect')