{"id":"CVE-2026-47203","published":"2026-06-19T20:19:47Z","modified":"2026-06-22T18:13:48Z","title":"Authelia Missing Username Canonicalization in Basic Auth (LDAP)","vendor":"authelia","product":"authelia","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":2.9,"severity":"LOW","version":"4.0","vector":"CVSS: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:P","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00453,"percentile":0.40184,"provenance":"source"},"cwes":[{"id":"CWE-178","name":"Improper Handling of Case Sensitivity"},{"id":"CWE-307","name":"Improper Restriction of Excessive Authentication Attempts"}],"references":[{"url":"https://github.com/authelia/authelia/security/advisories/GHSA-hjj4-hfjm-fmrj","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/authelia/authelia/commit/b8985b57b70acdff8f204ed426ff619e763461ad","tags":["x_refsource_MISC"]}],"priority":{"score":10.1,"factors":[{"name":"EPSS percentile","points":8.04},{"name":"CVSS severity","points":2.03}]},"vendorSlug":"authelia","affectedVersions":[{"vendor":"authelia","product":"authelia","versions":[">= 4.38.0, < 4.39.20"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-06-22T17:29:23.539472Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/authelia/authelia/v4","vulnerableRanges":[">=4.38.0, <4.39.20"],"patched":["4.39.20"],"from":["GHSA-hjj4-hfjm-fmrj","GO-2026-5430"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/authelia/authelia","vulnerableRanges":["all versions"],"patched":[],"from":["GO-2026-5430"],"provenance":"source"}],"summary":{"text":"Authelia versions 4.38.0 through 4.39.19 contain a flaw in the Basic Auth handling of the authz verification endpoint, where the username taken from the Authorization header is passed unchanged to the regulation system used for ban checking and attempt recording. Because LDAP matches usernames case-insensitively while the regulation queries can treat case differently, an attacker with network access to the endpoint who attempts logins under varied capitalisations can obtain a separate ban bucket for each variant, sidestepping the lockout that would otherwise apply to the account.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:08:56Z"},"euvd":{"id":"EUVD-2026-38082","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2021-32637","published":"2021-05-28","fixed":"4.29.3","kev":false},{"cve":"CVE-2025-24806","published":"2025-02-19","fixed":"4.38.19","kev":false},{"cve":"CVE-2026-33525","published":"2026-03-26","fixed":"4.39.16","kev":false,"link":{"from":"CVE-2026-33525","to":"CVE-2026-47203","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/authelia/authelia/v4","fromFixed":"4.39.16","toFixed":"4.39.20","daysApart":85}]}},{"cve":"CVE-2026-47203","published":"2026-06-19","fixed":"4.39.20","kev":false},{"cve":"CVE-2026-48794","published":"2026-06-19","fixed":"4.39.20","kev":false}],"package":"Go:github.com/authelia/authelia/v4"}}