CVE-2026-118687: Coder before 2.29.21, 2.34.12, 2.35.9, 2.36.7, and 2.37.4 Missing Audience Validation in GCP Instance-Identity Authentication

Published Oct 28, 2026
·
Updated

Coder before 2.29.21, 2.30.0 before 2.34.12, 2.35.0 before 2.35.9, 2.36.0 before 2.36.7, and 2.37.0 before 2.37.4 does not validate the audience claim of GCE instance-identity JWTs at the POST /api/v2/workspaceagents/google-instance-identity endpoint. Attackers who obtain an unexpired format=full identity token minted for another relying party can replay it to obtain that workspace agent's session token, which remains valid until the workspace's next build.

Affected Software

1 affected component
Coder Coder<2.29.21, >=2.30.0<2.34.12, >=2.35.0<2.35.9, >=2.36.0<2.36.7, >=2.37.0<2.37.4

Event History

Oct 28, 2026
CVE Published
via MITRE·06:59 PM
Data Sourced
via MITRE·06:59 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are affected?

Affected deployments are Coder versions before 2.29.21; 2.30.0 through before 2.34.12; 2.35.0 through before 2.35.9; 2.36.0 through before 2.36.7; and 2.37.0 through before 2.37.4, where GCP instance-identity authentication is used at the workspace-agent endpoint.

2

What does an attacker need to exploit this issue?

An attacker needs an unexpired, format=full GCE instance-identity JWT that was minted for another relying party. The token can then be replayed to the affected workspace-agent authentication endpoint without audience validation.

3

What access can exploitation provide?

Successful replay obtains the targeted workspace agent's session token. That session token remains valid until the workspace's next build.

4

What mitigation is available if a patch cannot be applied immediately?

The provided information does not specify a workaround. Rebuilding the affected workspace ends validity of a session token obtained through exploitation, but this is not described as a preventative mitigation.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203