Skip to main content

Authelia EUVDEUVD-2026-38082

| CVE-2026-47203 LOW
Improper Handling of Case Sensitivity (CWE-178)
2026-05-29 https://github.com/authelia/authelia GHSA-hjj4-hfjm-fmrj
2.9
CVSS 4.0 · Vendor: https://github.com/authelia/authelia
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify Authelia instance with LDAP and Basic Auth enabled
  2. Delivery
    Enumerate target username from directory or prior recon
  3. Exploit
    Craft Authorization header variants with differing username casing
  4. Execution
    Submit distributed failed attempts across casing variants to separate ban buckets
  5. Persist
    Exceed effective aggregate attempt quota without triggering lockout
  6. Impact
    Brute force target account password

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Case sensitivity handling
Exploitation Conditions

Exploitation requires all of the following conditions to be simultaneously true: (1) Authelia must be configured with the LDAP authentication backend - the file-based backend is not affected; (2) Basic Auth must be enabled on the authz verification endpoint (i.e., the authn_strategies list includes a Basic/Header strategy); (3) the underlying regulation database must use a case-sensitive collation - MySQL deployments using the UTF8MB4_unicode_ci collation Authelia recommends are not affected; (4) IP-based regulation mode must not be configured; (5) no third-party brute force mitigation tool such as CrowdSec or fail2ban must be in place. The first-factor login endpoint (/api/firstfactor) is explicitly not affected. Exploitation is further limited by the absence of clear attacker feedback - there is no signal indicating which username casing variant is being tracked separately, making reliable exploitation considerably harder than a standard brute force scenario. Remote unauthenticated access is required (PR:N, AV:N), but high attack complexity (AC:H) applies due to the configuration prerequisites.

Impact

Real-world risk is low despite a network-accessible attack vector. The CVSSv3.1 baseline of 3.7 and CVSSv4 weighted score of 2.9 are consistent with the narrow exploitation prerequisites: Attack Complexity is High (AC:H) because exploitation requires a specific conjunction of LDAP backend, enabled Basic Auth on the authz endpoint, and a case-sensitive database collation. The impact is limited to partial confidentiality loss (VC:L) with no integrity or availability consequences. No CISA KEV listing exists, and no standalone public POC has been confirmed; the E:P modifier in both CVSS vectors indicates partial exploit evidence, likely reflecting that the logic is straightforward to derive from the advisory itself. The vendor's own weighted score of 2.9 explicitly accounts for the absence of observed exploitation and the low attacker feedback problem - an attacker receives no clear signal whether a case variation is being treated as a distinct bucket, making reliable exploitation difficult. Defenders using MySQL with the recommended collation, IP-based regulation, or third-party tools like CrowdSec or fail2ban are not materially impacted. Overall, this is a low-priority finding for most deployments, with moderate priority only for organizations running Authelia with LDAP, basic auth enabled, and a case-sensitive database.

Exploit ScenarioDerived

An attacker targeting a user account 'alice' on an Authelia instance backed by LDAP submits repeated Basic Auth credential attempts to the authz verification endpoint, cycling through casing variants - 'alice', 'Alice', 'ALICE', 'aLiCe' - to distribute failed attempts across multiple independent ban buckets. Because each variant is treated as a separate identity by the regulation SQL layer, the effective attempt quota before lockout is multiplied by the number of variants, allowing significantly more password guesses before any single bucket triggers a ban. No public POC has been confirmed; however, the attack logic is straightforward to implement from the advisory description alone.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – May 29, 2026

Brute force regulation bypass in Authelia's Basic Auth flow (versions 4.38.0-4.39.19) allows unauthenticated remote attackers to partially circumvent account lockout controls by submitting login attempts using case variants of a target username (e.g., 'john', 'John', 'JOHN'). Because Authelia passes the raw Authorization header username to the regulation system without canonicalization, and LDAP backends treat these as the same identity while the regulation SQL queries treat them as distinct, each casing variant occupies a separate ban bucket - multiplying the effective attempt quota before lockout triggers. No public exploit identified at time of analysis, and the CVSSv4 weighted score of 2.9 (Low) reflects the narrow exploitation conditions required and the lack of attacker feedback during exploitation.

RemediationAI

The primary fix is to upgrade Authelia to version 4.39.20, which introduces username canonicalization in the Basic Auth handler and adds a mandatory timing attack delay. The patch commit is available at https://github.com/authelia/authelia/commit/b8985b57b70acdff8f204ed426ff619e763461ad. For deployments that cannot upgrade immediately, the recommended workaround is to explicitly disable Basic Auth on the authz endpoint by restricting authn_strategies to CookieSession only. For Caddy, HAProxy, and Traefik, configure the forward-auth endpoint with only the CookieSession strategy; for nginx, configure the auth-request endpoint similarly; for Envoy, configure the ext-authz endpoint with CookieSession. This workaround eliminates the vulnerable code path entirely with no known functional trade-off for deployments not relying on Basic Auth for proxy authentication. Alternatively, enabling IP-based regulation mode or deploying a third-party brute force tool such as CrowdSec or fail2ban also mitigates the impact without requiring a code change, though neither addresses the root canonicalization defect.

Affected VersionsENISA

authelia 4.38.0, < 4.39.20

Affected Packages

go github.com/authelia/authelia no fix
go github.com/authelia/authelia/v4 fix: 4.39.20
euvd authelia_4_38_0 fix: 4.39.20

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 3 packages in go, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Authelia is an open-source authentication and authorization proxy written in Go (CPE: pkg:go/github.com_authelia_authelia_v4). The vulnerability is rooted in CWE-178 (Improper Handling of Case Sensitivity): LDAP directory services are inherently case-insensitive for bind operations, so 'john', 'John', and 'JOHN' resolve to the same directory account. However, Authelia's regulation subsystem - responsible for tracking failed login attempts and enforcing account bans - performs SQL lookups against its own database using the raw username string as supplied in the HTTP Authorization header. On case-sensitive database collations (e.g., PostgreSQL or MySQL without the UTF8MB4_unicode_ci collation Authelia recommends), each casing variant is stored and queried as a distinct identity, giving each its own independent ban counter. The affected code path is the authz verification endpoint's Basic Auth handler; the primary first-factor endpoint (/api/firstfactor) is not affected. The fix (commit b8985b57) refactors basic auth handling to canonicalize usernames and introduces a timing attack delay (NewTimingAttackDelay with a 2-second minimum) to further harden the authentication flow.

Know when Nginx gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (https://github.com/authelia/authelia) PRIMARY 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

Primary rating from Vendor (https://github.com/authelia/authelia) · only source for this CVE.

CVSS VectorVendor: https://github.com/authelia/authelia

Attack Vector
Network
Attack Complexity
High
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

1
CVSS changed
Jun 19, 2026 - 21:22 NVD
2.9 (LOW)

DescriptionCVE.org

Impact

CVSSv4 Baseline Score: Moderate 6.3

CVSSv4 Weighted Score: Low 2.9

The full CVSSv4 Vector for this vulnerability is:

> 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

CVSSv3.1 Baseline Score: Low 3.7

CVSSv3.1 Overall Score: Medium 4.0

The full CVSSv3.1 Vector equivalent for this vulnerability is:

> 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

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

Due to lack of canonicalization of the basic auth username, the effectiveness of the brute force mechanism when using basic auth is partially degraded.

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

Details

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.

Notable conditions or unaffected configurations:

  1. The first factor login endpoint (/api/firstfactor) is not affected
  2. The LDAP authentication backend must be in use.
  3. If the underlying database is case insensitive (as it should be with the collation we use for MySQL) it is not affected
  4. Administrators using the recently added IP regulation mode are not affected
  5. Administrators using a third-party tool such as CrowdSec or fail2ban are not affected
  6. Administrators that have disabled basic auth are not affected

Patches

Upgrade to 4.39.20.

Commit: https://github.com/authelia/authelia/commit/b8985b57b70acdff8f204ed426ff619e763461ad

Workarounds

Explicitly disable the basic auth mechanism.

Caddy, HAProxy, and Traefik
yaml
server:
  endpoints:
    authz:
      forward-auth:
        implementation: 'ForwardAuth'
        authn_strategies:
          - name: 'CookieSession'
nginx
yaml
server:
  endpoints:
    authz:
      auth-request:
        implementation: 'AuthRequest'
        authn_strategies:
          - name: 'CookieSession'
Envoy
yaml
server:
  endpoints:
    authz:
      ext-authz:
        implementation: 'ExtAuthz'
        authn_strategies:
          - name: 'CookieSession'

References

N/A

Threat Intelligence Overview

EPSS Score
0.1%
Top 78% exploitable
Threat Intel
1
1 source
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity LOW
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Low

Priority Score

14
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +14
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

More in Nginx

View all
CVE-2023-44487 HIGH POC
7.5 Oct 10

Denial of service against HTTP/2 server implementations allows remote unauthenticated attackers to exhaust server resour

CVE-2013-2028 HIGH POC
7.5 Jul 20

The ngx_http_parse_chunked function in http/ngx_http_parse.c in nginx 1.3.9 through 1.4.0 allows remote attackers to cau

CVE-2025-1974 CRITICAL POC
9.8 Mar 25

A critical vulnerability in Kubernetes ingress-nginx controller allows unauthenticated attackers with pod network access

CVE-2013-4547 HIGH POC
7.5 Nov 23

nginx 0.8.41 through 1.4.3 and 1.5.x before 1.5.7 allows remote attackers to bypass intended restrictions via an unescap

CVE-2023-50919 CRITICAL POC
9.8 Jan 12

An issue was discovered on GL.iNet devices before version 4.5.0. Rated critical severity (CVSS 9.8), this vulnerability

CVE-2017-7529 HIGH
7.5 Jul 13

Nginx versions since 0.5.6 up to and including 1.13.2 are vulnerable to integer overflow vulnerability in nginx range fi

CVE-2016-0742 HIGH
7.5 Feb 15

The resolver in nginx before 1.8.1 and 1.9.x before 1.9.10 allows remote attackers to cause a denial of service (invalid

CVE-2025-1098 HIGH POC
8.8 Mar 25

Kubernetes ingress-nginx contains a configuration injection vulnerability via the mirror-target and mirror-host Ingress

CVE-2026-123633 CRITICAL POC
9.2 Nov 18

Use-after-free in NGINX Plus and NGINX Open Source can crash a worker process handling HTTP/2-proxied requests and, if A

CVE-2026-123007 CRITICAL POC
9.2 Nov 18

Heap buffer overflow in NGINX Plus and NGINX Open Source when HTTP/2 is enabled lets remote, unauthenticated attackers c

CVE-2024-49368 HIGH POC
8.9 Oct 21

Nginx UI is a web user interface for the Nginx web server. Rated high severity (CVSS 8.9), this vulnerability is remotel

CVE-2025-24514 HIGH POC
8.8 Mar 25

A security issue was discovered in ingress-nginx https://github.com/kubernetes/ingress-nginx where the `auth-url` Ingres

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy