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.
Published: 2026-09-21
Score: 6.9 Medium
EPSS: n/a
KEV: No
Impact: Denial of Service
Action: Patch Now
AI Analysis

Impact

Zapros, a Python HTTP client, can be forced into a denial of service by a malicious response that includes an unbounded chain of Content‑Encoding headers. When the client follows a redirect or accepts data from an untrusted server, each layer of the encoding is decompressed, creating a deeply nested chain that consumes CPU and memory resources. The flaw is rated CVSS 6.9 and identified as CWE‑770, meaning it allows an attacker to exhaust system resources without authentication. The consequence is an application or service outage when the exhaustion occurs.

Affected Systems

All installations of zapros prior to version 0.14.0 on any operating system are affected, regardless of how the client is used. The issue arises when the client receives responses from untrusted servers or follows redirects to external sites. Version 0.14.0 and later include a fix that limits encoding layers to five and raises a DecodingError when the limit is exceeded.

Risk and Exploitability

The CVSS score of 6.9 suggests a moderate severity. EPSS is not available and the vulnerability is not listed in CISA KEV. The likely attack vector is a malicious HTTP server or a compromised upstream service returning a response with many chained Content‑Encoding headers. Because the flaw is triggered by user input (the server response), any application that uses zapros to fetch data from untrusted sources is at risk until the client is hardened or updated.

Generated by OpenCVE AI on September 21, 2026 at 22:38 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade to zapros 0.14.0 or later, which enforces a five‑layer limit and returns a DecodingError when exceeded.
  • If an upgrade cannot be made immediately, add a response middleware that inspects the Content‑Encoding header and blocks responses containing more than a safe number of layers, such as five.
  • Configure the client or network stack to disable automatic redirects from untrusted origins or otherwise restrict which external servers zapros may contact.

Generated by OpenCVE AI on September 21, 2026 at 22:38 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 21 Sep 2026 21:30:00 +0000

Type Values Removed Values Added
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.
Title Zapros has an Unbounded Content-Encoding decompression chain that allows denial of service
Weaknesses CWE-770
References
Metrics cvssV4_0

{'score': 6.9, 'vector': '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'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-09-21T21:21:21.321Z

Reserved: 2026-07-10T16:27:03.093Z

Link: CVE-2026-61541

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-21T22:16:57.527

Modified: 2026-09-21T22:16:57.527

Link: CVE-2026-61541

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-21T22:45:17Z

Weaknesses
  • CWE-770

    Allocation of Resources Without Limits or Throttling