CVE-2026-47203

Authelia Missing Username Canonicalization in Basic Auth (LDAP)

State
Published
Severity
2.9 Low
Published
Jun 19, 2026
Updated
Jun 22, 2026
Reserved
May 18, 2026

Read the record on cve.org

Description

Authelia is an open-source authentication and authorization server providing two-factor authentication and single sign-on (SSO) for applications via a web portal. In versions 4.38.0 through 4.39.19, when a user authenticates via Basic Auth (i.e via the `Authorization` header with the `Basic` scheme) on the authz verification endpoint, Authelia takes the username directly from the `Authorization` header and passes it as is to the regulation system for ban checking and attempt recording. LDAP treats usernames case insensitively : `john`, `John`, and `JOHN` all bind as the same user. But the regulation SQL queries treat the lookup of these values in certain scenarios as case sensitive. This allows each variation of a usernames case to have its own ban bucket. Upgrade to 4.39.20 to receive a patch. As a workaround, explicitly disable the basic auth mechanism.

Scores

CVSSScoreVectorSource
4.02.9 LowCVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:PGitHub_M

Weaknesses

  • CWE-178 Improper Handling of Case Sensitivity
  • CWE-307 Improper Restriction of Excessive Authentication Attempts

Affected Products

ProductVersions
autheliaauthelia
  • >= 4.38.0, < 4.39.20Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.