# CVE-2021-32637: Authentication bypassed with malformed request URI

- Severity: Critical 10.0 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H`
- 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): 2.15%, higher than 82% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-05-28T17:00:12.000Z
- Modified: 2026-07-08T06:27:57.069Z
- Also known as: GHSA-68wm-pfjf-wqp6
- Weaknesses: CWE-287
- Assigned by: GitHub_M

## Description

Authelia is a a single sign-on multi-factor portal for web apps. This affects uses who are using nginx ngx_http_auth_request_module with Authelia, it allows a malicious individual who crafts a malformed HTTP request to bypass the authentication mechanism. It additionally could theoretically affect other proxy servers, but all of the ones we officially support except nginx do not allow malformed URI paths. The problem is rectified entirely in v4.29.3. As this patch is relatively straightforward we can back port this to any version upon request. Alternatively we are supplying a git patch to 4.25.1 which should be relatively straightforward to apply to any version, the git patches for specific versions can be found in the references. The most relevant workaround is upgrading. You can also add a block which fails requests that contains a malformed URI in the internal location block.

(As written by CVE List.)

## Affected

- authelia authelia: >= 4.0.0-alpha1, < 4.29.3; from 4.0.0 before 4.25.1; from 4.26.0 before 4.29.3
- github.com/authelia/authelia/v4 (Go): from 4.0.0-alpha1 before 4.29.3

## Every score

- GitHub_M: CVSS:3.1 10.0 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H`
- GitHub: CVSS:3.1 10.0 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H`
- NVD: CVSS:3.1 10.0 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H`
- NVD: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P`

## References

- <https://github.com/authelia/authelia/security/advisories/GHSA-68wm-pfjf-wqp6> (exploit, mitigation, patch, third-party-advisory, web)
- <https://github.com/authelia/authelia/commit/c62dbd43d6e69ae81530e7c4f8763857f8ff1dda> (patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-32637> (advisory)
- <https://github.com/authelia/authelia> (package)

## Sources

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

---

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