# CVE-2026-61541: Zapros has an Unbounded Content-Encoding decompression chain that allows denial of service

- Severity: Medium 6.9 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.25%, higher than 17% of CVEs (2026-12-01)
- Published: 2026-09-21T21:21:21.321Z
- Modified: 2026-10-01T17:56:21.759Z
- Also known as: GHSA-5vjj-2r48-q622, PYSEC-2026-4181
- Weaknesses: CWE-770
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- kap-sh zapros: < 0.14.0
- zapros (PyPI): before 0.14.0

## Every score

- GitHub_M: CVSS:4.0 6.9 Medium `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`
- GitHub: CVSS:4.0 Medium `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`
- PyPA Advisory Database: 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`

## 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)

## Sources

- CVE List: [CVE-2026-61541](https://www.cve.org/CVERecord?id=CVE-2026-61541), CVE Terms of Use, modified 2026-09-23
- GitHub Advisory Database: [GHSA-5vjj-2r48-q622](https://github.com/advisories/GHSA-5vjj-2r48-q622), CC-BY-4.0, modified 2026-10-01
- NVD: [CVE-2026-61541](https://nvd.nist.gov/vuln/detail/CVE-2026-61541), Public domain, modified 2026-09-30
- PyPA Advisory Database: [PYSEC-2026-4181](https://osv.dev/vulnerability/PYSEC-2026-4181), CC-BY-4.0, modified 2026-10-01

---

Page: https://cve.day/CVE-2026-61541 · Whole record: https://cve.day/CVE-2026-61541.json · Rebuilt by cve.day 2026-11-25T22:59:40.398Z
