Zapros has an Unbounded Content-Encoding decompression chain that allows denial of service
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · Low
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-770.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| kap-sh | zapros | before 0.14.0 | 0.14.0 | Patch available | CNA |
| — | zapros (PyPI) | before 0.14.0 | 0.14.0 | Patch available | GHSA-5vjj-2r48-q622 |
- zapros Vendorkap-sh Affected before 0.14.0 Fixed in 0.14.0 Patch available CNA
- zapros (PyPI) Vendor— Affected before 0.14.0 Fixed in 0.14.0 Patch available GHSA-5vjj-2r48-q622
Remediation
- Fix · CNA zapros (kap-sh) Fixed in 0.14.0
- Fix · GHSA-5vjj-2r48-q622 zapros (PyPI) Fixed in 0.14.0 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-61541
- 2026-10-03 Alias added: GHSA-5vjj-2r48-q622
References
More kap-sh vulnerabilities
- TI-2026-44151 Resource allocation without limits in kap-sh zapros CVSS 4.0HIGH 8.7
Sources
- CVE-2026-61541 · CVE Program
- CVE-2026-61541 · NVD
- FIRST EPSS
- GHSA-5vjj-2r48-q622 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences