Advisory

GHSA-78cv-mqj4-43f7

Also known as: CVE-2026-35536, GHSA-fqwm-6jpj-5wxc, PYSEC-2026-2287

Summary

Tornado has incomplete validation of cookie attributes

Details

Values passed to the domain, path, and samesite arguments of RequestHandler.set_cookie were not completely validated in versions of Tornado prior to 6.5.5. In particular, semicolons would be allowed, which could be used to inject attacker-controlled values for other cookie attributes.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2026-03-11 22:17 UTC
Modified
2026-09-10 03:50 UTC

Affected packages and fixes

tornado

PyPI · All systems

Affected

  • introduced 0, fixed 6.5.5 (ecosystem)

Fixed versions

6.5.5

Fix

  • Fixed version 6.5.5
    pip install --upgrade tornado==6.5.5

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences