GHSA-fhpf-pp6p-55qc · Severity: high · Ecosystem: pip — Unsafe handling of user-specified cookies in treq
treq is an HTTP library inspired by requests but written on top of Twisted's Agents. Treq's request methods (`treq.get`, `treq.post`, etc.) and `treq.client.HTTPClient` constructor accept cookies as a dictionary. Such cookies are not bound to a single domain, and are therefore sent to *every* domain ("supercookies"). This can potentially cause sensitive information to leak upon an HTTP redirect to a different domain., e.g. should `https://example.com` redirect to `http://cloudstorageprovider.com` the latter will receive the cookie `session`. Treq 2021.1.0 and later bind cookies given to request methods (`treq.request`, `treq.get`, `HTTPClient.request`, `HTTPClient.get`, etc.) to the origin of the *url* parameter. Users are advised to upgrade. For users unable to upgrade Instead of passing a dictionary as the *cookies* argument, pass a `http.cookiejar.CookieJar` instance with properly domain- and scheme-scoped cookies in it.
Conclusion & alert: CVE-2022-23607 is rated Moderate Risk (42/100): CVSS Medium severity, with low exploitation likelihood (EPSS 0.23%). Mandatory action: Review affected assets and schedule remediation.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-04-14 | 0.26% | 0.23% | -0.03% |
| 2 | 2025-11-21 | 0.48% | 0.26% | -0.22% |
| 3 | 2025-11-18 | — | 0.48% | — |
Full EPSS history (12 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 6.5 | 3.1 | MEDIUM |
|
2.8 | 3.6 | [email protected] |
| 6.5 | 3.1 | MEDIUM |
|
2.8 | 3.6 | [email protected] |
| 4.3 | 2.0 | MEDIUM |
|
8.6 | 2.9 | [email protected] |
GHSA-fhpf-pp6p-55qc · Severity: high · Ecosystem: pip — Unsafe handling of user-specified cookies in treq
| vendor | priority | summary | link |
|---|---|---|---|
alpine
|
— | CVE-2022-23607: 1 source package rows (py3-treq); 1 state rows across 1 repos (edge-community); fixed 1, open 0. | https://security.alpinelinux.org/vuln/CVE-2022-23607 |
debian
|
not yet assigned | CVE-2022-23607 not yet assigned priority: Debian including 1 source packages (python-treq), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 4, open 1. | https://security-tracker.debian.org/tracker/CVE-2022-23607 |
ubuntu
|
medium | CVE-2022-23607 medium priority: Ubuntu including 1 source packages (python-treq), 14 status rows across 14 suites (bionic, focal, impish, jammy, kinetic, lunar, mantic, noble, oracular, plucky, questing, trusty, upstream, xenial): ignored 8, needs-triage 6. | https://ubuntu.com/security/CVE-2022-23607 |
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| twistedmatrix | treq | >= 21.1.0, < 22.1.0 | cpe:2.3:a:twistedmatrix:treq:*:*:*:*:*:*:*:* |
| debian | debian_linux | 9.0 | cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* |
| URL | Tags |
|---|---|
| https://github.com/twisted/treq/security/advisories/GHSA-fhpf-pp6p-55qc | Mitigation Third Party Advisory |
| https://lists.debian.org/debian-lts-announce/2022/03/msg00025.html | Mailing List Third Party Advisory |