High
Cookie and header exposure in twisted
Type: advisorySources: OSV
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2022-21712
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 8 Nov 2026, 00:19 UTC · Revision 1
Source evidence
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.
osv:CVE-2022-21712
Complete source record
{
"id": "0ee2844e96472e3f342409da4ca7e1317ca6932f7bb0d08ad9afd7b3caaa3fd8",
"url": "https://osv.dev/vulnerability/CVE-2022-21712",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Cookie and header exposure in twisted",
"summary": "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.",
"evidence": "osv:CVE-2022-21712",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2022-21712",
"aliases": [
"CVE-2022-21712",
"GHSA-92x2-jw7w-xvvx",
"PYSEC-2022-27"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/twisted/twisted",
"type": "GIT",
"events": [
{
"introduced": "7702733284a283132501e38f5efdd3c77dfb0112"
},
{
"fixed": "45d463c02ebbbdcbe18b3807419422101538ffca"
},
{
"fixed": "af8fe78542a6f2bf2235ccee8158d9c88d31e8e2"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:twisted:twisted:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "11.1.0"
},
{
"fixed": "22.1.0"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "af8fe78542a6f2bf2235ccee8158d9c88d31e8e2"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "45d463c02ebbbdcbe18b3807419422101538ffca"
}
],
"source": "REFERENCES_TAG",
"original_tag": "twisted-22.1.0"
}
]
}
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-21712.json"
}
}
],
"modified": "2026-10-28T02:30:51.948600408Z",
"provider": "osv",
"references": [
"https://github.com/twisted/twisted/releases/tag/twisted-22.1.0",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/21xxx/CVE-2022-21712.json",
"https://github.com/twisted/twisted/security/advisories/GHSA-92x2-jw7w-xvvx",
"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://nvd.nist.gov/vuln/detail/CVE-2022-21712",
"https://security.gentoo.org/glsa/202301-02",
"https://github.com/twisted/twisted/commit/af8fe78542a6f2bf2235ccee8158d9c88d31e8e2",
"https://lists.debian.org/debian-lts-announce/2022/02/msg00021.html"
],
"provider_metadata": {
"cwe_ids": [
"CWE-200"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/21xxx/CVE-2022-21712.json"
}
},
"related_cves": [
{
"value": "CVE-2022-21712",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 520910,
"published_at": "2022-02-07T00:00:00+00:00"
}