CVE-2021-32637 json
Authentication bypassed with malformed request URI
published 2021-05-28 5 y ago modified 2026-07-08 4 mo ago also GHSA-68wm-pfjf-wqp6 , EUVD-2021-2457
- cvss
- 10.0
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.9%
- EPSS 1.9% chance of exploitation in 30 days, percentile 79%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- go github.com/authelia/authelia/v4 4.29.3
- authelia authelia 4.25.1, 4.29.3
Exploit prediction
1.87% chance of exploitation in the next 30 days, higher than 79% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/authelia/authelia/security/advisories/GHSA-68wm-pfjf-wqp6 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 10.0 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H |
| NVD | 3.1 | 10.0 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H |
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
| GitHub | 3.1 | 10.0 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/authelia/authelia/v4 | >=4.0.0-alpha1, <4.29.3 |
4.29.3 |
Affected products
- authelia authelia
Classification
- Weakness
-
- CWE-287 Improper Authentication
References
-
github.com
/authelia/authelia/commit/c62dbd43d6e69ae81530e7c4f8763857f8ff1dda
web, patch, third-party-advisory
-
github.com
/authelia/authelia/security/advisories/GHSA-68wm-pfjf-wqp6
web, exploit, mitigation, patch, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2021-32637
advisory
-
github.com
/authelia/authelia
package
Sources
- CVE List CVE-2021-32637
- GitHub Advisory GHSA-68wm-pfjf-wqp6
- NVD CVE-2021-32637
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.