Live threats

All CVEs / Encode

CVE-2020-7695Encode Uvicorn

Medium 5.3 No auth needed

Priority
47
CVSS 3.1
5.3
EPSS
1.4%
probability of exploitation in 30 days · percentile 72
Auth required
No
Published
Jul 27, 2020
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-74
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

What happens

Uvicorn before 0.11.7 is vulnerable to HTTP response splitting. CRLF sequences are not escaped in the value of HTTP headers. Attackers can exploit this to add arbitrary headers to HTTP responses, or even return an arbitrary response body, whenever crafted input is used to construct HTTP headers.

Original NVD text.

What to do

  1. Apply the vendor's security update for Uvicorn.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI uvicorn < 0.11.7 0.11.7 pip install "uvicorn>=0.11.7"
PyPI uvicorn < 0.11.7 0.11.7 pip install "uvicorn>=0.11.7"

Per OSV / GitHub Advisories (GHSA-f97h-2pfx-f59f, PYSEC-2020-151). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
encodeuvicorn< 0.11.7

Official sources

References

Links published by the sources. Open them with care.