CVE-2026-73270

httpd mod_auth directory protection bypassed by request path casing on case-insensitive filesystems

Published Sep 1, 2026 CVSS 4.0 · 8.2 High EPSS < 1% KEV · Not listed
Description
Improper Handling of Case Sensitivity vulnerability in Erlang/OTP inets httpd allows a remote unauthenticated attacker to read files inside a mod_auth protected directory by requesting them with different casing, on deployments whose filesystem is case-insensitive.

mod_auth:secret_path/3 decides whether a resolved filesystem path lies inside a protected directory block by running the configured directory path through re:run/3 without the caseless option. A request for /secret/file against a directory configured as /Secret therefore does not match, so the request is treated as unprotected and no authentication challenge is issued, while the filesystem resolves the differently cased path to the same file and mod_get serves it. Deployments on case-sensitive filesystems are unaffected, because there the filesystem itself rejects the mismatched casing.

This issue affects OTP from OTP 17.0 before OTP 27.3.4.17, OTP 28.5.0.6, and OTP 29.0.6, corresponding to inets from 5.10 before 9.3.2.7, 9.6.2.3, and 9.7.2. Whether OTP before OTP 17.0, corresponding to inets before 5.10, is affected is unknown.

Analysis

AI-generated

Technical impact

Improper handling of case sensitivity in Erlang/OTP’s inets httpd allows a remote unauthenticated attacker to read files inside a mod_auth protected directory by requesting them with different casing on case‑insensitive filesystems. The vulnerability is identified as CWE‑178, indicating improper case sensitivity handling. The secret_path function checks whether a resolved filesystem path lies inside a protected directory by matching the configured path with a regular expression that does not use caseless matching. Therefore, a request such as /secret/file against a directory configured as /Secret does not match, bypassing the authentication challenge. The operating system resolves the differently cased path to the same file, and the server serves it, enabling the attacker to read protected files without credentials.

Affected Systems

Erlang/OTP versions from 17.0 up to but not including 27.3.4.17, OTP 28.5.0.6, and OTP 29.0.6 are affected, corresponding to inets 5.10 before 9.3.2.7, 9.6.2.3, and 9.7.2. Versions earlier than OTP 17.0 (inets before 5.10) may also be vulnerable, but this is currently unknown. Deployments on case‑insensitive filesystems are susceptible; those on case‑sensitive filesystems are not affected.

Risk and Exploitability

With a CVSS score of 8.2 the vulnerability is classified as high severity. The EPSS score indicates a very low but non‑zero exploitation probability (<1 %) and the vulnerability is not listed in the CISA KEV catalog, suggesting a lower but non‑negligible risk. Attackers need only issue HTTP requests to the host; no authentication is required. The flaw is exploitable remotely via standard web traffic, allowing any client to read protected files on incorrectly configured Erlang/OTP web applications that store protected directories on case‑insensitive filesystems.

Remediation

Vendor Workaround

* Host the document root on a case-sensitive filesystem, where the mismatched casing does not resolve to the protected file. * Place a reverse proxy in front of httpd that performs its own case-insensitive path matching for the protected paths, or that normalises request path casing before forwarding. * Restrict access to the server to trusted clients where the deployment allows it.


OpenCVE Recommended Actions

  • Upgrade Erlang/OTP to a version that includes the fix (OTP 27.3.4.17, 28.5.0.6, 29.0.6, or later).
  • If upgrading immediately is not possible, host the document root on a case‑sensitive filesystem so that mismatched casing does not resolve to the protected file.
  • Alternatively, place a reverse proxy in front of httpd that normalizes request path casing before forwarding or performs its own case‑insensitive matching for protected paths.

Generated by OpenCVE AI on November 15, 2026 at 11:40 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DSA Debian DSA DSA-6580-1 erlang security update
Ubuntu USN Ubuntu USN USN-8827-1 Erlang vulnerabilities
History
Type Values Removed Values Added
Description Improper Handling of Case Sensitivity vulnerability in Erlang/OTP inets httpd allows a remote unauthenticated attacker to read files inside a mod_auth protected directory by requesting them with different casing, on deployments whose filesystem is case-insensitive. mod_auth:secret_path/3 decides whether a resolved filesystem path lies inside a protected directory block by running the configured directory path through re:run/3 without the caseless option. A request for /secret/file against a directory configured as /Secret therefore does not match, so the request is treated as unprotected and no authentication challenge is issued, while the filesystem resolves the differently cased path to the same file and mod_get serves it. Deployments on case-sensitive filesystems are unaffected, because there the filesystem itself rejects the mismatched casing. This issue affects OTP from OTP 17.0 before OTP 27.3.4.17, from OTP 28.0 before OTP 28.5.0.6, and from OTP 29.0 before OTP 29.0.6, corresponding to inets from 5.10 before 9.3.2.7, from 9.4 before 9.6.2.3, and from 9.7 before 9.7.2. Whether OTP before OTP 17.0, corresponding to inets before 5.10, is affected is unknown. Improper Handling of Case Sensitivity vulnerability in Erlang/OTP inets httpd allows a remote unauthenticated attacker to read files inside a mod_auth protected directory by requesting them with different casing, on deployments whose filesystem is case-insensitive. mod_auth:secret_path/3 decides whether a resolved filesystem path lies inside a protected directory block by running the configured directory path through re:run/3 without the caseless option. A request for /secret/file against a directory configured as /Secret therefore does not match, so the request is treated as unprotected and no authentication challenge is issued, while the filesystem resolves the differently cased path to the same file and mod_get serves it. Deployments on case-sensitive filesystems are unaffected, because there the filesystem itself rejects the mismatched casing. This issue affects OTP from OTP 17.0 before OTP 27.3.4.17, OTP 28.5.0.6, and OTP 29.0.6, corresponding to inets from 5.10 before 9.3.2.7, 9.6.2.3, and 9.7.2. Whether OTP before OTP 17.0, corresponding to inets before 5.10, is affected is unknown.
Type Values Removed Values Added
First Time appeared Erlang otp
Vendors & Products Erlang otp
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description Improper Handling of Case Sensitivity vulnerability in Erlang/OTP inets httpd allows a remote unauthenticated attacker to read files inside a mod_auth protected directory by requesting them with different casing, on deployments whose filesystem is case-insensitive. mod_auth:secret_path/3 decides whether a resolved filesystem path lies inside a protected directory block by running the configured directory path through re:run/3 without the caseless option. A request for /secret/file against a directory configured as /Secret therefore does not match, so the request is treated as unprotected and no authentication challenge is issued, while the filesystem resolves the differently cased path to the same file and mod_get serves it. Deployments on case-sensitive filesystems are unaffected, because there the filesystem itself rejects the mismatched casing. This issue affects OTP from OTP 17.0 before OTP 27.3.4.17, from OTP 28.0 before OTP 28.5.0.6, and from OTP 29.0 before OTP 29.0.6, corresponding to inets from 5.10 before 9.3.2.7, from 9.4 before 9.6.2.3, and from 9.7 before 9.7.2. Whether OTP before OTP 17.0, corresponding to inets before 5.10, is affected is unknown.
Title httpd mod_auth directory protection bypassed by request path casing on case-insensitive filesystems
First Time appeared Erlang
Erlang erlang\/otp
Weaknesses CWE-178
CPEs cpe:2.3:a:erlang:erlang\/otp:*:*:*:*:*:*:*:*
Vendors & Products Erlang
Erlang erlang\/otp
References
Metrics cvssV4_0

{'score': 8.2, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-178

    Improper Handling of Case Sensitivity

Sources

Status
PUBLISHED
Assigner
EEF
Published
Updated
Nov 20, 2026, 6:04 AM
Reserved
Aug 17, 2026, 11:15 AM
Status
Deferred
Published
Sep 1, 2026, 3:17 PM
Modified
Nov 20, 2026, 6:17 AM