CVE-2026-55079
JSON

4.9medium

Coder's unbounded memory allocation in provisioner file upload allows authenticated denial of service

Severity
4.9medium CVSS:3.1 by GitHub_M
Exploit likelihood
0.61% (higher than 43% of CVEs)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-f962-qm93-mj4cGO-2026-5911

Description

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.

Affected

Product or packageVersionsReported by
coder coder>= 2.34.0, < 2.34.2, >= 2.33.0, < 2.33.8, >= 2.30.0, < 2.32.7, >= 2.24.0, < 2.29.17, from 2.24.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.2CVE List, NVD
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.24.0 before 2.29.17GitHub Advisory Database, Go Vulnerability Database
github.com/coder/coder (Go)all versionsGo Vulnerability Database

All scores

GitHub_M4.9medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H
GitHub4.9medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H
NVD6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Classification

CWE-789

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

GitHub Advisory Database
Summary

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

Impact

An 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.

Patches

The fix validates FileSize against an upper bound (MaxFileSize = 100 MiB) before allocation.

The fix was backported to all supported release lines:

Release linePatched version
2.34v2.34.2
2.33v2.33.8
2.32v2.32.7
2.29 (ESR)v2.29.17
Workarounds

Restrict access to the provisioner daemon serve endpoint to trusted provisioner daemon service accounts.

Resources
  • Fix: #25710
Credits

Coder would like to thank Anthropic's Security Team (ANT-2026-22442) for independently disclosing this issue!

Go Vulnerability Database

Coder's unbounded memory allocation in provisioner file upload allows authenticated denial of service in github.com/coder/coder

References

Sources

SourceRecordLicence
CVE ListCVE-2026-55079 changed 2026-07-08CVE Terms of Use
GitHub Advisory DatabaseGHSA-f962-qm93-mj4c changed 2026-07-07CC-BY-4.0
Go Vulnerability DatabaseGO-2026-5911 changed 2026-07-07CC-BY-4.0
NVDCVE-2026-55079 changed 2026-07-08Public domain