cve.bz

CVE-2026-66835 httpd mod_auth directory protection bypassed by a doubled slash in the request path

8.2 highEPSS 1.0%Fix available

High (8.2) in erlang otp. EPSS 1.0% estimated probability of exploitation activity in the next 30 days.

On this page
Path Equivalence vulnerability in Erlang/OTP inets httpd allows a remote unauthenticated attacker to read files inside a mod_auth protected directory by prefixing the request path with an extra slash. httpd_request:validate_uri/1 normalises the request URI with uri_string:normalize/1, which performs RFC 3986 dot-segment removal but does not collapse empty path segments, so a doubled slash survives. mod_alias:real_name/3 concatenates the document root with that URI, and mod_auth:secret_path/3 then decides whether the result lies inside a protected directory block by running the configured directory path as an unanchored regular expression against it. The doubled slash breaks the contiguous substring the regex needs, so the request is treated as unprotected and no authentication challenge is issued, while mod_get opens the same path and the operating system collapses the doubled slash and returns the protected file. The same path mismatch also evades the per-path accounting in mod_security. 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.

Severity

CVSS 4.0

8.2 high
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
EPSS
1.0% (unchanged from 1.0% a week ago; 1.0% 30 days ago) estimated probability of exploitation activity in the next 30 days; 63rd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-09-01. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-50 Path Equivalence: '//multiple/leading/slash'
Published
Modified
Assigned by
EEF (CNA)
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

  • Erlang OTP: fixed in 9.3.2.7
  • Erlang OTP: fixed in 9.6.2.3
  • Erlang OTP: fixed in 9.7.2
  • Erlang OTP: fixed in 27.3.4.17
  • Erlang OTP: fixed in 28.5.0.6
  • Erlang OTP: fixed in 29.0.6
  • Debian, Ubuntu, Red Hat, Azure Linux: fixed package versions per release

Ask an AI about this CVE

Show the promptExplain CVE-2026-66835 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-66835?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-66835?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-66835 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Erlang OTP5.10 and later
Erlang OTP17.0 and later

Fixed in

ProductFixed in
Erlang OTP9.3.2.7
Erlang OTP9.6.2.3
Erlang OTP9.7.2
Erlang OTP27.3.4.17
Erlang OTP28.5.0.6
Erlang OTP29.0.6

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12erlangno fix listedDEBIAN-CVE-2026-66835
Debian13erlang1:27.3.4.1+dfsg-1+deb13u4DEBIAN-CVE-2026-66835 DSA-6580-1
Debian14erlang1:29.0.6+dfsg-1DEBIAN-CVE-2026-66835
Ubuntu22.04:LTSerlang1:24.2.1+dfsg-1ubuntu0.7UBUNTU-CVE-2026-66835 USN-8827-1
Ubuntu24.04:LTSerlang1:25.3.2.8+dfsg-1ubuntu4.7UBUNTU-CVE-2026-66835 USN-8827-1
Ubuntu26.04:LTSerlang1:27.3.4.6+dfsg-1ubuntu0.1UBUNTU-CVE-2026-66835 USN-8827-1
UbuntuPro:14.04:LTSerlang1:16.b.3-dfsg-1ubuntu2.2+esm2UBUNTU-CVE-2026-66835 USN-8827-1
UbuntuPro:16.04:LTSerlang1:18.3-dfsg-1ubuntu3.1+esm3UBUNTU-CVE-2026-66835 USN-8827-1
UbuntuPro:18.04:LTSerlang1:20.2.2+dfsg-1ubuntu2+esm3UBUNTU-CVE-2026-66835 USN-8827-1
UbuntuPro:20.04:LTSerlang1:22.2.7+dfsg-1ubuntu0.5+esm2UBUNTU-CVE-2026-66835 USN-8827-1
Red Hathummingbird:1erlang27, erlang27-et, erlang27-wx and 36 more0:27.3.4.17-0.1.hum1RHSA-2026:62531
Azure Linux3erlang26.2.5.21-6AZL-98463

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat.

Red Hat

Red Hat rates this Important.

Red Hat's statement

Red Hat has evaluated this vulnerability as having an Important severity rating because remote, unauthenticated attackers can bypass access controls on restricted resources without requiring user interaction or specialized privileges. The flaw specifically exposes Erlang environments running the internal inets httpd daemon when configured with mod_auth directory-level access restrictions. While full confidentiality loss can occur for protected static files within configured directories, standard Red Hat deployments rarely expose this embedded server directly to untrusted networks, and the issue does not permit modification of system state or denial of service.

Red Hat's mitigation

To mitigate this issue, restrict network access to the Erlang/OTP inets httpd instance to trusted clients only. Alternatively, deploy a reverse proxy in front of the inets httpd that normalizes doubled slashes in request paths before forwarding, such as configuring nginx with its default merge_slashes directive. If inets httpd is not required, consider disabling the service. If the service is active, ensure that sensitive content is served through explicitly authenticated handlers rather than relying solely on mod_auth directory-block matching.

ProductPackageStateAdvisory
Red Hat Hardened Imageserlang27-main-27.3.4.17-0.1.hum1Fixed 2026-09-02RHSA-2026:62531

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-66835.

References

Check your stackJSON