ZeroHour

CVE-2026-73270

niche

Case-sensitivity auth bypass in Erlang/OTP inets httpd mod_auth

CVSS 4.0
8.2 high
EPSS
<1%p50
Published
()
Modified
AI analysis

CVE-2026-73270 is an improper handling of case sensitivity flaw (CWE-178) in the mod_auth component of the inets httpd web server shipped with Erlang/OTP. mod_auth:secret_path/3 checks whether a requested path falls inside a protected directory using re:run/3 without the caseless option, so a request whose path casing differs from the configured directory (for example /secret/file when /Secret is configured) is treated as unprotected, while a case-insensitive filesystem resolves it to the same files that httpd then serves without issuing an authentication challenge. A remote, unauthenticated attacker can therefore read any file inside a mod_auth-protected directory, potentially exposing credentials, configuration, or other sensitive data stored there. Only deployments on case-insensitive filesystems (such as Windows or macOS, or case-insensitive mounts) are affected; hosts on case-sensitive filesystems, which is the typical Linux/ext4 case, reject the mismatched casing and are not vulnerable. No exploitation is known at this time: there is no public proof of concept, the issue is not in CISA KEV, and EPSS estimates only a 0.7% probability of exploitation in the next 30 days.

What to do: Upgrade to OTP 27.3.4.17, OTP 28.5.0.6, or OTP 29.0.6 as appropriate for your branch (corresponding to inets 9.3.2.7, 9.6.2.3, or 9.7.2). As interim mitigations, ensure the casing configured in mod_auth matches the casing used in requests and by the filesystem, and restrict network access to httpd instances. Hosts on case-sensitive filesystems (typical Linux/ext4) are not vulnerable but should still be patched to maintain a supported, fixed version.

Affected
Ericsson (Erlang/OTP) Erlang/OTP inets httpd (mod_auth)OTP 17.0 up to but excluding OTP 27.3.4.17 (inets 5.10 up to but excluding 9.3.2.7); whether OTP before 17.0 / inets before 5.10 is affected is unknown
Ericsson (Erlang/OTP) Erlang/OTP inets httpd (mod_auth)OTP 28.0 up to but excluding OTP 28.5.0.6 (inets 9.4 up to but excluding 9.6.2.3)
Ericsson (Erlang/OTP) Erlang/OTP inets httpd (mod_auth)OTP 29.0 up to but excluding OTP 29.0.6 (inets 9.7 up to but excluding 9.7.2)
Estimated exposure
nichelikely on the order of a few thousand httpd deployments at most, of which only those on case-insensitive filesystems are vulnerable — inets httpd is a niche HTTP server used mainly in embedded products and internal or management interfaces within the far larger Erlang/OTP install base, and only the subset running on case-insensitive filesystems (Windows/macOS or special…

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

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.

Weakness
CWE-178
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

In the news

No ingested article mentions this CVE yet.