CVE Program
CNA-CVE-2026-73270
httpd mod_auth directory protection bypassed by request path casing on case-insensitive filesystems
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Erlang | otp | From 17.0 before 27.3.4.17 (fixed in 27.3.4.17) From 28 before 28.5.0.6 (fixed in 28.5.0.6) From 29 before 29.0.6 (fixed in 29.0.6) |
References
- https://www.cve.org/CVERecord?id=CVE-2026-73270
- https://github.com/erlang/otp/security/advisories/GHSA-mh78-93cr-jx8f
- https://cna.erlef.org/cves/CVE-2026-73270.html
- https://osv.dev/vulnerability/EEF-CVE-2026-73270
- https://www.erlang.org/doc/system/versions.html#order-of-versions
- https://github.com/erlang/otp/commit/9641944a2efbf55bea760f8ff7ba777fe3a0961c
- https://github.com/erlang/otp/commit/bac19eb3dbd96cc49b6d8cabc1c04248bf8c79f6
- https://github.com/erlang/otp/commit/d8878dec0ececc2eab18e47bb18b472f224ca633