{"id":"CVE-2026-55078","summary":"Coder: Zip upload decompression lacks aggregate size limit, enabling denial of service","details":"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`.","aliases":["GHSA-2mg2-p7r7-g27f","GO-2026-5916"],"modified":"2026-07-09T04:00:36.289077848Z","published":"2026-07-07T22:47:07.079Z","database_specific":{"cwe_ids":["CWE-409","CWE-770"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/55xxx/CVE-2026-55078.json","cna_assigner":"GitHub_M"},"references":[{"type":"WEB","url":"https://github.com/coder/coder/releases/tag/v2.29.17"},{"type":"WEB","url":"https://github.com/coder/coder/releases/tag/v2.32.7"},{"type":"WEB","url":"https://github.com/coder/coder/releases/tag/v2.33.8"},{"type":"WEB","url":"https://github.com/coder/coder/releases/tag/v2.34.2"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/55xxx/CVE-2026-55078.json"},{"type":"ADVISORY","url":"https://github.com/coder/coder/security/advisories/GHSA-2mg2-p7r7-g27f"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-55078"},{"type":"FIX","url":"https://github.com/coder/coder/pull/25877"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/coder/coder","events":[{"introduced":"3006da5ef7a9c27755aa5b2f3f5f05d2c8971a58"},{"introduced":"f009c17217e6bad9a61ba511d23735bc1ce94da0"},{"introduced":"43e67d12e278e13399cffc77f132e8e628339477"},{"introduced":"5a6d23a4a3a2225e3440f4a2dd83b3fc1fdffaa4"},{"fixed":"d7774e5c4ca222ee89a8b6aa82b61c1f8bb81d1f"},{"fixed":"f9486be96df392b017941ff6a6bd43a629adc86c"},{"fixed":"0374b00b63bc5043a507194f284ef298e0ea3b52"},{"fixed":"77253bfc55665027a374a5d2fb70f4ff74410326"}],"database_specific":{"source":["AFFECTED_FIELD","REFERENCES"],"extracted_events":[{"introduced":"2.34.0"},{"fixed":"2.34.2"},{"introduced":"2.33.0"},{"fixed":"2.33.8"},{"introduced":"2.30.0"},{"fixed":"2.32.7"},{"introduced":"2.17.0"},{"fixed":"2.29.17"}]}}],"versions":["v2.33.7","v2.34.1","v2.33.6","v2.34.0","v2.33.5","v2.33.4","v2.33.3","v2.33.2","v2.33.1","v2.33.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-55078.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"}]}