CVE-2026-61541
MEDIUM 6.9CVSS 4.0Zapros has an Unbounded Content-Encoding decompression chain that allows denial of service
Zapros, a Python HTTP client, prior to version 0.14.0 is vulnerable to denial of service when an application requests content from an untrusted server, or follows a redirect to one, because a malicious response containing an excessive number of chained Content-Encoding values causes Zapros to construct a deeply nested decompression chain that consumes excessive resources. Version 0.14.0 patches the vulnerability by limiting responses to five content-encoding layers and raising DecodingError when that limit is exceeded. As a workaround, applications can add response middleware that inspects the Content-Encoding header and rejects responses containing more than a safe number of encoding layers.
- Published
- 21 Sep 2026
- Last modified
- 1 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-770
- Also known as
- GHSA-5vjj-2r48-q622PYSEC-2026-4181
- Sources
- NVDJSONOSV GHSA-5vjj-2r48-q622JSONOSV PYSEC-2026-4181JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | MEDIUM 6.9 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N | |
| OSV | PyPA | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | PyPI | zapros | < 0.14.0 | 0.14.0 |
References
- https://github.com/kap-sh/zapros/security/advisories/GHSA-5vjj-2r48-q622 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-61541 · ADVISORY
- https://github.com/kap-sh/zapros/commit/7971fbca9707eb01455ca2d73416ac091f96908b · WEB
- https://github.com/kap-sh/zapros · PACKAGE
- https://github.com/kap-sh/zapros/releases/tag/v0.14.0 · WEB
- https://pypi.org/project/zapros · PACKAGE
- https://github.com/advisories/GHSA-5vjj-2r48-q622 · ADVISORY
History
- 25 Nov 2026 21:21 UTC · NVD: first stored (published 21 Sep 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 1 Oct 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 23 Sep 2026)