Description
Coder allows organizations to provision remote development environments via Terraform. Starting in version 2.17.0 and prior to versions 2.29.7, 2.32.7, 2.33.8, and 2.34.2, `POST /api/v2/files` converts zip uploads to tar in memory via `CreateTarFromZip`, which enforced a per-entry size limit but no aggregate limit on total decompressed output, writing to an unbounded in-memory buffer. Exploitation requires authenticated file-upload access and the impact is limited to availability (denial of service). The fix in versions 2.29.7, 2.32.7, 2.33.8, and 2.34.2 adds a metadata preflight check that sums projected entry sizes and a streaming writer that enforces the aggregate limit during decompression. As a workaround, restrict file-upload permissions to trusted users or place a reverse proxy with request-body size limits in front of `coderd`.
Published: 2026-07-07
Score: 6.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Coder's file-archives to tar in memory. The conversion enforced a per-file size limit but omitted any aggregate size limit. This upload a zip file containing many large entries, exhausting the process's in-memory resources and causing the service to crash or become unresponsive. The result is a denial of service that affects only the availability of the Coder instance. The weakness is a classic example of insufficient resource limits (CWE-770) combined with miscalculated size handling (CWE-409).

Affected Systems

The vulnerability affects Coder releases that implement the buggy upload logic: versions 2.17.0 through 2.29.6, 2.32.6, 2.33.7, and 2.34.1. All other releases, including 2.29.7, 2.32.7, 2.33.8, later, contain fixes that enforce an aggregate size limit during decompression.

Risk and Exploitability

The CVSS score of 6.5 indicates moderate severity. The EPSS score of < 1% suggests a very low exploitation probability, and the vulnerability is not listed in CISA's KEV catalog, implying limited exploitation activity. Exploitation requires authenticated access to the file-upload endpoint; the attack is, any user granted that permission could trigger the denial of service, but the risk to external attackers is low. Overall, the threat is operational rather than strategic, and immediate patching mitigates the risk.

Generated by OpenCVE AI on July 26, 2026 at 18:48 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Coder to the latest patched release (2.29.7, 2.32.7, 2.33.8, 2.34.2, or later).
  • Limit file-upload permissions to trusted users only. This reduces the exposure surface for the denial-of-service attack.
  • Install a reverse proxy in front of coderd and apply request-body size limits to prevent large payloads from reaching the server.

Generated by OpenCVE AI on July 26, 2026 at 18:48 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-2mg2-p7r7-g27f Coder: Zip upload decompression lacks aggregate size limit, enabling denial of service
History

Wed, 08 Jul 2026 14:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 08 Jul 2026 00:45:00 +0000

Type Values Removed Values Added
First Time appeared Coder
Coder coder
Vendors & Products Coder
Coder coder

Tue, 07 Jul 2026 23:00:00 +0000

Type Values Removed Values Added
Description Coder allows organizations to provision remote development environments via Terraform. Starting in version 2.17.0 and prior to versions 2.29.7, 2.32.7, 2.33.8, and 2.34.2, `POST /api/v2/files` converts zip uploads to tar in memory via `CreateTarFromZip`, which enforced a per-entry size limit but no aggregate limit on total decompressed output, writing to an unbounded in-memory buffer. Exploitation requires authenticated file-upload access and the impact is limited to availability (denial of service). The fix in versions 2.29.7, 2.32.7, 2.33.8, and 2.34.2 adds a metadata preflight check that sums projected entry sizes and a streaming writer that enforces the aggregate limit during decompression. As a workaround, restrict file-upload permissions to trusted users or place a reverse proxy with request-body size limits in front of `coderd`.
Title Coder: Zip upload decompression lacks aggregate size limit, enabling denial of service
Weaknesses CWE-409
CWE-770
References
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-07-08T13:55:16.017Z

Reserved: 2026-06-16T14:33:35.711Z

Link: CVE-2026-55078

cve-icon Vulnrichment

Updated: 2026-07-08T13:55:00.063Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-26T19:00:02Z

Weaknesses
  • CWE-409

    Improper Handling of Highly Compressed Data (Data Amplification)

  • CWE-770

    Allocation of Resources Without Limits or Throttling