{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "2.34.0"
              },
              {
                "fixed": "2.34.2"
              },
              {
                "introduced": "2.33.0"
              },
              {
                "fixed": "2.33.8"
              },
              {
                "introduced": "2.30.0"
              },
              {
                "fixed": "2.32.7"
              },
              {
                "introduced": "2.24.0"
              },
              {
                "fixed": "2.29.17"
              }
            ],
            "source": [
              "AFFECTED_FIELD",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "3006da5ef7a9c27755aa5b2f3f5f05d2c8971a58"
            },
            {
              "introduced": "f009c17217e6bad9a61ba511d23735bc1ce94da0"
            },
            {
              "introduced": "43e67d12e278e13399cffc77f132e8e628339477"
            },
            {
              "introduced": "e5a74a775db34d6be3276d7d4f0ab5e7e1c07ec9"
            },
            {
              "fixed": "d7774e5c4ca222ee89a8b6aa82b61c1f8bb81d1f"
            },
            {
              "fixed": "f9486be96df392b017941ff6a6bd43a629adc86c"
            },
            {
              "fixed": "0374b00b63bc5043a507194f284ef298e0ea3b52"
            },
            {
              "fixed": "77253bfc55665027a374a5d2fb70f4ff74410326"
            }
          ],
          "repo": "https://github.com/coder/coder",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-f962-qm93-mj4c"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-789"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/55xxx/CVE-2026-55079.json"
  },
  "details": "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.",
  "id": "CVE-2026-55079",
  "modified": "2026-07-09T03:51:41.418117246Z",
  "published": "2026-07-07T23:50:37.197Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/coder/coder/releases/tag/v2.29.17"
    },
    {
      "type": "WEB",
      "url": "https://github.com/coder/coder/releases/tag/v2.32.7"
    },
    {
      "type": "WEB",
      "url": "https://github.com/coder/coder/releases/tag/v2.33.8"
    },
    {
      "type": "WEB",
      "url": "https://github.com/coder/coder/releases/tag/v2.34.2"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/55xxx/CVE-2026-55079.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/coder/coder/security/advisories/GHSA-f962-qm93-mj4c"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-55079"
    },
    {
      "type": "FIX",
      "url": "https://github.com/coder/coder/pull/25710"
    }
  ],
  "schema_version": "1.7.5",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Coder's unbounded memory allocation in provisioner file upload allows authenticated denial of service"
}