Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. tornado
  4. ›
  5. GHSA-c2m8-h5v5-343r

GHSA-c2m8-h5v5-343r: Tornado: StaticFileHandler follows symlinks outside static root (path traversal)

September 30, 2026

StaticFileHandler allows an unauthenticated attacker to read arbitrary files from the server’s filesystem by requesting a path that resolves to a symbolic link placed inside the static root directory. Any application that serves user-uploadable content, or whose static directory is populated by a build/deploy pipeline that creates symlinks (e.g. npm link, webpack, Docker volume mounts, CDN sync tools), is affected. An attacker who can trigger the creation of a symlink pointing outside the static root—or exploit one that already exists—can retrieve sensitive files such as /etc/passwd, private keys, configuration files, or application secrets.

References

  • github.com/advisories/GHSA-c2m8-h5v5-343r
  • github.com/tornadoweb/tornado/commit/437ab5f76565403b3403438d2e555d11f8128d32
  • github.com/tornadoweb/tornado/commit/f9f50b8bab265a2abf9f2415a3d2da6264a5450b
  • github.com/tornadoweb/tornado/pull/3719
  • github.com/tornadoweb/tornado/releases/tag/v6.5.9
  • github.com/tornadoweb/tornado/security/advisories/GHSA-c2m8-h5v5-343r

Code Behaviors & Features

Detect and mitigate GHSA-c2m8-h5v5-343r with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 6.5.9

Fixed versions

  • 6.5.9

Solution

Upgrade to version 6.5.9 or above.

Impact 5.9 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-59: Improper Link Resolution Before File Access ('Link Following')

Source file

pypi/tornado/GHSA-c2m8-h5v5-343r.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Thu, 01 Oct 2026 12:20:31 +0000.