CVE-2026-61541 Details
Description
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.
A denial-of-service vulnerability has been identified in the Zapros Python HTTP client, affecting versions prior to 0.14.0. The issue arises when an application requests content from an untrusted server or follows a redirect to one. A malicious response with an excessive number of chained 'Content-Encoding' values can create a deeply nested decompression process, consuming excessive resources. This vulnerability is patched in version 0.14.0, which limits 'Content-Encoding' layers to five and raises a 'DecodingError' when the limit is exceeded. As a workaround, applications can implement response middleware to inspect the 'Content-Encoding' header and reject responses with too many encoding layers.
Users can upgrade to Zapros version 0.14.0 or later, which includes the patch for this vulnerability. Alternatively, response middleware can be added to check the 'Content-Encoding' header and reject responses with more than five encoding layers.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Sep 21, 2026CISA-ADP
Assessed Sep 23, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/kap-sh/zapros/security/advisories/GHSA-5vjj-2r48-q622 | [email protected] | AdvisoryExploitRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-770 | Allocation of Resources Without Limits or Throttling | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Zapros | < 0.14.0 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Sep 23, 2026 | CVE Modified | CISA-ADP |
| Sep 21, 2026 | New CVE Received | [email protected] |
Volerion