github.com/coder/coder/v2 vulnerabilities
- Registry
- Go
- Latest
- 2.39.4
56 known advisories
The latest version, 2.39.4, is not affected by any of them. Projects on older versions may be.
go get github.com/coder/coder/v2@v2.39.4Is your project on an affected github.com/coder/coder/v2?
Look after several Go apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Security advisories for github.com/coder/coder/v2
Coder: Login endpoint user enumeration via timing-defense placeholder in password comparison in github.com/coder/coder
- Affected
- <2.29.17 · >=2.30.0 <2.32.7 · >=2.33.0 <2.33.8 · >=2.34.0 <2.34.2
- Fixed in
- 2.29.17, 2.32.7, 2.33.8, 2.34.2
Coder: Stored HTML injection via unescaped ApplicationName and LogoURL appearance settings in github.com/coder/coder
- Affected
- <2.29.17 · >=2.30.0 <2.32.7 · >=2.33.0 <2.33.8 · >=2.34.0 <2.34.2
- Fixed in
- 2.29.17, 2.32.7, 2.33.8, 2.34.2
Coder: Stored HTML injection via unescaped ApplicationName and LogoURL appearance settings
- Affected
- >=2.34.0 <2.34.2 · >=2.33.0 <2.33.8 · >=2.30.0 <2.32.7 · <2.29.17
- Fixed in
- 2.29.17, 2.32.7, 2.33.8, 2.34.2
Coder: Login endpoint user enumeration via timing-defense placeholder in password comparison
- Affected
- >=2.34.0 <2.34.2 · >=2.33.0 <2.33.8 · >=2.30.0 <2.32.7 · <2.29.17
- Fixed in
- 2.29.17, 2.32.7, 2.33.8, 2.34.2
Coder: Zip upload decompression lacks aggregate size limit, enabling denial of service in github.com/coder/coder
- Affected
- >=2.17.0 <2.29.17 · >=2.30.0 <2.32.7 · >=2.33.0 <2.33.8 · >=2.34.0 <2.34.2
- Fixed in
- 2.29.17, 2.32.7, 2.33.8, 2.34.2
Coder's subdomain workspace app routing trusts unauthenticated X-Forwarded-Host header, enabling cross-app data access in github.com/coder/coder
- Affected
- <2.29.17 · >=2.30.0 <2.32.7 · >=2.33.0 <2.33.8 · >=2.34.0 <2.34.2
- Fixed in
- 2.29.17, 2.32.7, 2.33.8, 2.34.2
Coder's workspace app CORS origin check can be bypassed via UUID-based subdomain spoofing in github.com/coder/coder
- Affected
- <2.29.17 · >=2.30.0 <2.32.7 · >=2.33.0 <2.33.8 · >=2.34.0 <2.34.2
- Fixed in
- 2.29.17, 2.32.7, 2.33.8, 2.34.2
Coder vulnerable to stored HTML injection via workspace agent logs in AgentLogLine component in github.com/coder/coder
- Affected
- <2.29.17 · >=2.30.0 <2.32.7 · >=2.33.0 <2.33.8 · >=2.34.0 <2.34.2
- Fixed in
- 2.29.17, 2.32.7, 2.33.8, 2.34.2
Coder's AI Bridge Proxy skips TLS certificate verification in default configuration in github.com/coder/coder
- Affected
- >=2.30.0 <2.32.7 · >=2.33.0 <2.33.8 · >=2.34.0 <2.34.2
- Fixed in
- 2.32.7, 2.33.8, 2.34.2
Coder vulnerable to denial of service via unbounded request body in AI Bridge provider endpoints in github.com/coder/coder
- Affected
- >=2.33.0 <2.33.8 · >=2.34.0 <2.34.2
- Fixed in
- 2.33.8, 2.34.2
Coder: Devcontainer recreate endpoint missing write authorization allows read-only roles to destroy containers in github.com/coder/coder
- Affected
- <2.29.17 · >=2.30.0 <2.32.7 · >=2.33.0 <2.33.8 · >=2.34.0 <2.34.2
- Fixed in
- 2.29.17, 2.32.7, 2.33.8, 2.34.2
Coder's workspace agent API insecure redirect handling allowed cross-agent file read and write in github.com/coder/coder
- Affected
- >=2.27.0 <2.29.19 · >=2.30.0 <2.32.9 · >=2.33.0 <2.33.10 · >=2.34.0 <2.34.4
- Fixed in
- 2.29.19, 2.32.9, 2.33.10, 2.34.4
Coder's session token leaked to arbitrary hosts via `coder open app` for external workspace apps in github.com/coder/coder
- Affected
- <2.29.17 · >=2.30.0 <2.32.7 · >=2.33.0 <2.33.8 · >=2.34.0 <2.34.2
- Fixed in
- 2.29.17, 2.32.7, 2.33.8, 2.34.2
Suspended Coder users retain access to AI Bridge LLM proxy endpoints in github.com/coder/coder
- Affected
- >=2.30.0 <2.32.7 · >=2.33.0 <2.33.8 · >=2.34.0 <2.34.2
- Fixed in
- 2.32.7, 2.33.8, 2.34.2
Coder's sub-agent app registration bypasses template port-sharing policy enforcement in github.com/coder/coder
- Affected
- <2.29.17 · >=2.30.0 <2.32.7 · >=2.33.0 <2.33.8 · >=2.34.0 <2.34.2
- Fixed in
- 2.29.17, 2.32.7, 2.33.8, 2.34.2
Coder vulnerable to workspace auto-creation via crafted URL parameters without user consent in github.com/coder/coder
- Affected
- <2.29.7 · >=2.30.0 <2.30.2
- Fixed in
- 2.29.7, 2.30.2
Coder: User-admin role can reset owner account password in github.com/coder/coder
- Affected
- <2.29.17 · >=2.30.0 <2.32.7 · >=2.33.0 <2.33.8 · >=2.34.0 <2.34.2
- Fixed in
- 2.29.17, 2.32.7, 2.33.8, 2.34.2
Coder's OIDC email_verified type coercion bypass enables account takeover via unverified email linking in github.com/coder/coder
- Affected
- <2.29.17 · >=2.30.0 <2.32.7 · >=2.33.0 <2.33.8 · >=2.34.0 <2.34.2
- Fixed in
- 2.29.17, 2.32.7, 2.33.8, 2.34.2
Coder vulnerable to OIDC account takeover via email-based user matching and email_verified bypass in github.com/coder/coder
- Affected
- <2.29.17 · >=2.30.0 <2.32.7 · >=2.33.0 <2.33.8 · >=2.34.0 <2.34.2
- Fixed in
- 2.29.17, 2.32.7, 2.33.8, 2.34.2
Coder's workspace app upsert allows cross-workspace agent rebinding via user-controlled app ID in github.com/coder/coder
- Affected
- <2.29.17 · >=2.30.0 <2.32.7 · >=2.33.0 <2.33.8 · >=2.34.0 <2.34.2
- Fixed in
- 2.29.17, 2.32.7, 2.33.8, 2.34.2
Coder's unbounded memory allocation in provisioner file upload allows authenticated denial of service in github.com/coder/coder
- Affected
- >=2.24.0 <2.29.17 · >=2.30.0 <2.32.7 · >=2.33.0 <2.33.8 · >=2.34.0 <2.34.2
- Fixed in
- 2.29.17, 2.32.7, 2.33.8, 2.34.2
Coder vulnerable to SSH config injection via unsanitized server-supplied values in `coder config-ssh` in github.com/coder/coder
- Affected
- <2.29.17 · >=2.30.0 <2.32.7 · >=2.33.0 <2.33.8 · >=2.34.0 <2.34.2
- Fixed in
- 2.29.17, 2.32.7, 2.33.8, 2.34.2
Coder: Route hijacking through lack of validation of agent-supplied AllowedIPs in tailnet coordinator in github.com/coder/coder
- Affected
- <2.29.17 · >=2.30.0 <2.32.7 · >=2.33.0 <2.33.8 · >=2.34.0 <2.34.2
- Fixed in
- 2.29.17, 2.32.7, 2.33.8, 2.34.2
Coder's workspace agent API insecure redirect handling allowed cross-agent file read and write
- Affected
- >=2.34.0 <2.34.4 · >=2.33.0 <2.33.10 · >=2.30.0 <2.32.9 · >=2.27.0 <2.29.19
- Fixed in
- 2.29.19, 2.32.9, 2.33.10, 2.34.4
Coder's workspace app CORS origin check can be bypassed via UUID-based subdomain spoofing
- Affected
- >=2.34.0 <2.34.2 · >=2.33.0 <2.33.8 · >=2.30.0 <2.32.7 · <2.29.17
- Fixed in
- 2.29.17, 2.32.7, 2.33.8, 2.34.2
Coder vulnerable to stored HTML injection via workspace agent logs in AgentLogLine component
- Affected
- >=2.34.0 <2.34.2 · >=2.33.0 <2.33.8 · >=2.30.0 <2.32.7 · <2.29.17
- Fixed in
- 2.29.17, 2.32.7, 2.33.8, 2.34.2
Coder's AI Bridge Proxy skips TLS certificate verification in default configuration
- Affected
- >=2.34.0 <2.34.2 · >=2.33.0 <2.33.8 · >=2.30.0 <2.32.7
- Fixed in
- 2.32.7, 2.33.8, 2.34.2
Suspended Coder users retain access to AI Bridge LLM proxy endpoints
- Affected
- >=2.34.0 <2.34.2 · >=2.33.0 <2.33.8 · >=2.30.0 <2.32.7
- Fixed in
- 2.32.7, 2.33.8, 2.34.2
Coder vulnerable to denial of service via unbounded request body in AI Bridge provider endpoints
- Affected
- >=2.34.0 <2.34.2 · >=2.33.0 <2.33.8
- Fixed in
- 2.33.8, 2.34.2
Coder: Devcontainer recreate endpoint missing write authorization allows read-only roles to destroy containers
- Affected
- >=2.34.0 <2.34.2 · >=2.33.0 <2.33.8 · >=2.30.0 <2.32.7 · <2.29.17
- Fixed in
- 2.29.17, 2.32.7, 2.33.8, 2.34.2
Coder's sub-agent app registration bypasses template port-sharing policy enforcement
- Affected
- >=2.34.0 <2.34.2 · >=2.33.0 <2.33.8 · >=2.30.0 <2.32.7 · <2.29.17
- Fixed in
- 2.29.17, 2.32.7, 2.33.8, 2.34.2
Coder's session token leaked to arbitrary hosts via `coder open app` for external workspace apps
- Affected
- >=2.34.0 <2.34.2 · >=2.33.0 <2.33.8 · >=2.30.0 <2.32.7 · <2.29.17
- Fixed in
- 2.29.17, 2.32.7, 2.33.8, 2.34.2
Coder: Zip upload decompression lacks aggregate size limit, enabling denial of service
- Affected
- >=2.34.0 <2.34.2 · >=2.33.0 <2.33.8 · >=2.30.0 <2.32.7 · >=2.17.0 <2.29.17
- Fixed in
- 2.29.17, 2.32.7, 2.33.8, 2.34.2
Coder's subdomain workspace app routing trusts unauthenticated X-Forwarded-Host header, enabling cross-app data access
- Affected
- >=2.34.0 <2.34.2 · >=2.33.0 <2.33.8 · >=2.30.0 <2.32.7 · <2.29.17
- Fixed in
- 2.29.17, 2.32.7, 2.33.8, 2.34.2
Coder: Route hijacking through lack of validation of agent-supplied AllowedIPs in tailnet coordinator
- Affected
- >=2.34.0 <2.34.2 · >=2.33.0 <2.33.8 · >=2.30.0 <2.32.7 · <2.29.17
- Fixed in
- 2.29.17, 2.32.7, 2.33.8, 2.34.2
Coder's workspace app upsert allows cross-workspace agent rebinding via user-controlled app ID
- Affected
- >=2.34.0 <2.34.2 · >=2.33.0 <2.33.8 · >=2.30.0 <2.32.7 · <2.29.17
- Fixed in
- 2.29.17, 2.32.7, 2.33.8, 2.34.2
Coder's unbounded memory allocation in provisioner file upload allows authenticated denial of service
- Affected
- >=2.34.0 <2.34.2 · >=2.33.0 <2.33.8 · >=2.30.0 <2.32.7 · >=2.24.0 <2.29.17
- Fixed in
- 2.29.17, 2.32.7, 2.33.8, 2.34.2
Coder vulnerable to SSH config injection via unsanitized server-supplied values in `coder config-ssh`
- Affected
- >=2.34.0 <2.34.2 · >=2.33.0 <2.33.8 · >=2.30.0 <2.32.7 · <2.29.17
- Fixed in
- 2.29.17, 2.32.7, 2.33.8, 2.34.2
Coder: User-admin role can reset owner account password
- Affected
- >=2.34.0 <2.34.2 · >=2.33.0 <2.33.8 · >=2.30.0 <2.32.7 · <2.29.17
- Fixed in
- 2.29.17, 2.32.7, 2.33.8, 2.34.2
Coder vulnerable to OIDC account takeover via email-based user matching and email_verified bypass
- Affected
- >=2.34.0 <2.34.2 · >=2.33.0 <2.33.8 · >=2.30.0 <2.32.7 · <2.29.17
- Fixed in
- 2.29.17, 2.32.7, 2.33.8, 2.34.2
Coder's OIDC email_verified type coercion bypass enables account takeover via unverified email linking
- Affected
- >=2.34.0 <2.34.2 · >=2.33.0 <2.33.8 · >=2.30.0 <2.32.7 · <2.29.17
- Fixed in
- 2.29.17, 2.32.7, 2.33.8, 2.34.2
Coder vulnerable to workspace auto-creation via crafted URL parameters without user consent
- Affected
- <2.29.7 · >=2.30.0 <2.30.2
- Fixed in
- 2.29.7, 2.30.2
Coder: PKCS#7 signature bypass in Azure instance identity allows unauthenticated agent token theft in github.com/coder/coder
- Affected
- <2.24.5 · >=2.29.0 <2.29.13 · >=2.30.0 <2.30.8 · >=2.31.0 <2.31.12 · >=2.32.0-rc.0 <2.32.2 · >=2.33.0-rc.0 <2.33.3
- Fixed in
- 2.24.5, 2.29.13, 2.30.8, 2.31.12, 2.32.2, 2.33.3
Coder: Unauthenticated SSRF via Azure Instance Identity Endpoint in github.com/coder/coder
- Affected
- <2.24.5 · >=2.29.0 <2.29.13 · >=2.30.0 <2.30.8 · >=2.31.0 <2.31.12 · >=2.32.0-rc.0 <2.32.2 · >=2.33.0-rc.0 <2.33.3
- Fixed in
- 2.24.5, 2.29.13, 2.30.8, 2.31.12, 2.32.2, 2.33.3
Coder: PKCS#7 signature bypass in Azure instance identity allows unauthenticated agent token theft
- Affected
- >=2.33.0-rc.0 <2.33.3 · >=2.32.0-rc.0 <2.32.2 · >=2.31.0 <2.31.12 · >=2.30.0 <2.30.8 · >=2.29.0 <2.29.13 · <2.24.5
- Fixed in
- 2.24.5, 2.29.13, 2.30.8, 2.31.12, 2.32.2, 2.33.3
Coder: Unauthenticated SSRF via Azure Instance Identity Endpoint
- Affected
- >=2.33.0-rc.0 <2.33.3 · >=2.32.0-rc.0 <2.32.2 · >=2.31.0 <2.31.12 · >=2.30.0 <2.30.8 · >=2.29.0 <2.29.13 · <2.24.5
- Fixed in
- 2.24.5, 2.29.13, 2.30.8, 2.31.12, 2.32.2, 2.33.3
Coder logs sensitive objects unsanitized in github.com/coder/coder
- Affected
- <2.26.5 · >=2.27.0 <2.27.7 · >=2.28.0 <2.28.4
- Fixed in
- 2.26.5, 2.27.7, 2.28.4
Coder logs sensitive objects unsanitized
- Affected
- <2.26.5 · >=2.27.0 <2.27.7 · >=2.28.0 <2.28.4
- Fixed in
- 2.26.5, 2.27.7, 2.28.4
Coder vulnerable to privilege escalation could lead to a cross workspace compromise in github.com/coder/coder
- Affected
- >=2.22.0 <2.24.4 · >=2.25.0 <2.25.2
- Fixed in
- 2.24.4, 2.25.2
Coder accepts an APIKey beyond the linked OIDC expiry if there is no refresh token in github.com/coder/coder
- Affected
- <2.23.0
- Fixed in
- 2.23.0
Coder vulnerable to privilege escalation could lead to a cross workspace compromise
- Affected
- >=2.22.0 <2.24.4 · >=2.25.0 <2.25.2
- Fixed in
- 2.24.4, 2.25.2
Coder accepts an APIKey beyond the linked OIDC expiry if there is no refresh token
- Affected
- <2.23.0
- Fixed in
- 2.23.0
Coder vulnerable to post-auth URL redirection to untrusted site ('Open Redirect') in github.com/coder/coder
- Affected
- >=2.3.1 <2.14.4 · >=2.15.0 <2.15.3 · >=2.16.0 <2.16.1
- Fixed in
- 2.14.4, 2.15.3, 2.16.1
Coder vulnerable to post-auth URL redirection to untrusted site ('Open Redirect')
- Affected
- >=2.16.0 <2.16.1 · >=2.15.0 <2.15.3 · >=2.3.1 <2.14.4
- Fixed in
- 2.14.4, 2.15.3, 2.16.1
Incorrect email domain verification in github.com/coder/coder
- Affected
- <2.6.1 · >=2.7.0 <2.7.3 · >=2.8.0 <2.8.4
- Fixed in
- 2.6.1, 2.7.3, 2.8.4
Coder's OIDC authentication allows email with partially matching domain to register
- Affected
- >=2.8.0 <2.8.4 · >=2.7.0 <2.7.3 · <2.6.1
- Fixed in
- 2.6.1, 2.7.3, 2.8.4
Is your github.com/coder/coder/v2 version vulnerable?
- github.com/coder/coder/v2 2.39No known advisories in 2.39.4
- github.com/coder/coder/v2 2.38No known advisories in 2.38.10
- github.com/coder/coder/v2 2.37No known advisories in 2.37.14
- github.com/coder/coder/v2 2.36No known advisories in 2.36.12
- github.com/coder/coder/v2 2.35No known advisories in 2.35.12
- github.com/coder/coder/v2 2.34No known advisories in 2.34.21
Which of your client projects still run an old github.com/coder/coder/v2?
NPMscan reads the go.mod in every GitHub repo you pick and checks each installed version against these advisories, including the packages your packages pull in. Each finding comes with the command that fixes it.
Other Go packages
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily. Package details from the Go registry.