{"id":"CVE-2026-55436","aliases":["GHSA-84rm-42xw-mx52"],"title":"Coder's AI Bridge Proxy skips TLS certificate verification in default configuration","summary":"Coder's AI Bridge Proxy skips TLS certificate verification in default configuration","severity":"high","cvss":7.4,"cwe":["CWE-295"],"vendor":"coder","product":"github.com/coder/coder/v2","ecosystem":"go","affected":["github.com/coder/coder/v2 >= 2.34.0, < 2.34.2","github.com/coder/coder/v2 >= 2.33.0, < 2.33.8","github.com/coder/coder/v2 >= 2.30.0, < 2.32.7"],"patched":["github.com/coder/coder/v2 2.34.2","github.com/coder/coder/v2 2.33.8","github.com/coder/coder/v2 2.32.7"],"published":"2026-07-06","updated":"2026-07-06","source":"GHSA","sourceUrl":"https://github.com/advisories/GHSA-84rm-42xw-mx52","references":[{"url":"https://github.com/coder/coder/security/advisories/GHSA-84rm-42xw-mx52"},{"url":"https://github.com/coder/coder/pull/26131"},{"url":"https://github.com/advisories/GHSA-84rm-42xw-mx52"}],"tags":["ghsa","go"],"ingestedAt":"2026-07-06T21:45:52.946Z","epss":0.00258,"epssPercentile":0.17765,"slug":"CVE-2026-55436","body":"## Overview\n\n### Summary\n\nThe AI Bridge Proxy (`aibridgeproxyd`) created a goproxy server whose default transport set `InsecureSkipVerify: true` and only assigned a secure transport when an upstream proxy was configured. In the default configuration (no upstream proxy), outbound HTTPS to the Coder access URL accepted any TLS certificate.\n\n> **Note:** Practical exploitation requires an on-path (man-in-the-middle) position between the AI Bridge Proxy and the Coder server. Deployments where they are co-located over loopback are effectively unaffected.\n\n### Impact\n\nAn attacker positioned between the proxy and the Coder server, via ARP spoofing, DNS poisoning or control of proxy environment variables, could intercept injected Coder session tokens, user-supplied provider API keys (BYOK) and full request and response bodies including prompts and completions. The default transport also honored `HTTP_PROXY` and `HTTPS_PROXY`, allowing environment-based traffic redirection.\n\n### Patches\n\nThe fix applies the secure transport (TLS 1.2 or higher using system root CAs) unconditionally. The AI Bridge Proxy was introduced in v2.30.0. Earlier release lines including the v2.29 ESR line are not affected.\n\nThe fix is available in the following releases:\n\n| Release line | Patched version |\n|---|---|\n| 2.34 | [v2.34.2](https://github.com/coder/coder/releases/tag/v2.34.2) |\n| 2.33 | [v2.33.8](https://github.com/coder/coder/releases/tag/v2.33.8) |\n| 2.32 | [v2.32.7](https://github.com/coder/coder/releases/tag/v2.32.7) |\n\n### Workarounds\n\nEnsure the Coder access URL uses a trusted certificate and secure the network path between the AI Bridge Proxy and the Coder server (for example, loopback or mTLS).\n\n### Resources\n\n- Fix: #26131\n\n### Credits\n\nCoder would like to thank Anthropic's Security Team (ANT-2026-22455) for independently disclosing this issue!\n\n## Affected packages\n\n- `github.com/coder/coder/v2 >= 2.34.0, < 2.34.2`\n- `github.com/coder/coder/v2 >= 2.33.0, < 2.33.8`\n- `github.com/coder/coder/v2 >= 2.30.0, < 2.32.7`\n\n## Remediation\n\nUpgrade to a patched release:\n\n- `github.com/coder/coder/v2 2.34.2`\n- `github.com/coder/coder/v2 2.33.8`\n- `github.com/coder/coder/v2 2.32.7`","depth":"twilight","depthScore":41,"depthScoreParts":{"impact":40.7,"likelihood":0.1,"exploitation":0,"ransomware":0},"changes":[]}