{"id":"CVE-2026-55079","aliases":["CVE-2026-55079","GHSA-f962-qm93-mj4c","GO-2026-5911"],"related":[],"kind":"vulnerability","state":"published","title":"Coder's unbounded memory allocation in provisioner file upload allows authenticated denial of service","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### Summary\n\n`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\n\n### Impact\n\nAn authenticated user able to reach the provisioner daemon serve endpoint could send a roughly 50-byte message declaring a huge `FileSize` (for example 1 TiB), triggering an unrecoverable Go out-of-memory abort that terminates `coderd`. This is a single-message denial of service affecting the entire deployment.\n\n### Patches\n\nThe fix validates `FileSize` against an upper bound (`MaxFileSize = 100 MiB`) before allocation.\n\nThe fix was backported to all supported release lines:\n\n| Release line | Patched version |\n|---|---|\n| 2.34 | [v2.34.2](https://github.com/coder/coder/releases/tag/v2.34.2) |\n| 2.33 | [v2.33.8](https://github.com/coder/coder/releases/tag/v2.33.8) |\n| 2.32 | [v2.32.7](https://github.com/coder/coder/releases/tag/v2.32.7) |\n| 2.29 (ESR) | [v2.29.17](https://github.com/coder/coder/releases/tag/v2.29.17) |\n\n### Workarounds\n\nRestrict access to the provisioner daemon serve endpoint to trusted provisioner daemon service accounts.\n\n### Resources\n\n- Fix: #25710\n\n### Credits\n\nCoder would like to thank Anthropic's Security Team (ANT-2026-22442) for independently disclosing this issue!","format":"markdown","source":"ghsa"},{"lang":"en","text":"Coder's unbounded memory allocation in provisioner file upload allows authenticated denial of service in github.com/coder/coder","format":"markdown","source":"go"}],"published":"2026-07-06T20:54:41.000Z","modified":"2026-07-08T19:44:45.573Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H","score":4.9,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H","score":4.9,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H","score":4.9,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":6.5,"rating":"MEDIUM"}],"cwes":["CWE-789"],"affected":[{"ranges":[{"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.24.0, < 2.29.17","status":"affected"}],"vendor":"coder","product":"coder","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"2.34.0","status":"affected","fixed":"2.34.2"}],"ecosystem":"Go","package":"github.com/coder/coder/v2","purl":"pkg:golang/github.com/coder/coder/v2","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"2.33.0","status":"affected","fixed":"2.33.8"}],"ecosystem":"Go","package":"github.com/coder/coder/v2","purl":"pkg:golang/github.com/coder/coder/v2","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"2.30.0","status":"affected","fixed":"2.32.7"}],"ecosystem":"Go","package":"github.com/coder/coder/v2","purl":"pkg:golang/github.com/coder/coder/v2","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"2.24.0","status":"affected","fixed":"2.29.17"}],"ecosystem":"Go","package":"github.com/coder/coder/v2","purl":"pkg:golang/github.com/coder/coder/v2","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"github.com/coder/coder","purl":"pkg:golang/github.com/coder/coder","source":"go"},{"ranges":[{"type":"semver","introduced":"2.24.0","status":"affected","fixed":"2.29.17"},{"type":"semver","introduced":"2.30.0","status":"affected","fixed":"2.32.7"},{"type":"semver","introduced":"2.33.0","status":"affected","fixed":"2.33.8"},{"type":"semver","introduced":"2.34.0","status":"affected","fixed":"2.34.2"}],"ecosystem":"Go","package":"github.com/coder/coder/v2","purl":"pkg:golang/github.com/coder/coder/v2","source":"go"},{"ranges":[{"status":"affected","introduced":"2.24.0","fixed":"2.29.17"},{"status":"affected","introduced":"2.30.0","fixed":"2.32.7"},{"status":"affected","introduced":"2.33.0","fixed":"2.33.8"},{"status":"affected","introduced":"2.34.0","fixed":"2.34.2"}],"vendor":"coder","product":"coder","cpe":"cpe:2.3:a:coder:coder:*:*:*:*:*:go:*:*","source":"nvd"}],"references":[{"url":"https://github.com/coder/coder/security/advisories/GHSA-f962-qm93-mj4c","tags":["advisory","patch","vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/coder/coder/pull/25710","tags":["fix","issue-tracking","patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/coder/coder/releases/tag/v2.29.17","tags":["release-notes","x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/coder/coder/releases/tag/v2.32.7","tags":["release-notes","x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/coder/coder/releases/tag/v2.33.8","tags":["release-notes","x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/coder/coder/releases/tag/v2.34.2","tags":["release-notes","x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/coder/coder","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-07-08T12:53:26.878Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-55079","url":"https://www.cve.org/CVERecord?id=CVE-2026-55079","licence":"CVE Terms of Use","modified":"2026-07-08T12:53:41.432Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-f962-qm93-mj4c","url":"https://github.com/advisories/GHSA-f962-qm93-mj4c","licence":"CC-BY-4.0","modified":"2026-07-07T16:11:13.492Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2026-5911","url":"https://pkg.go.dev/vuln/GO-2026-5911","licence":"CC-BY-4.0","modified":"2026-07-07T16:01:25.283Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-55079","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-55079","licence":"Public domain","modified":"2026-07-08T19:44:45.573Z"}],"updatedAt":"2026-11-25T22:59:27.333Z","epss":{"score":0.00611,"percentile":0.43498,"date":"2026-11-30T12:00:22.000Z"}}