Skip to main content

Coder CVE-2026-55079

MEDIUM
Memory Allocation with Excessive Size Value (CWE-789)
2026-07-06 https://github.com/coder/coder GHSA-f962-qm93-mj4c
6.5
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain provisioner daemon credentials
  2. Delivery
    Connect to coderd provisioner daemon DRPC endpoint
  3. Exploit
    Send crafted DataUpload message with oversized FileSize
  4. Execution
    NewDataBuilder allocates declared size without bounds check
  5. Persist
    Go runtime exhausts memory
  6. Impact
    coderd process OOM-aborts, full deployment denial of service

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Memory allocation limits
Exploitation Conditions

Exploitation requires an authenticated session to the provisioner daemon serve endpoint, confirmed by the CVSS vector PR:H. This endpoint is not accessible to ordinary Coder workspace users; it is intended exclusively for provisioner daemon service accounts that manage infrastructure. An attacker must therefore either compromise a provisioner daemon service account or be an insider with such credentials. No special Coder configuration, non-default feature flag, or specific platform is required beyond having access to a running coderd instance with an exposed provisioner daemon endpoint. Limiting exploitation: the PR:H requirement means that exploitation cannot be carried out anonymously or by unauthenticated network-adjacent attackers; only parties that have already obtained provisioner daemon credentials are in scope. Network segmentation that isolates the provisioner daemon endpoint to trusted service accounts is sufficient as a compensating control.

Impact

The CVSS 3.1 base score of 4.9 (AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H) accurately reflects the primary risk-limiting factor: exploitation requires High privileges, meaning an attacker must possess valid credentials for the provisioner daemon serve endpoint. This endpoint is normally restricted to trusted provisioner daemon service accounts rather than general Coder users, substantially reducing the realistic attacker population. The attack complexity is Low once credentials are obtained, and no user interaction is required - a single crafted message is sufficient to crash coderd, taking down the entire deployment. Despite the low CVSS base score, the availability impact is severe (A:H): the crash is unrecoverable without a process restart and affects all users of the deployment simultaneously. EPSS data was not available in the provided intelligence sources, precluding a probabilistic exploitation estimate. The vulnerability is not listed in CISA KEV and no public proof-of-concept code has been identified, which is consistent with the PR:H requirement limiting its mass-exploitation appeal. The vendor advisory and fix were developed following disclosure by Anthropic's Security Team (ANT-2026-22442), suggesting responsible coordinated disclosure rather than opportunistic discovery. Overall, this is a genuine operational risk for organizations where provisioner daemon access cannot be strictly controlled, but a lower priority for deployments that enforce strict service-account isolation on that endpoint.

Exploit ScenarioDerived

An attacker holding valid provisioner daemon service account credentials - or an insider with such access - constructs a minimal (~50-byte) DataUpload DRPC message in which the FileSize field is set to an extremely large value such as 1,099,511,627,776 bytes (1 TiB). When coderd receives and processes this message, NewDataBuilder passes the attacker-controlled FileSize directly to Go's runtime memory allocator; the allocator attempts to satisfy the request, exhausts available memory, and triggers an unrecoverable Go OOM abort that immediately terminates the coderd process and denies service to every user of the deployment until the process is manually restarted. No public proof-of-concept has been identified, but the attack requires only standard DRPC client tooling and valid credentials, with no heap-spraying or timing complexity involved.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.6% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 06, 2026

Uncontrolled memory allocation in Coder's provisioner daemon allows an authenticated user to crash the entire coderd deployment with a single ~50-byte network message. The vulnerability exists in the NewDataBuilder function within provisionersdk/proto/dataupload.go, which blindly allocates a byte slice using a client-supplied FileSize field from a DataUpload DRPC message, with no upper-bound validation. By declaring a massive FileSize value such as 1 TiB, an attacker with provisioner daemon credentials can trigger a Go runtime out-of-memory abort, terminating coderd and denying service to all users of the deployment. No public exploit code has been identified and this vulnerability is not listed in CISA KEV at time of analysis.

RemediationAI

Upgrade to a patched release: v2.34.2 for the 2.34 release line, v2.33.8 for the 2.33 line, v2.32.7 for the 2.32 line, or v2.29.17 for the 2.29 ESR line. Release artifacts are available at https://github.com/coder/coder/releases. The fix (PR #25710: https://github.com/coder/coder/pull/25710) introduces a MaxFileSize bound of 100 MiB validated before any allocation occurs in NewDataBuilder. For deployments that cannot immediately upgrade, the vendor-recommended workaround is to restrict access to the provisioner daemon serve endpoint exclusively to trusted provisioner daemon service accounts - this prevents arbitrary authenticated users from reaching the vulnerable code path. This workaround has the trade-off of requiring careful network-level or authentication-level access controls and does not eliminate the underlying flaw, making it a temporary compensating measure rather than a permanent fix. The GitHub advisory at GHSA-f962-qm93-mj4c should be consulted for any updated guidance.

Affected Packages

go github.com/coder/coder no fix
go github.com/coder/coder/v2 fix: 2.29.17, 2.32.7, 2.33.8, 2.34.2

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in go

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The affected component is the provisionersdk Go package within the Coder remote development platform (CPE: pkg:go/github.com_coder_coder_v2), specifically the NewDataBuilder function in provisionersdk/proto/dataupload.go. Coder uses DRPC (a lightweight RPC framework) for communication with its provisioner daemon, which manages infrastructure provisioning for developer workspaces. The DataUpload DRPC message type includes a FileSize field that is intended to pre-declare the size of a file transfer so the receiver can pre-allocate a buffer. The root cause, classified as CWE-789 (Uncontrolled Memory Allocation), is that NewDataBuilder uses this client-supplied FileSize directly in a Go byte slice allocation (make([]byte, FileSize)) without validating it against any maximum. Although the DRPC wire protocol enforces a 4 MiB message body limit, this limit applies to the actual bytes on the wire - it does not constrain the integer value declared in the FileSize field of the message payload. The fix introduces a MaxFileSize constant of 100 MiB and validates the declared size before allocation, rejecting values that exceed the bound.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (https://github.com/coder/coder) PRIMARY MEDIUM
NVD 6.5 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 4.9 MEDIUM

Network-reachable but exploitation requires high-privilege provisioner daemon credentials; impact is pure availability with no confidentiality or integrity consequence.

3.1 AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
SUSE MEDIUM

Primary rating from Vendor (https://github.com/coder/coder).

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

2
CVSS changed
Jul 08, 2026 - 19:52 NVD
4.9 (MEDIUM) 6.5 (MEDIUM)
CVSS changed
Jul 08, 2026 - 19:52 NVD
4.9 (MEDIUM) 6.5 (MEDIUM)

DescriptionNVD

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!

Threat Intelligence Overview

EPSS Score
0.6%
Top 54% exploitable
Prevalence
Medium
popular open-source remote dev platform with growing enterprise adoption
Threat Intel
1
1 sources
Data Quality
5 sources
Confidence: Medium
NVD CVE.org EPSS Vulnrichment GHSA Vendor GitHub

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.6%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

33
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

Affected Products (CPE)NVD

pkg:go/github.com_coder_coder_v2
pkg:go/github.com_coder_coder_v2
pkg:go/github.com_coder_coder_v2
pkg:go/github.com_coder_coder_v2

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
SUSE Linux Enterprise Server 16.1 Affected
SUSE Linux Enterprise Server for SAP applications 16.1 Affected
SUSE Linux Enterprise Module for Package Hub 15 SP5 Affected
SUSE Linux Enterprise Module for Package Hub 15 SP6 Affected
openSUSE Leap 15.5 Affected

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy