{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-55078","id":"CVE-2026-55078","title":"Coder: Zip upload decompression lacks aggregate size limit, enabling denial of service","description":"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","descriptionLong":"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`.","published":"2026-07-07T22:47:07.079Z","updated":"2026-10-28T02:30:43.407285634Z","reserved":"2026-06-16T14:33:35.711Z","status":"Analyzed","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"GitHub_M"},"metrics":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"GitHub_M"},{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"github.com"},{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"OSV"},{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"GitHub"}],"rating":"medium","products":["coder"],"affectedProducts":[{"vendor":"coder","product":"coder","defaultStatus":null,"versions":[{"version":">= 2.34.0, < 2.34.2","status":"affected"},{"version":">= 2.33.0, < 2.33.8","status":"affected"},{"version":">= 2.30.0, < 2.32.7","status":"affected"},{"version":">= 2.17.0, < 2.29.17","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"Go","name":"github.com/coder/coder/v2","purl":"pkg:golang/github.com/coder/coder/v2","ranges":[">=2.34.0 <2.34.2",">=2.33.0 <2.33.8",">=2.30.0 <2.32.7",">=2.17.0 <2.29.17"],"fixed":["2.34.2","2.33.8","2.32.7","2.29.17"],"advisory":"GHSA-2mg2-p7r7-g27f"},{"ecosystem":"Go","name":"github.com/coder/coder","purl":"pkg:golang/github.com/coder/coder","ranges":["all versions"],"fixed":[],"advisory":"GO-2026-5916"}],"cwes":["CWE-409","CWE-770"],"aliases":["GHSA-2mg2-p7r7-g27f","GO-2026-5916"],"references":[{"url":"https://github.com/coder/coder/security/advisories/GHSA-2mg2-p7r7-g27f","tags":["x_refsource_CONFIRM","Patch","Vendor Advisory","advisory","web"]},{"url":"https://github.com/coder/coder/pull/25877","tags":["x_refsource_MISC","Issue Tracking","Patch","fix","web"]},{"url":"https://github.com/coder/coder/releases/tag/v2.29.17","tags":["x_refsource_MISC","Release Notes","web"]},{"url":"https://github.com/coder/coder/releases/tag/v2.32.7","tags":["x_refsource_MISC","Release Notes","web"]},{"url":"https://github.com/coder/coder/releases/tag/v2.33.8","tags":["x_refsource_MISC","Release Notes","web"]},{"url":"https://github.com/coder/coder/releases/tag/v2.34.2","tags":["x_refsource_MISC","Release Notes","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/55xxx/CVE-2026-55078.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-55078","tags":["advisory"]},{"url":"https://github.com/coder/coder","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00602,"epssPercentile":0.49608,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-55078","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-55078","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-55078","ok":true,"note":"2 packages"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-2mg2-p7r7-g27f","ok":true,"note":"GHSA-2mg2-p7r7-g27f"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-55078","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}