# CVE-2021-29456: Authelia allows open redirects on the logout endpoint

- Severity: Medium 5.7 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.51%, higher than 45% of CVEs (2026-12-01)
- Published: 2021-04-21T18:50:14.000Z
- Modified: 2026-07-08T06:27:26.816Z
- Also known as: GHSA-36f2-fcrx-fp4j
- Weaknesses: CWE-601
- Assigned by: GitHub_M

## Description

Authelia is an open-source authentication and authorization server providing 2-factor authentication and single sign-on (SSO) for your applications via a web portal. In versions 4.27.4 and earlier, utilizing a HTTP query parameter an attacker is able to redirect users from the web application to any domain, including potentially malicious sites. This security issue does not directly impact the security of the web application itself. As a workaround, one can use a reverse proxy to strip the query parameter from the affected endpoint. There is a patch for version 4.28.0.

(As written by CVE List.)

## Affected

- authelia authelia: <= 4.27.4; before 4.28.0
- github.com/authelia/authelia/v4 (Go): before 4.28.0

## Every score

- GitHub_M: CVSS:3.1 5.7 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N`
- GitHub: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:2.0 4.9 Medium `AV:N/AC:M/Au:S/C:P/I:P/A:N`

## References

- <https://github.com/authelia/authelia/security/advisories/GHSA-36f2-fcrx-fp4j> (patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-29456> (advisory)
- <https://github.com/authelia/authelia> (package)

## Sources

- CVE List: [CVE-2021-29456](https://www.cve.org/CVERecord?id=CVE-2021-29456), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-36f2-fcrx-fp4j](https://github.com/advisories/GHSA-36f2-fcrx-fp4j), CC-BY-4.0, modified 2026-07-08
- NVD: [CVE-2021-29456](https://nvd.nist.gov/vuln/detail/CVE-2021-29456), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-29456 · Whole record: https://cve.day/CVE-2021-29456.json · Rebuilt by cve.day 2026-11-25T22:58:00.878Z
