Security mailing lists by PureSourceCode

CVE-2021-32637

CRITICAL 10.0CVSS 3.1

Authelia vulnerable to an authentication bypassed with malformed request URI on nginx

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.

Published
28 May 2021
Last modified
8 Jul 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-287
Also known as
GHSA-68wm-pfjf-wqp6
Sources
NVDJSONOSV GHSA-68wm-pfjf-wqp6JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 CRITICAL 10.0 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
NVD nvd@nist.gov (Primary) CVSS 3.1 CRITICAL 10.0 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
OSV GitHub CVSS 3.1 CRITICAL 10.0 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
NVD nvd@nist.gov (Primary) CVSS 2.0 HIGH 7.5 AV:N/AC:L/Au:N/C:P/I:P/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD authelia authelia
cpe:2.3:a:authelia:authelia:*:*:*:*:*:*:*:*
>= 4.0.0, < 4.25.1 4.25.1
NVD authelia authelia
cpe:2.3:a:authelia:authelia:*:*:*:*:*:*:*:*
>= 4.26.0, < 4.29.3 4.29.3
OSV Go github.com/authelia/authelia/v4 >= 4.0.0-alpha1, < 4.29.3 4.29.3

References

History

  • 25 Nov 2026 20:33 UTC · NVD: first stored (published 28 May 2021)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 20 Dec 2021)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.