Missing Authorization Affecting github.com/coder/coder/coderd/agentapi package, versions >=0.0.0


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.18% (8th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Missing Authorization vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GITHUBCOMCODERCODERCODERDAGENTAPI-17872199
  • published6 Jul 2026
  • disclosed6 Jul 2026
  • creditUnknown

Introduced: 6 Jul 2026

CVE-2026-55432  (opens in a new tab)
CWE-862  (opens in a new tab)

How to fix?

There is no fixed version for github.com/coder/coder/coderd/agentapi.

Overview

Affected versions of this package are vulnerable to Missing Authorization in the CreateSubAgent process. An attacker can gain unauthorized access to workspace applications by registering sub-agent apps with a sharing level that exceeds the administrator's configured maximum, thereby exposing these apps to unauthenticated users via wildcard app domains. This is only exploitable if the deployment uses Enterprise port-sharing policy, wildcard app hostnames are enabled, and the attacker is an authenticated workspace owner with an agent token.

Workaround

This vulnerability can be mitigated by disabling wildcard app hostnames (CODER_WILDCARD_ACCESS_URL) to block subdomain-based app routing.

CVSS Base Scores

version 4.0
version 3.1