# CVE-2022-21712: Cookie and header exposure in twisted

- Priority: **Prioritise**
- Reason: Severe, CVSS 7.5 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 04-12-2026)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2022-02-07 · Modified: 2025-04-23
- Aliases: SUSE-SU-2022:0499-1, SUSE-SU-2022:0734-1, GHSA-92x2-jw7w-xvvx, PYSEC-2022-27, UBUNTU-CVE-2022-21712, DEBIAN-CVE-2022-21712, openSUSE-SU-2022:0499-1, openSUSE-SU-2024:11841-1, ALPINE-CVE-2022-21712
- Record: https://cvemate.com/vulnerability/CVE-2022-21712 · JSON: https://cvemate.com/vulnerability/CVE-2022-21712/json

## Description

```text
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.
```

## Signals

- CVSS: 7.5 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- EPSS: 1.273%, percentile 70.868%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 27)

- alpine py3-twisted (Alpine Linux): \< 22.1.0-r0
- debian twisted (Debian): \< 22.1.0-1
- ubuntu twisted (Ubuntu): All versions (No fix recorded) \| \< 17.9.0-2ubuntu0.3 \| \< 18.9.0-11ubuntu0.20.04.2 \| \< 22.1.0-2ubuntu2
- debian debian\_linux: 9.0
- fedoraproject fedora: 35 \| 36
- PyPI twisted (PyPI): \< af8fe78542a6f2bf2235ccee8158d9c88d31e8e2 \| ≥ 11.1.0, \< 22.1.0
- opensuse python-Twisted&distro=openSUSE Leap 15.3 (openSUSE): \< 19.10.0-3.6.1
- opensuse python-Twisted&distro=openSUSE Tumbleweed (openSUSE): \< 22.1.0-1.1
- suse python-Twisted&distro=HPE Helion OpenStack 8 (SUSE Linux Enterprise): \< 15.2.1-9.11.1
- suse python-Twisted&distro=SUSE Enterprise Storage 7 (SUSE Linux Enterprise): \< 19.10.0-3.6.1
- suse python-Twisted&distro=SUSE Linux Enterprise High Performance Computing 15 SP2-ESPOS (SUSE Linux Enterprise): \< 19.10.0-3.6.1
- suse python-Twisted&distro=SUSE Linux Enterprise High Performance Computing 15 SP2-LTSS (SUSE Linux Enterprise): \< 19.10.0-3.6.1
- suse python-Twisted&distro=SUSE Linux Enterprise Module for Package Hub 15 SP3 (SUSE Linux Enterprise): \< 19.10.0-3.6.1
- suse python-Twisted&distro=SUSE Linux Enterprise Module for Server Applications 15 SP3 (SUSE Linux Enterprise): \< 19.10.0-3.6.1
- suse python-Twisted&distro=SUSE Linux Enterprise Module for Web and Scripting 12 (SUSE Linux Enterprise): \< 15.2.1-9.11.1
- suse python-Twisted&distro=SUSE Linux Enterprise Real Time 15 SP2 (SUSE Linux Enterprise): \< 19.10.0-3.6.1
- suse python-Twisted&distro=SUSE Linux Enterprise Server 15 SP2-BCL (SUSE Linux Enterprise): \< 19.10.0-3.6.1
- suse python-Twisted&distro=SUSE Linux Enterprise Server 15 SP2-LTSS (SUSE Linux Enterprise): \< 19.10.0-3.6.1
- suse python-Twisted&distro=SUSE Linux Enterprise Server for SAP Applications 15 SP2 (SUSE Linux Enterprise): \< 19.10.0-3.6.1
- suse python-Twisted&distro=SUSE Manager Proxy 4.1 (SUSE Linux Enterprise): \< 19.10.0-3.6.1

## References (first 20 of 26)

- <https://github.com/twisted/twisted/security/advisories/GHSA-92x2-jw7w-xvvx>
- <https://github.com/twisted/twisted/commit/af8fe78542a6f2bf2235ccee8158d9c88d31e8e2>
- <https://github.com/twisted/twisted/releases/tag/twisted-22.1.0>
- <https://lists.debian.org/debian-lts-announce/2022/02/msg00021.html>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/GLKHA6WREIVAMBQD7KKWYHPHGGNKMAG6/>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/7U6KYDTOLPICAVSR34G2WRYLFBD2YW5K/>
- <https://security.gentoo.org/glsa/202301-02>
- <https://www.suse.com/support/update/announcement/2022/suse-su-20220499-1/>
- <https://bugzilla.suse.com/1195667>
- <https://www.suse.com/security/cve/CVE-2022-21712>
- <https://www.suse.com/support/update/announcement/2022/suse-su-20220734-1/>
- <https://nvd.nist.gov/vuln/detail/CVE-2022-21712>
- <https://github.com/pypa/advisory-database/tree/main/vulns/twisted/PYSEC-2022-27.yaml>
- <https://github.com/twisted/twisted>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/7U6KYDTOLPICAVSR34G2WRYLFBD2YW5K>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/GLKHA6WREIVAMBQD7KKWYHPHGGNKMAG6>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/7U6KYDTOLPICAVSR34G2WRYLFBD2YW5K>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/GLKHA6WREIVAMBQD7KKWYHPHGGNKMAG6>
- <https://pypi.org/project/Twisted>
- <https://pypi.org/project/Twisted/>

---

Data as of 2026-12-05T08:49:54.056Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
