{"id":"CVE-2026-55078","published":"2026-07-07T22:47:07Z","modified":"2026-07-08T13:55:16Z","title":"Coder: Zip upload decompression lacks aggregate size limit, enabling denial of service","vendor":"coder","product":"coder","tier":"tail","description":{"text":"Coder allows organizations to provision remote development environments via Terraform. Starting in version 2.17.0 and prior to versions 2.29.7, 2.32.7, 2.33.8, and 2.34.2, `POST /api/v2/files` converts zip uploads to tar in memory via `CreateTarFromZip`, which enforced a per-entry size limit but no aggregate limit on total decompressed output, writing to an unbounded in-memory buffer. Exploitation requires authenticated file-upload access and the impact is limited to availability (denial of service). The fix in versions 2.29.7, 2.32.7, 2.33.8, and 2.34.2 adds a metadata preflight check that sums projected entry sizes and a streaming writer that enforces the aggregate limit during decompression. As a workaround, restrict file-upload permissions to trusted users or place a reverse proxy with request-body size limits in front of `coderd`.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00602,"percentile":0.49745,"provenance":"source"},"cwes":[{"id":"CWE-409","name":"Improper Handling of Highly Compressed Data (Data Amplification)"},{"id":"CWE-770","name":"Allocation of Resources Without Limits or Throttling"}],"references":[{"url":"https://github.com/coder/coder/security/advisories/GHSA-2mg2-p7r7-g27f","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/coder/coder/pull/25877","tags":["x_refsource_MISC"]},{"url":"https://github.com/coder/coder/releases/tag/v2.29.17","tags":["x_refsource_MISC"]},{"url":"https://github.com/coder/coder/releases/tag/v2.32.7","tags":["x_refsource_MISC"]},{"url":"https://github.com/coder/coder/releases/tag/v2.33.8","tags":["x_refsource_MISC"]},{"url":"https://github.com/coder/coder/releases/tag/v2.34.2","tags":["x_refsource_MISC"]}],"priority":{"score":14.5,"factors":[{"name":"EPSS percentile","points":9.95},{"name":"CVSS severity","points":4.55}]},"vendorSlug":"coder","affectedVersions":[{"vendor":"coder","product":"coder","versions":[">= 2.34.0, < 2.34.2",">= 2.33.0, < 2.33.8",">= 2.30.0, < 2.32.7",">= 2.17.0, < 2.29.17"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-07-08T13:54:48.796364Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/coder/coder/v2","vulnerableRanges":[">=2.34.0, <2.34.2",">=2.33.0, <2.33.8",">=2.30.0, <2.32.7",">=2.17.0, <2.29.17"],"patched":["2.34.2","2.33.8","2.32.7","2.29.17"],"from":["GHSA-2mg2-p7r7-g27f","GO-2026-5916"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/coder/coder","vulnerableRanges":["all versions"],"patched":[],"from":["GO-2026-5916"],"provenance":"source"}],"summary":{"text":"Coder's file upload endpoint (POST /api/v2/files) in the coder product converts uploaded zip archives to tar in memory and enforces a per-entry size limit but no aggregate limit on total decompressed output. An attacker with network access and low-privilege authenticated access to file upload can submit a crafted zip that exhausts memory and causes denial of service, with no user interaction required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:36:31Z"},"euvd":{"id":"EUVD-2026-42131","exploited":false,"provenance":"source"}}