CVE-2026-55078

Coder: Zip upload decompression lacks aggregate size limit, enabling denial of service

Published Jul 7, 2026 CVSS 3.1 · 6.5 Medium EPSS < 1% KEV · Not listed
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`.

Analysis

AI-generated

Technical 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, 2.34.2, and 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 attack, but the risk to external attackers is low. Overall, the threat is operational rather than strategic, and immediate patching mitigates the risk.

Remediation

No solution or workaround provided in the CVE record.

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 August 1, 2026 at 17:03 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
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
First Time appeared Coder
Coder coder
Vendors & Products Coder
Coder coder
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'}

Weaknesses
  • CWE-409

    Improper Handling of Highly Compressed Data (Data Amplification)

  • CWE-770

    Allocation of Resources Without Limits or Throttling

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Jul 8, 2026, 1:55 PM
Reserved
Jun 16, 2026, 2:33 PM
Status
Analyzed
Published
Jul 7, 2026, 11:16 PM
Modified
Jul 8, 2026, 7:45 PM