CVE-2021-29456
NixOS vulnerability analysis and mitigation

Overview

Authelia, an open-source authentication and authorization server providing 2-factor authentication and single sign-on (SSO) for applications via a web portal, was found to contain an open redirect vulnerability in versions 4.27.4 and earlier. The vulnerability was discovered and disclosed on April 21, 2021, and was assigned CVE-2021-29456. The issue allows attackers to redirect users from the web application to any domain, including potentially malicious sites, through manipulation of HTTP query parameters (GitHub Advisory).

Technical details

The vulnerability stems from insufficient URL validation on the logout endpoint. While other endpoints in the application properly validate domains by checking both the HTTPS protocol and domain association with the application, the logout endpoint failed to implement these checks. This oversight allows attackers to specify arbitrary redirect destinations via HTTP query parameters. The vulnerability has been assigned a CVSS v3.1 base score of 5.4 (Medium) with the vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N, indicating network vector attack with low complexity, requiring low privileges and user interaction (NVD).

Impact

While this vulnerability does not directly compromise the security of the web application itself, it enables attackers to conduct more convincing phishing attempts. The vulnerability is particularly dangerous because it allows attackers to leverage the trust users have in the legitimate application, as the initial redirect comes from a familiar and trusted source. This can make phishing attempts appear more credible to users who are accustomed to visiting the legitimate site (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in version 4.28.0 with commit f0cb75e. For users unable to upgrade immediately, a workaround is available by using a reverse proxy to strip the query parameter from the affected endpoint. The Authelia team recommends upgrading as the preferred solution, though they are willing to consider creating back-ported fixes for users who cannot upgrade if they can provide sufficient justification (GitHub Advisory).

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-2025-61619HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-61618HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-61617HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-61610HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-61609HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025

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