{"id":"CVE-2026-55079","summary":"Coder's unbounded memory allocation in provisioner file upload allows authenticated denial of service","details":"Coder allows organizations to provision remote development environments via Terraform. Starting in version 2.24.0 and prior to versions 2.29.7, 2.32.7, 2.33.8, and 2.34.2, `NewDataBuilder` in `provisionersdk/proto/dataupload.go` allocated a byte slice using the client-supplied `FileSize` from a `DataUpload` message without an upper-bound check. Although the DRPC wire limit is 4 MiB, the `FileSize` value itself was unconstrained. The fix in versions 2.29.7, 2.32.7, 2.33.8, and 2.34.2 validates `FileSize` against an upper bound (`MaxFileSize = 100 MiB`) before allocation. As a workaround, restrict access to the provisioner daemon serve endpoint to trusted provisioner daemon service accounts.","aliases":["GHSA-f962-qm93-mj4c","GO-2026-5911"],"modified":"2026-07-09T04:00:58.642152328Z","published":"2026-07-07T23:50:37.197Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/55xxx/CVE-2026-55079.json","cwe_ids":["CWE-789"],"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-55079.json"},{"type":"ADVISORY","url":"https://github.com/coder/coder/security/advisories/GHSA-f962-qm93-mj4c"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-55079"},{"type":"FIX","url":"https://github.com/coder/coder/pull/25710"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/coder/coder","events":[{"introduced":"3006da5ef7a9c27755aa5b2f3f5f05d2c8971a58"},{"introduced":"f009c17217e6bad9a61ba511d23735bc1ce94da0"},{"introduced":"43e67d12e278e13399cffc77f132e8e628339477"},{"introduced":"e5a74a775db34d6be3276d7d4f0ab5e7e1c07ec9"},{"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.24.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-55079.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H"}]}