{"id":"CVE-2026-55079","published":"2026-07-07T23:50:37Z","modified":"2026-07-08T12:53:41Z","title":"Coder's unbounded memory allocation in provisioner file upload allows authenticated denial of service","vendor":"coder","product":"coder","tier":"tail","description":{"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.9,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00611,"percentile":0.50194,"provenance":"source"},"cwes":[{"id":"CWE-789","name":"Memory Allocation with Excessive Size Value"}],"references":[{"url":"https://github.com/coder/coder/security/advisories/GHSA-f962-qm93-mj4c","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/coder/coder/pull/25710","tags":["x_refsource_MISC"]},{"url":"https://github.com/coder/coder/releases/tag/v2.29.17","tags":["x_refsource_MISC"]},{"url":"https://github.com/coder/coder/releases/tag/v2.32.7","tags":["x_refsource_MISC"]},{"url":"https://github.com/coder/coder/releases/tag/v2.33.8","tags":["x_refsource_MISC"]},{"url":"https://github.com/coder/coder/releases/tag/v2.34.2","tags":["x_refsource_MISC"]}],"priority":{"score":13.5,"factors":[{"name":"EPSS percentile","points":10.04},{"name":"CVSS severity","points":3.43}]},"vendorSlug":"coder","affectedVersions":[{"vendor":"coder","product":"coder","versions":[">= 2.34.0, < 2.34.2",">= 2.33.0, < 2.33.8",">= 2.30.0, < 2.32.7",">= 2.24.0, < 2.29.17"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-07-08T12:53:26.878982Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/coder/coder/v2","vulnerableRanges":[">=2.34.0, <2.34.2",">=2.33.0, <2.33.8",">=2.30.0, <2.32.7",">=2.24.0, <2.29.17"],"patched":["2.34.2","2.33.8","2.32.7","2.29.17"],"from":["GHSA-f962-qm93-mj4c","GO-2026-5911"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/coder/coder","vulnerableRanges":["all versions"],"patched":[],"from":["GO-2026-5911"],"provenance":"source"}],"summary":{"text":"Coder's provisioner file upload handling, specifically NewDataBuilder in provisionersdk/proto/dataupload.go within the coder product, allocates memory based on a client-supplied FileSize value that is not bounded before allocation, affecting versions from 2.24.0 up to (but not including) 2.29.7, 2.32.7, 2.33.8, and 2.34.2. An attacker with access to the provisioner daemon serve endpoint who holds valid authentication can send a crafted upload that forces excessive memory allocation, causing denial of service.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:46:31Z"},"euvd":{"id":"EUVD-2026-42132","exploited":false,"provenance":"source"}}