Read the docs
TI-2020-06214 Aliases CVE-2020-7694GHSA-33c7-2mpw-hg34

Log injection in uvicorn

Priority LOW 36CWE-116Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Code execution
Confidentiality · integrity · availability
None · High · None
Fix status
Fixed

Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-94.

Summary

This affects all versions of package uvicorn. The request logger provided by the package is vulnerable to ASNI escape sequence injection. Whenever any HTTP request is received, the default behaviour of uvicorn is to log its details to either the console or a log file. When attackers request crafted URLs with percent-encoded escape sequences, the logging component will log the URL after it's been processed with urllib.parse.unquote, therefore converting any percent-encoded characters into their single-character equivalent, which can have special meaning in terminal emulators. By requesting URLs with crafted paths, attackers can: * Pollute uvicorn's access logs, therefore jeopardising the integrity of such files. * Use ANSI sequence codes to attempt to interact with the terminal emulator that's displaying the logs (either in real time or from a file).

Why it matters now

EPSS 0.01357 71st percentileScored 2026-11-07
Fix Fixed uvicorn (PyPI): 0.11.7

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
—uvicornall versions—No fix listedCNA
—uvicorn (PyPI)before 0.11.70.11.7Patch availableGHSA-33c7-2mpw-hg34
  • uvicorn Vendor— Affected all versions Fixed in — No fix listed CNA
  • uvicorn (PyPI) Vendor— Affected before 0.11.7 Fixed in 0.11.7 Patch available GHSA-33c7-2mpw-hg34

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:encode:uvicorn:-:*:*:*:*:*:*:*not specified by NVDVulnerableencode
  • cpe:2.3:a:encode:uvicorn:-:*:*:*:*:*:*:* Versions not specified by NVD Vulnerable ·encode

Remediation

  • Fix · GHSA-33c7-2mpw-hg34 uvicorn (PyPI) Fixed in 0.11.7 Advisory →

Fixed in the same release

Records fixed by the same vendor advisory or release, as the CNA lists them.

  • Release ·

    uvicorn unspecified

    2 records Highest priority Priority LOW 2 LOW

    Other records, highest priority first

Vendor assessments

Red Hat

Red Hat's page for this CVE →

Not affected: 1 product
  • Red Hat

Timeline

  1. 2026-10-02 Threatist record created from CVE-2020-7694
  2. 2026-10-03 Alias added: GHSA-33c7-2mpw-hg34

References

  • TI-2020-06215 HTTP response splitting in uvicorn CVSS 3.1MEDIUM 5.3

Sources