{"id":"GHSA-f962-qm93-mj4c","revision":"e1a002d77e6b4bc998d05f3186b2630b","records":[{"revision":"e1a002d77e6b4bc998d05f3186b2630b","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GHSA-f962-qm93-mj4c","aliases":["CVE-2026-55079","GO-2026-5911"],"title":"Coder's unbounded memory allocation in provisioner file upload allows authenticated denial of service","description":"### 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!","state":0,"publishedAt":"2026-07-06T20:54:41+00:00","modifiedAt":"2026-07-07T16:11:13.4925007+00:00","affected":[{"ecosystem":"Go","name":"github.com/coder/coder/v2","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"2.34.0"},{"kind":"fixed","version":"2.34.2"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"Go","name":"github.com/coder/coder/v2","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"2.33.0"},{"kind":"fixed","version":"2.33.8"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"Go","name":"github.com/coder/coder/v2","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"2.30.0"},{"kind":"fixed","version":"2.32.7"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"Go","name":"github.com/coder/coder/v2","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"2.24.0"},{"kind":"fixed","version":"2.29.17"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"MODERATE"}],"references":["https://github.com/coder/coder/security/advisories/GHSA-f962-qm93-mj4c","https://github.com/coder/coder/pull/25710","https://github.com/coder/coder"],"sourceUrl":"https://github.com/advisories/GHSA-f962-qm93-mj4c","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-f962-qm93-mj4c","identifiers":["GHSA-f962-qm93-mj4c","CVE-2026-55079","GO-2026-5911"]},"retained":false,"historicalAffected":[]}],"coverage":[]}