Skip to content
OpenAdvisories
Low · 2.9 CVE-2026-47203 EUVD-2026-38082GHSA-hjj4-hfjm-fmrjGO-2026-5430

Authelia Missing Username Canonicalization in Basic Auth (LDAP)

Published Jun 19, 2026 · Updated Jun 22, 2026 · 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.

Affected products

VendorProductAffectedFixed
authelia authelia >= 4.38.0, < 4.39.20 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
openSUSE Leap 16.0 govulncheck-vulndb 0.0.20260723T184607-160000.1.1 openSUSE-SU-2026:21483-1

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/authelia/authelia all versions — GO-2026-5430
Go github.com/authelia/authelia/v4 >= 4.38.0, < 4.39.20 4.39.20 GHSA-hjj4-hfjm-fmrj

Advisories 1

References