PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-66835 Erlang CVE debrief

A 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. This issue arises from the httpd_request:validate_uri/1 function not collapsing empty path segments, which enables an attacker to bypass authentication and access protected files. The vulnerability 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.

Vendor
Erlang
Product
OTP
CVSS
HIGH 8.2
CISA KEV
Not listed in stored evidence
Original CVE published
2026-09-01
Original CVE updated
2026-09-08
Advisory published
2026-09-01
Advisory updated
2026-09-08

Who should care

Defenders responsible for Erlang/OTP inets httpd deployments, particularly those using mod_auth protected directories, should assess exposure and prioritize patching. This includes reviewing the affected OTP versions and applying patches or mitigations as necessary. Additionally, defenders should monitor for suspicious requests and review compensating controls for exposed systems.

Why it matters

CVE-2026-66835 is a Path Equivalence vulnerability in Erlang/OTP inets httpd that allows remote unauthenticated attackers to read files inside mod_auth protected directories. Defenders should prioritize verifying and applying patches, assessing exposure, and monitoring for suspicious requests.

  • Read access to protected files
  • Potential data breaches due to unauthorized file access
  • Need for verification of affected versions and patch application
  • Possible impact on systems using OTP versions prior to OTP 17.0

Technical summary

The httpd_request:validate_uri/1 function normalizes the request URI but does not collapse empty path segments, allowing a doubled slash to survive. This breaks the contiguous substring needed for authentication, allowing an attacker to read protected files. The vulnerability is caused by the interaction between uri_string:normalize/1 and mod_alias:real_name/3, which concatenates the document root with the URI. The same path mismatch also evades the per-path accounting in mod_security. The 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.

Defensive priority

Defenders should prioritize verifying and applying patches for affected OTP versions, specifically OTP 17.0 to OTP 27.3.4.17, OTP 28.0 to OTP 28.5.0.6, and OTP 29.0 to OTP 29.0.6, and assess exposure in their environments.

Recommended defensive actions

  • Verify and apply patches for affected OTP versions
  • Assess exposure in environments using affected OTP versions
  • Monitor for suspicious requests with extra slashes in paths
  • Review compensating controls for exposed systems while remediation is scheduled and verified
  • Check relevant monitoring, detection, and logs for exposed assets that need extra review
  • Track exceptions, retest remediated assets, and close the item only after evidence is documented
  • Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up

Evidence notes

The vulnerability is caused by the httpd_request:validate_uri/1 function not collapsing empty path segments, allowing a doubled slash to survive and break the contiguous substring needed for authentication.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-66835 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-66835

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-66835 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-66835

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

  • Source reference

    Unverified legacy reference

    URL: https://cna.erlef.org/cves/CVE-2026-66835.html

    6b3ad84c-e1a6-4bf7-a703-f496b71e49db

  • Source reference

    Unverified legacy reference

    URL: https://github.com/erlang/otp/commit/9641944a2efbf55bea760f8ff7ba777fe3a0961c

    6b3ad84c-e1a6-4bf7-a703-f496b71e49db

  • Source reference

    Unverified legacy reference

    URL: https://github.com/erlang/otp/commit/bac19eb3dbd96cc49b6d8cabc1c04248bf8c79f6

    6b3ad84c-e1a6-4bf7-a703-f496b71e49db

  • Source reference

    Unverified legacy reference

    URL: https://github.com/erlang/otp/commit/d8878dec0ececc2eab18e47bb18b472f224ca633

    6b3ad84c-e1a6-4bf7-a703-f496b71e49db

  • Source reference

    Unverified legacy reference

    URL: https://github.com/erlang/otp/security/advisories/GHSA-r4vv-vc2c-2fw6

    6b3ad84c-e1a6-4bf7-a703-f496b71e49db

  • Source reference

    Unverified legacy reference

    URL: https://osv.dev/vulnerability/EEF-CVE-2026-66835

    6b3ad84c-e1a6-4bf7-a703-f496b71e49db

  • Source reference

    Unverified legacy reference

    URL: https://www.erlang.org/doc/system/versions.html

    6b3ad84c-e1a6-4bf7-a703-f496b71e49db

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.