CVE-2026-47203: Github.com/authelia/authelia/v4 Authelia Missing Username Canonicalization Vulnerability
LOWCVE-2026-47203 is a LOW authelia missing username canonicalization vulnerability (CWE-307: Improper Restriction of Excessive Authentication Attempts) affecting Github.com/authelia/authelia/v4 libraries in the Go ecosystem. The issue involves authelia missing username canonicalization in basic auth (ldap). Remediation is available by upgrading affected packages to version 4.39.20.
CVE-2026-47203 at a Glance
How to Fix CVE-2026-47203
To remediate this vulnerability, upgrade all affected Github.com/authelia/authelia/v4 dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade github.com/authelia/authelia/v4 to 4.39.20
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/authelia/authelia/v4
How to Check if You Are Affected
To determine whether your application is affected by CVE-2026-47203, inspect your project dependencies for Github.com/authelia/authelia/v4:
inspect dependencies for github.com/authelia/authelia/v4
Analyze the terminal output to locate any version of Github.com/authelia/authelia/v4 in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 4.39.20), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-307: Improper Restriction of Excessive Authentication Attempts, where the product does not implement sufficient measures to prevent multiple failed authentication attempts within a short time frame. In Github.com/authelia/authelia/v4, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-47203 Affected Github.com/authelia/authelia/v4 Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/authelia/authelia/v4
|
Go |
≥ 4.38.0
< 4.39.20
|
4.39.20
|
References
Frequently Asked Questions
What is CVE-2026-47203?
Which Github.com/authelia/authelia/v4 versions are affected?
What version fixes CVE-2026-47203?
Is github.com/authelia/authelia/v4 affected?
What CWE is associated with CVE-2026-47203?
How can I check Go dependencies for CVE-2026-47203?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-hjj4-hfjm-fmrj",
"modified" : "2026-06-26T21:32:40Z",
"published" : "2026-05-29T21:21:12Z",
"aliases" : [ "CVE-2026-47203" ],
"summary" : "Authelia Missing Username Canonicalization in Basic Auth (LDAP)",
"details" : "### Impact\n\n**CVSSv4 Baseline Score:** Moderate 6.3\n\n**CVSSv4 Weighted Score:** Low 2.9\n\nThe full CVSSv4 Vector for this vulnerability is:\n\n> 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\n\n**CVSSv3.1 Baseline Score:** Low 3.7\n\n**CVSSv3.1 Overall Score:** Medium 4.0\n\nThe full CVSSv3.1 Vector equivalent for this vulnerability is:\n\n> CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N/E:P/RL:O/RC:X/CR:H/IR:L/AR:L/MAV:N/MAC:H/MPR:N/MUI:N/MS:U/MC:L/MI:N/MA:N\n\nThe weighted severity rating is a result of no indication this is currently being exploited being available at the time of the publish date, in addition to the fact it's unlikely that it is being exploited currently.\n\nDue to lack of canonicalization of the basic auth username, the effectiveness of the brute force mechanism when using basic auth is partially degraded.\n\nMost passwords of reasonable length are unlikely to have a meaningful effect due to the fact there is no clear feedback to an attacker that is attempting to exploit this, thus their brute force attempts are significantly more likely to miss a valid password than they are identify a valid one.\n\n### Details\n\nWhen 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.\n\nLDAP 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.\n\nNotable conditions or unaffected configurations:\n\n1. The first factor login endpoint (`/api/firstfactor`) is **not** affected\n2. The LDAP authentication backend must be in use.\n3. If the underlying database is case insensitive (as it should be with the collation we use for MySQL) it is **not** affected\n4. Administrators using the recently added IP regulation mode are **not** affected\n5. Administrators using a third-party tool such as CrowdSec or fail2ban are **not** affected\n6. Administrators that have disabled basic auth are **not** affected\n\n### Patches\n\nUpgrade to 4.39.20.\n\nCommit: https://github.com/authelia/authelia/commit/b8985b57b70acdff8f204ed426ff619e763461ad\n\n### Workarounds\n\nExplicitly disable the basic auth mechanism.\n\n#### Caddy, HAProxy, and Traefik\n\n```yaml\nserver:\n endpoints:\n authz:\n forward-auth:\n implementation: 'ForwardAuth'\n authn_strategies:\n - name: 'CookieSession'\n```\n\n#### nginx\n\n```yaml\nserver:\n endpoints:\n authz:\n auth-request:\n implementation: 'AuthRequest'\n authn_strategies:\n - name: 'CookieSession'\n```\n\n#### Envoy\n\n```yaml\nserver:\n endpoints:\n authz:\n ext-authz:\n implementation: 'ExtAuthz'\n authn_strategies:\n - name: 'CookieSession'\n```\n\n### References\n\nN/A",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "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"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/authelia/authelia/v4"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "4.38.0"
}, {
"fixed" : "4.39.20"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 4.39.19"
}
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/authelia/authelia/security/advisories/GHSA-hjj4-hfjm-fmrj"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-47203"
}, {
"type" : "WEB",
"url" : "https://github.com/authelia/authelia/commit/b8985b57b70acdff8f204ed426ff619e763461ad"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/authelia/authelia"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-178", "CWE-307" ],
"severity" : "LOW",
"github_reviewed" : true,
"github_reviewed_at" : "2026-05-29T21:21:12Z",
"nvd_published_at" : "2026-06-19T21:16:57Z"
}
}