# CVE-2026-55078: Coder: Zip upload decompression lacks aggregate size limit, enabling denial of service

- Severity: Medium 6.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- 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.34%, higher than 29% of CVEs (2026-12-01)
- Published: 2026-07-06T21:06:45.000Z
- Modified: 2026-07-08T19:45:05.967Z
- Also known as: GHSA-2mg2-p7r7-g27f, GO-2026-5916
- Weaknesses: CWE-409, CWE-770
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- coder coder: >= 2.34.0, < 2.34.2; >= 2.33.0, < 2.33.8; >= 2.30.0, < 2.32.7; >= 2.17.0, < 2.29.17; from 2.17.0 before 2.29.17; from 2.30.0 before 2.32.7; from 2.33.0 before 2.33.8; from 2.34.0 before 2.34.2
- github.com/coder/coder/v2 (Go): from 2.34.0 before 2.34.2; from 2.33.0 before 2.33.8; from 2.30.0 before 2.32.7; from 2.17.0 before 2.29.17
- github.com/coder/coder (Go): all versions

## Every score

- GitHub_M: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/coder/coder/security/advisories/GHSA-2mg2-p7r7-g27f> (advisory, patch, vendor-advisory, web)
- <https://github.com/coder/coder/pull/25877> (fix, issue-tracking, patch, web)
- <https://github.com/coder/coder/releases/tag/v2.29.17> (release-notes)
- <https://github.com/coder/coder/releases/tag/v2.32.7> (release-notes)
- <https://github.com/coder/coder/releases/tag/v2.33.8> (release-notes)
- <https://github.com/coder/coder/releases/tag/v2.34.2> (release-notes)
- <https://github.com/coder/coder> (package)

## Sources

- CVE List: [CVE-2026-55078](https://www.cve.org/CVERecord?id=CVE-2026-55078), CVE Terms of Use, modified 2026-07-08
- GitHub Advisory Database: [GHSA-2mg2-p7r7-g27f](https://github.com/advisories/GHSA-2mg2-p7r7-g27f), CC-BY-4.0, modified 2026-07-07
- Go Vulnerability Database: [GO-2026-5916](https://pkg.go.dev/vuln/GO-2026-5916), CC-BY-4.0, modified 2026-07-07
- NVD: [CVE-2026-55078](https://nvd.nist.gov/vuln/detail/CVE-2026-55078), Public domain, modified 2026-07-08

---

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