CVE-2026-137548: Coder from 2.38.0 before 2.38.7 Unsafe URL Scheme in App Status Links
Coder before 2.29.27, 2.30.0 before 2.34.19, 2.35.0 before 2.37.11, and 2.38.0 before 2.38.7 does not validate the URL scheme of the agent-supplied uri field in app status updates, which the dashboard renders as a clickable link. An attacker holding a workspace agent token, including a prompt-injected AI agent, can show workspace or task viewers links that send them to phishing sites or non-web applications.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 2.29.27 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 2.34.19 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 2.37.11 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 2.38.7
Event History
Frequently Asked Questions
Who is exposed to this issue?
Workspace or task viewers are exposed when they click an app-status link supplied by a workspace agent. Exploitation requires an attacker to hold a workspace agent token, which can include a prompt-injected AI agent.
Are all Coder versions affected?
Affected versions are Coder before 2.29.27; versions from 2.30.0 before 2.34.19; versions from 2.35.0 before 2.37.11; and versions from 2.38.0 before 2.38.7.
What can an attacker do with a compromised or controlled workspace agent token?
The attacker can set an agent-supplied URI in an app status update that the dashboard presents as a clickable link. The link can direct viewers to phishing sites or non-web applications.