Intel

AIKIDO-2026-443888

tornado is vulnerable to Path Traversal

Path TraversalGHSA-c2m8-h5v5-343r Published Yesterday

72

High Risk

This Affects:

PYTHONtornado
0.2 - 6.5.8
Fixed in 6.5.9
Are you affected? Scan for Free

TL;DR

StaticFileHandler follows symlinks found under the static root without checking that the link target still resides inside that root. A symlink placed inside the static directory that points elsewhere lets a request read files outside the intended static root, disclosing file contents an operator did not intend to serve. The fix resolves and validates each symlink target against the static root and adds an allowed_symlink_directory argument for applications that still need the previous behavior for a specific parent directory.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and serve files with StaticFileHandler from a static root directory that contains a symlink pointing outside that root.

Background info

tornado is vulnerable to Path Traversal in versions 0.2 - 6.5.8.

How to fix this

Upgrade the tornado library to the patch version.

Are You Affected?

Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.

Free. No credit card required.

Aikido Platform