CVE-2026-25748
NixOS vulnerability analysis and mitigation

Overview

CVE-2026-25748 is a forward authentication bypass vulnerability in authentik, an open-source identity provider, caused by improper handling of malformed session cookies. When a crafted malformed cookie is submitted, the authentik Proxy Provider fails to set the X-Authentik-* headers, potentially granting unauthenticated access to protected applications. The vulnerability affects authentik versions up to and including 2025.10.3 and 2025.12.0–2025.12.3, and is only exploitable when the Proxy Provider is used with Traefik or Caddy as the reverse proxy. It was disclosed on February 12, 2026, with patches released the same day. The GitHub Security Advisory assigns a CVSS v3.1 score of 8.6 (High) with Scope: Changed, while NVD records a score of 7.5 (High) (GitHub Advisory, Red Hat CVE).

Technical details

The root cause is classified as CWE-287 (Improper Authentication): when the authentik Proxy Provider receives a malformed session cookie, it fails to properly validate the session and does not populate the X-Authentik-* request headers that downstream applications rely on to enforce access control (GitHub Advisory). The attack vector is network-based, requires no privileges, no user interaction, and low attack complexity — an unauthenticated remote attacker simply sends an HTTP request with a crafted malformed cookie to an endpoint protected by forward authentication. The vulnerability is specific to deployments using Traefik or Caddy as the reverse proxy in conjunction with authentik's Proxy Provider forward authentication mode; other reverse proxies or authentication modes are not affected. The fix, committed in releases 2025.10.4 and 2025.12.4, includes a change to revalidate authentication when a session fails to load (outpost/proxyv2: revalidate auth if session fails to load) (GitHub Release 2025.10.4, GitHub Release 2025.12.4).

Impact

Successful exploitation allows an unauthenticated attacker to bypass authentication and gain unauthorized access to applications protected by the authentik Proxy Provider, with the severity of access depending on the downstream application's behavior — specifically, whether it grants access when X-Authentik-* headers are absent. The primary impact is high confidentiality exposure, as attackers may access sensitive data within protected applications without valid credentials. Integrity and availability are not directly impacted by this vulnerability itself, though unauthorized access could enable further malicious actions within the compromised application (GitHub Advisory, Feedly).

Exploitability

As of the time of disclosure, there is no public proof-of-concept exploit and no evidence of active in-the-wild exploitation (Feedly). The vulnerability has an EPSS score of approximately 0.026%, indicating a low current probability of exploitation in the wild. No threat actor attribution has been reported, and the vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. However, the low attack complexity and lack of required privileges make it straightforward to exploit in environments meeting the preconditions (Traefik or Caddy with authentik forward authentication). A Nuclei detection template pull request was submitted to the ProjectDiscovery repository, indicating community interest in automated detection (Nuclei Templates PR).

Exploitation steps

  1. Reconnaissance: Identify internet-facing or network-accessible applications protected by authentik Proxy Provider using forward authentication with Traefik or Caddy as the reverse proxy. This can be done via Shodan, Censys, or by inspecting HTTP response headers for authentik-specific indicators.
  2. Craft malformed cookie: Construct an HTTP request containing a malformed or intentionally corrupted authentik session cookie (e.g., a syntactically invalid or truncated cookie value) in the Cookie header.
  3. Send request to protected endpoint: Submit the HTTP request directly to the protected application endpoint through the reverse proxy. The malformed cookie causes the authentik Proxy Provider to fail session validation without properly rejecting the request.
  4. Bypass authentication: Because the session fails to load and the fix (revalidation on session load failure) is absent in vulnerable versions, the X-Authentik-* headers are not set. If the downstream application grants access when these headers are missing, the attacker gains unauthorized entry.
  5. Access protected resources: With authentication bypassed, the attacker can interact with the protected application as if unauthenticated access were permitted, potentially reading sensitive data or performing actions allowed to unauthenticated users by the application (GitHub Advisory).

Indicators of compromise

  • Network: Unusual HTTP requests to applications protected by authentik forward authentication that lack valid session cookies or contain malformed/truncated cookie values; successful HTTP 200 responses to protected resources from requests with no valid X-Authentik-* headers forwarded.
  • Logs: Authentik outpost/proxy logs showing session load failures or errors related to cookie parsing without subsequent authentication redirects; access logs on the reverse proxy (Traefik/Caddy) showing requests to protected paths that did not pass through the authentik authentication flow.
  • Application Logs: Downstream application logs showing access from users with no associated identity or missing expected X-Authentik-Username / X-Authentik-* header values, particularly from IP addresses with no prior authenticated sessions.

Mitigation and workarounds

Upgrade authentik to version 2025.10.4 (for the 2025.10.x branch) or 2025.12.4 (for the 2025.12.x branch), both released on February 12, 2026 (GitHub Release 2025.10.4, GitHub Release 2025.12.4). There are no configuration-based workarounds available. If an immediate upgrade is not possible, the authentik project recommends disabling reverse proxy entries for any applications using forward authentication until the upgrade can be performed (GitHub Advisory). Organizations should also review access logs for any suspicious activity involving malformed cookies or unexpected authentication bypass incidents.

Community reactions

The vulnerability was reported by researcher imlonghao and disclosed via GitHub Security Advisory on February 12, 2026 (GitHub Advisory). The Hacker Wire covered the disclosure and shared it on Mastodon and Bluesky, generating community awareness. A Reddit thread in r/selfhosted noted the patch release and encouraged users to update, reflecting the active self-hosted community around authentik (Reddit). Community reaction was generally measured, with no reports of active exploitation amplifying concern.

Additional resources


SourceThis report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-75874CRITICAL10
  • NixOS logoNixOS
  • cpe:2.3:a:mozilla:firefox
NoYesAug 18, 2026
CVE-2026-74990CRITICAL9.8
  • NixOS logoNixOS
  • thunderbird
NoYesAug 18, 2026
CVE-2026-74989CRITICAL9.8
  • NixOS logoNixOS
  • thunderbird
NoYesAug 18, 2026
CVE-2026-74988CRITICAL9.8
  • NixOS logoNixOS
  • thunderbird
NoYesAug 18, 2026
CVE-2026-74987CRITICAL9.8
  • NixOS logoNixOS
  • MozillaFirefox
NoYesAug 18, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management