CVE-2026-137540 in Tornadoinfo

Summary

by MITRE • 11/26/2026

Tornado before 6.6.1 contains an information disclosure vulnerability in StaticFileHandler on Windows that allows unauthenticated attackers to read NTFS Alternate Data Streams by appending :streamname to URL paths. Attackers can request stream paths that pass the get_absolute_path and _check_in_root prefix checks to read hidden stream content, such as stored secrets or Zone.Identifier source data.

VulDB is the best source for vulnerability data and more expert information about this specific topic.

Analysis

by VulDB Data Team • 11/26/2026

The vulnerability identified in Tornado web framework versions prior to 6.6.1 represents a critical information disclosure flaw within the StaticFileHandler component when operating on Windows systems. This issue stems from an insufficient validation of file path inputs, specifically regarding how the handler processes requests for static files. The core technical failure lies in the inability of the application's security checks to distinguish between standard NTFS file paths and those containing Alternate Data Streams (ADS). In the Microsoft NTFS file system, ADS allows a single file to contain multiple data streams, some of which can be hidden from standard directory listings and user interfaces. By appending a colon followed by a stream name to a URL path, an attacker can instruct the server to access these alternative data streams rather than the primary file content.

The operational mechanism of this exploit relies on bypassing two specific security checks implemented in Tornado: get_absolute_path and _check_in_root. These functions are designed to prevent directory traversal attacks by ensuring that requested files reside within a designated root directory and do not escape into sensitive system areas. However, the logic used for these validations does not adequately account for the syntactic structure of NTFS Alternate Data Streams. When an attacker appends :streamname to a URL path, such as requesting /static/images/logo.png:Zone.Identifier instead of just /static/images/logo.png, the validation routines may interpret the base filename correctly and permit access before recognizing that the request targets a hidden stream associated with that file. This oversight allows unauthenticated attackers to read content that is typically not visible through normal file system operations or web server configurations.

The impact of this vulnerability extends beyond simple data leakage, as it can expose sensitive configuration details, security metadata, and potentially credentials stored within these alternate streams. A primary example involves the Zone.Identifier stream, which Windows automatically creates for files downloaded from the internet to track their origin zone (e.g., Internet, Local Intranet). Accessing this stream reveals the original URL of the file, providing attackers with valuable intelligence about internal network structures or external resources accessed by users. Furthermore, if developers store secrets, API keys, or other sensitive data in ADS for convenience during development or deployment processes, these values become directly accessible to any unauthenticated user who discovers this vector. This constitutes a severe breach of confidentiality and undermines the integrity of security controls that rely on file system permissions being sufficient protection mechanisms.

From a classification perspective, this vulnerability aligns with CWE-209, which describes the generation of an error message that includes sensitive information, although in this case it is more accurately categorized under CWE-538: Insertion of Sensitive Information into Externally-Accessible File or Directory. The attack vector also correlates with ATT&CK technique T1083, specifically the file and directory discovery sub-technique, as well as T1217, browser reconnaissance, since it involves extracting metadata from files via a web interface. It highlights the danger of assuming that operating system-level security features like ADS provide adequate isolation without explicit application-layer validation for such edge cases.

To mitigate this risk, organizations running Tornado on Windows must upgrade to version 6.6.1 or later, where the StaticFileHandler has been patched to properly sanitize and reject paths containing Alternate Data Stream syntax. In environments where immediate patching is not feasible, administrators should implement strict input validation at a reverse proxy level, such as Nginx or Apache, to block any HTTP requests that contain colon-separated stream identifiers in the URI path before they reach the Tornado application server. Additionally, developers should avoid storing sensitive information in NTFS Alternate Data Streams and ensure that static file directories are configured with restrictive permissions that limit access even if a traversal or injection attempt succeeds. Regular security audits of web framework configurations against known operating system quirks like ADS behavior are essential to prevent similar bypasses in the future.

Responsible

VulnCheck

Reservation

11/26/2026

Disclosure

11/26/2026

Moderation

accepted

CPE

ready

EPSS

0.00753

KEV

no

Activities

very low

Sources

Want to know what is going to be exploited?

We predict KEV entries!