# CVE-2026-47203: Authelia Missing Username Canonicalization in Basic Auth (LDAP)

- Severity: Low 2.9 (CVSS:4.0, scored by GitHub_M) `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`
- 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): 0.31%, higher than 25% of CVEs (2026-12-01)
- Published: 2026-05-29T21:21:12.000Z
- Modified: 2026-06-26T21:45:24.295Z
- Also known as: GHSA-hjj4-hfjm-fmrj, GO-2026-5430
- Weaknesses: CWE-178, CWE-307
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- authelia authelia: >= 4.38.0, < 4.39.20
- github.com/authelia/authelia/v4 (Go): from 4.38.0 before 4.39.20
- github.com/authelia/authelia (Go): all versions

## Every score

- GitHub_M: CVSS:4.0 2.9 Low `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`
- GitHub: CVSS:4.0 Low `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/CR:L/IR:L/AR:L/MAV:N/MAC:H/MAT:N/MPR:N/MUI:N/MVC:L/MVI:N/MVA:N/MSC:N/MSI:N/MSA:N/S:N/AU:Y/R:U/V:D/RE:L/U:Green`

## References

- <https://github.com/authelia/authelia/security/advisories/GHSA-hjj4-hfjm-fmrj> (advisory, web)
- <https://github.com/authelia/authelia/commit/b8985b57b70acdff8f204ed426ff619e763461ad> (fix, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-47203> (advisory)
- <https://github.com/authelia/authelia> (package)

## Sources

- CVE List: [CVE-2026-47203](https://www.cve.org/CVERecord?id=CVE-2026-47203), CVE Terms of Use, modified 2026-06-22
- GitHub Advisory Database: [GHSA-hjj4-hfjm-fmrj](https://github.com/advisories/GHSA-hjj4-hfjm-fmrj), CC-BY-4.0, modified 2026-06-26
- Go Vulnerability Database: [GO-2026-5430](https://pkg.go.dev/vuln/GO-2026-5430), CC-BY-4.0, modified 2026-06-25
- NVD: [CVE-2026-47203](https://nvd.nist.gov/vuln/detail/CVE-2026-47203), Public domain, modified 2026-06-23

---

Page: https://cve.day/CVE-2026-47203 · Whole record: https://cve.day/CVE-2026-47203.json · Rebuilt by cve.day 2026-11-25T22:59:25.289Z
