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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** LOW 2.9
- **CVSS:** 2.9 (v4.0, CNA) `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`
- **CVSS metrics:** Attack vector: Network; Attack complexity: High; Attack requirements: Present; Privileges required: None; User interaction: None; Confidentiality impact: Low; Integrity impact: None; Availability impact: None; Confidentiality impact on other systems: None; Integrity impact on other systems: None; Availability impact on other systems: None; Exploit maturity: Proof of concept
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.45% (percentile 31, 2026-11-26)
- **CWE:** CWE-178, CWE-307
- **Aliases:** GHSA-hjj4-hfjm-fmrj, GO-2026-5430
- **Published:** 2026-05-29T21:21:12.000Z
- **Modified:** 2026-06-26T21:45:24.295Z

## Who should check

- Projects that depend on Go package github.com/authelia/authelia/v4 (\>= 4.38.0, \< 4.39.20)
- Projects that depend on Go package github.com/authelia/authelia
- Anyone running authelia \>= 4.38.0, \< 4.39.20

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

## Affected and fixed versions

- Go `github.com/authelia/authelia/v4`: affected \>= 4.38.0, \< 4.39.20; fixed 4.39.20 (osv)
- Go `github.com/authelia/authelia`: affected see advisory; fixed no fix listed yet (osv)
- authelia: \>= 4.38.0, \< 4.39.20 (cvelist)

## Mitigation

- Upgrade github.com/authelia/authelia/v4 to 4.39.20 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-47203. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-47203.md
Affected: github.com/authelia/authelia/v4 >= 4.38.0, < 4.39.20; github.com/authelia/authelia
Fixed in: 4.39.20

Steps:
1. Search this machine and project for github.com/authelia/authelia/v4 (Go), github.com/authelia/authelia (Go), authelia: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-47203 being exploited?

There is no confirmed exploitation: CVE-2026-47203 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.45% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-47203?

Low: CVSS 2.9 (v4.0, scored by CNA). Remote, no login needed. The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2026-47203?

github.com/authelia/authelia/v4 \>= 4.38.0, \< 4.39.20; github.com/authelia/authelia.

### Is there a fix for CVE-2026-47203?

Yes. Fixed in 4.39.20. Upgrade github.com/authelia/authelia/v4 to 4.39.20 or later.

### How do I check if I'm affected by CVE-2026-47203?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/authelia/authelia/security/advisories/GHSA-hjj4-hfjm-fmrj>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2026-47203>
- patch: <https://github.com/authelia/authelia/commit/b8985b57b70acdff8f204ed426ff619e763461ad>
- other: <https://github.com/authelia/authelia>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-47203>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-hjj4-hfjm-fmrj> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GO-2026-5430> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2026-47203> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-47203>
