{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:coder:coder:*:*:*:*:*:go:*:*",
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "2.29.17"
              },
              {
                "introduced": "2.30.0"
              },
              {
                "fixed": "2.32.7"
              },
              {
                "introduced": "2.33.0"
              },
              {
                "fixed": "2.33.8"
              },
              {
                "introduced": "2.34.0"
              },
              {
                "fixed": "2.34.2"
              }
            ],
            "source": [
              "CPE_RANGE",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "77253bfc55665027a374a5d2fb70f4ff74410326"
            },
            {
              "introduced": "43e67d12e278e13399cffc77f132e8e628339477"
            },
            {
              "fixed": "0374b00b63bc5043a507194f284ef298e0ea3b52"
            },
            {
              "introduced": "f009c17217e6bad9a61ba511d23735bc1ce94da0"
            },
            {
              "fixed": "f9486be96df392b017941ff6a6bd43a629adc86c"
            },
            {
              "introduced": "3006da5ef7a9c27755aa5b2f3f5f05d2c8971a58"
            },
            {
              "fixed": "d7774e5c4ca222ee89a8b6aa82b61c1f8bb81d1f"
            }
          ],
          "repo": "https://github.com/coder/coder",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-x9qq-2qh5-8rxf"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-862"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/55xxx/CVE-2026-55432.json"
  },
  "details": "Coder allows organizations to provision remote development environments via Terraform. Prior to versions 2.29.7, 2.32.7, 2.33.8, and 2.34.2, the `CreateSubAgent` RPC did not validate a requested app sharing level against the template's `MaxPortSharingLevel` before persisting workspace apps, letting a workspace owner exceed the administrator's configured maximum. Exploitation requires the ability to register sub-agent apps in a workspace the attacker controls. The fix in versions 2.29.7, 2.32.7, 2.33.8, and 2.34.2clamps the sub-agent app sharing level to the template's `MaxPortSharingLevel`. As a workaround, disable wildcard app hostnames (`CODER_WILDCARD_ACCESS_URL`) to block subdomain-based app routing.",
  "id": "CVE-2026-55432",
  "modified": "2026-07-10T03:53:30.623853738Z",
  "published": "2026-07-08T00:20:24.264Z",
  "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-55432.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/coder/coder/security/advisories/GHSA-x9qq-2qh5-8rxf"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-55432"
    },
    {
      "type": "FIX",
      "url": "https://github.com/coder/coder/pull/26061"
    }
  ],
  "schema_version": "1.7.5",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Coder's sub-agent app registration bypasses template port-sharing policy enforcement"
}