{"id":"CVE-2026-61541","published":"2026-09-21T21:21:21Z","modified":"2026-09-23T19:07:58Z","title":"Zapros has an Unbounded Content-Encoding decompression chain that allows denial of service","vendor":"kap-sh","product":"zapros","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.9,"severity":"MEDIUM","version":"4.0","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00428,"percentile":0.37905,"provenance":"source"},"cwes":[{"id":"CWE-770","name":"Allocation of Resources Without Limits or Throttling"}],"references":[{"url":"https://github.com/kap-sh/zapros/security/advisories/GHSA-5vjj-2r48-q622","tags":["x_refsource_CONFIRM"]}],"priority":{"score":12.4,"factors":[{"name":"EPSS percentile","points":7.58},{"name":"CVSS severity","points":4.83}]},"vendorSlug":"kap-sh","affectedVersions":[{"vendor":"kap-sh","product":"zapros","versions":["< 0.14.0"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-09-23T19:07:48.022494Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"zapros","vulnerableRanges":["<0.14.0"],"patched":["0.14.0"],"from":["GHSA-5vjj-2r48-q622","PYSEC-2026-4181"],"provenance":"source"}],"summary":{"text":"Zapros, the kap-sh Python HTTP client, contains an unbounded content-decompression chain in versions before 0.14.0: a response carrying an excessive number of chained Content-Encoding values makes the client build a deeply nested decompression chain that consumes excessive resources. An attacker who controls a server the application requests content from, or a server it is redirected to, can trigger this denial of service with a single crafted response, requiring no authentication or user interaction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:49:09Z"},"euvd":{"id":"EUVD-2026-84182","exploited":false,"provenance":"source"}}