Authorization Flaw in github.com/coder/coder/v2 (CVE-2026-55435)
Summary
Vulnerability in github.com/coder/coder/v2 (CVE-2026-55435). Risk of unauthorized operations or information disclosure. Exploitable via DELETE /api/v2/users/{user}/keys. Mitigation: upgrade to 2.32.7 or later.
Original description
The description as published by the source.
Coder allows organizations to provision remote development environments via Terraform. Starting in version 2.30.0 and prior to versions 2.32.7, 2.33.8, and 2.34.2, AI Bridge proxy endpoints authenticate via Server.IsAuthorized in coderd/aibridgedserver, which validates key format, expiry, secret and deleted or system users but does not check whether the account is suspended. Because suspension does not revoke existing API keys, a suspended user's unexpired token keeps working. Practical impact is limited to already-issued API keys of suspended users until those keys are deleted. Versions 2.32.7, 2.33.8, and 2.34.2 patch the issue. As a workaround, on suspension, delete the user's API keys via DELETE /api/v2/users/{user}/keys.
Source: GitHub Security Advisories (Global) NVD GitHub Advisory
Auto-generated summary
Assembled by SecPulse from the source data (CVSS, CWE, affected versions) using templates — no AI involved. Check the original description and references below for exact details.
A vulnerability tracked as CVE-2026-55435 has been found in github.com/coder/coder/v2.
Attackers can target a specific entry point like DELETE /api/v2/users/{user}/keys over the network to misuse the product.
Risk of unauthorized operations or information disclosure. CVSS score: 5.4/10.
What to do: upgrade github.com/coder/coder/v2 to 2.32.7 or later.
If unsure, ask your IT team or search "github.com/coder/coder/v2 CVE-2026-55435" on the vendor's site.
CVE-2026-55435 (github.com/coder/coder/v2) — CWE-863 / CVSS v3 5.4
Attack vector: remote (network-reachable) / no user interaction
Attack surface: DELETE /api/v2/users/{user}/keys / Server.IsAuthorized
Patched: 2.32.7 — apply immediately
Workaround: On suspension, delete the user's API keys via DELETE /api/v2/users/{user}/keys.
Plan: 1) Audit SBOM/dependencies, 2) Stage→prod upgrade, 3) Add WAF/proxy monitoring on affected endpoints, 4) Hunt IOCs in logs.
Refs: see the GHSA / vendor advisory / patched release linked on this page.
Incorrect authorization (CWE-863) exists in github.com/coder/coder/v2. Attackers reach the vulnerable code path via DELETE /api/v2/users/{user}/keys.
Check the vendor advisory for the affected versions of github.com/coder/coder/v2. Attack surface: DELETE /api/v2/users/{user}/keys / Server.IsAuthorized.
Severity: Medium (CVSS 5.4/10). Risk of unauthorized operations or information disclosure.
Update to 2.32.7.
Workaround: On suspension, delete the user's API keys via DELETE /api/v2/users/{user}/keys.
Search webserver/proxy logs for unusual DELETE /api/v2/users/{user}/keys requests with malformed payloads or SQL meta-characters. Run grep -r 'github.com/coder/coder/v2' . against your dependency files (package-lock.json, requirements.txt, go.sum) to find affected services.
Response actions
Concrete steps and command examples for SOC/SRE teams to execute in order
-
1Identify exposure identify
grep -r 'github.com/coder/coder/v2' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で
github.com/coder/coder/v2を grep し、稼働しているサービス・バージョンを把握する。 -
2Hunt for indicators of compromise detect
grep 'DELETE /api/v2/users/{user}/keys' /var/log/nginx/access.log | grep -E '(unusual_payload|sqli_pattern)'アクセスログで
DELETE /api/v2/users/{user}/keysへの異常なリクエスト (不正な認証ヘッダ・SQLメタ文字)を過去 30〜90日分捜索。WAF/SIEM があれば該当パスのアラート発火履歴を確認。 -
3Apply temporary workaround mitigate
On suspension, delete the user's API keys via `DELETE /api/v2/users/{user}/keys`.パッチが適用されるまでの応急処置として、On suspension, delete the user's API keys via
DELETE /api/v2/users/{user}/keys. を実施。回避策の副作用 (機能低下) を確認した上で。 -
4Apply patch patch
Upgrade github.com/coder/coder/v2 to 2.32.7ステージング環境で 2.32.7 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスと、Step 2 で見つけた異常検知の続報チェックを含めること。
-
5Post-deployment verification verify
Replay attack against DELETE /api/v2/users/{user}/keys on staging to confirm patch closes the vectorパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番では Step 2 と同じログクエリでアラート再発が無いか継続監視。
Affected packages
References
- advisory github.com
- advisory nvd.nist.gov
- advisory github.com
- package github.com
- patch github.com
- patch github.com
- patch github.com
- web github.com
- web github.com
- web github.com
- web github.com