CVE-2026-66835

Description

A flaw was found in Erlang/OTP inets httpd. A remote unauthenticated attacker can exploit a path equivalence vulnerability to bypass directory protection. By adding an extra slash to the request path, the attacker can read files within a mod_auth protected directory. This occurs because the server's path normalization does not collapse doubled slashes, leading to a mismatch in how the path is processed for authentication versus file access, ultimately resulting in information disclosure.

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.

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.

Common Vulnerability Scoring System (CVSS) Score Details

Info alert:Important note

CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authority (CNA) source for its products and services (see Red Hat classifications).

CVSS v3 Score Breakdown

Red HatNVDcve.org
Base Score7.5N/AN/A
Attack VectorNetworkN/AN/A
Attack ComplexityLowN/AN/A
Privileges RequiredNoneN/AN/A
User InteractionNoneN/AN/A
ScopeUnchangedN/AN/A
ConfidentialityHighN/AN/A
Integrity ImpactNoneN/AN/A
Availability ImpactNoneN/AN/A

Vector

Red Hat: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Understanding the Weakness (CWE)

Confidentiality,Integrity,Access Control

Technical Impact: Read Files or Directories; Modify Files or Directories; Bypass Protection Mechanism

An attacker may be able to traverse the file system to unintended locations and read or overwrite the contents of unexpected files. If the files are used for a security mechanism than an attacker may be able to bypass the mechanism.

Frequently Asked Questions

Want to get errata notifications? Sign up here.