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.
Published: 2026-09-01
Score: 8.2 High
EPSS: < 1% Very Low
KEV: No
Impact: Remote File Disclosure
Action: Patch Immediately
AI Analysis

Impact

Improper handling of case sensitivity in the Erlang/OTP inets httpd component allows an attacker to bypass directory protection set by mod_auth. A request that differs only in letter casing from the configured protected path does not trigger the authentication check because the matching routine is performed without case‑insensitivity. On a case‑insensitive filesystem, the operating system resolves the mismatched path to the same file, and the web server serves it. The result is that any file located within a protected directory can be read without authentication.

Affected Systems

Erlang/OTP versions before 27.3.4.17, before 28.5.0.6, and before 29.0.6 are affected. The corresponding inets revisions are 5.10 before 9.3.2.7, 9.4 before 9.6.2.3, and 9.7 before 9.7.2. Deployments running OTP 17.0 or later, up to but excluding those thresholds, are potentially impacted if they operate on a case‑insensitive filesystem. The vulnerability is not present on case‑sensitive filesystems.

Risk and Exploitability

With a CVSS score of 8.2 the vulnerability is classified as high severity. Since the EPSS score is not available, the current exploitation probability cannot be quantified, but the lack of any known exploit and absence from the CISA KEV catalog suggest a lower but non‑negligible risk. Attackers need only be able to issue HTTP requests to the host; authentication is not required. The vulnerability is exploitable remotely via standard web traffic and can be triggered on any misconfigured Erlang/OTP web application that places protected directories on a case‑insensitive filesystem.

Generated by OpenCVE AI on September 1, 2026 at 16:45 UTC.

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 newer).
  • 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.
  • For additional protection, restrict access to the server to trusted clients if the deployment allows it.

Generated by OpenCVE AI on September 1, 2026 at 16:45 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 01 Sep 2026 22:00:00 +0000

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'}


Tue, 01 Sep 2026 15:00:00 +0000

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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: EEF

Published:

Updated: 2026-09-08T01:09:49.755Z

Reserved: 2026-08-17T11:15:02.315Z

Link: CVE-2026-73270

cve-icon Vulnrichment

Updated: 2026-09-01T15:58:39.206Z

cve-icon NVD

Status : Deferred

Published: 2026-09-01T15:17:25.103

Modified: 2026-09-08T01:17:53.753

Link: CVE-2026-73270

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-01T17:45:06Z

Weaknesses
  • CWE-178

    Improper Handling of Case Sensitivity