Live threats

All CVEs / Twisted

CVE-2022-21712Twisted

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
1.2%
probability of exploitation in 30 days · percentile 67
Auth required
No
Published
Feb 7, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-200, CWE-346
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

What happens

twisted is an event-driven networking engine written in Python. In affected versions twisted exposes cookies and authorization headers when following cross-origin redirects. This issue is present in the `twited.web.RedirectAgent` and `twisted.web. BrowserLikeRedirectAgent` functions. Users are advised to upgrade. There are no known workarounds.

Original NVD text.

What to do

  1. Apply the vendor's security update for Twisted.
  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 twisted ≥ 11.1.0 < 22.1.0 22.1.0 pip install "twisted>=22.1.0"
PyPI twisted ≥ 11.1.0 < 22.1.0 22.1.0 pip install "twisted>=22.1.0"

Per OSV / GitHub Advisories (GHSA-92x2-jw7w-xvvx, PYSEC-2022-27). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
twistedtwisted≥ 11.1.0 < 22.1.0
debiandebian_linux9.0
fedoraprojectfedora35
fedoraprojectfedora36

Official sources

References

Links published by the sources. Open them with care.