Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

GHSA-x9qq-2qh5-8rxf: Coder's sub-agent app registration bypasses template port-sharing policy enforcement

0
Medium
Published: 07/06/2026 (07/06/2026, 21:08:32 UTC)
Source: GCVE Database
Product: github.com/coder/coder/v2

Description

A vulnerability in Coder's sub-agent app registration allows a workspace owner to bypass the template's maximum port-sharing level policy. Specifically, the CreateSubAgent RPC did not validate the requested app sharing level against the template's MaxPortSharingLevel before saving workspace apps. This could let an authenticated workspace owner register a sub-agent app with a sharing level higher than allowed, potentially exposing the app to unauthenticated users via wildcard app domains. The issue affects deployments using Enterprise port-sharing policies with wildcard app hostnames and requires an authenticated workspace owner with an agent token. A fix is available in versions 2.34.2, 2.33.8, 2.32.7, and 2.29.17. Disabling wildcard app hostnames can serve as a workaround.

CVSS v3.1

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
None
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N

Affected software

Goghsa
github.com/coder/coder/v2
Affected versions
>=2.34.0 <2.34.2
Goghsa
github.com/coder/coder/v2
Affected versions
>=2.33.0 <2.33.8
Goghsa
github.com/coder/coder/v2
Affected versions
>=2.30.0 <2.32.7
Goghsa
github.com/coder/coder/v2
Affected versions
<2.29.17

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/06/2026, 23:12:14 UTC

Technical Analysis

The CreateSubAgent RPC in github.com/coder/coder/v2 did not enforce the template's MaxPortSharingLevel when registering sub-agent apps, allowing a workspace owner with an agent token to register a sub-agent app with a sharing level exceeding the administrator-configured maximum. This flaw permits setting the sharing level to PUBLIC even if the template restricts it to owner-only, exposing the app to unauthenticated users via wildcard app hostnames. Exploitation requires authenticated access as a workspace owner with an agent token and affects deployments using Enterprise port-sharing policies with wildcard app hostnames. The issue is tracked as CVE-2026-55432 and CWE-862 (Missing Authorization). The vendor released official patches in versions 2.34.2, 2.33.8, 2.32.7, and 2.29.17, which clamp the sub-agent app sharing level to the template's MaxPortSharingLevel. A workaround is to disable wildcard app hostnames (CODER_WILDCARD_ACCESS_URL).

Potential Impact

An authenticated workspace owner with an agent token can bypass the configured maximum port-sharing level by registering a sub-agent app with a higher sharing level than allowed by the template. This can expose the app to unauthenticated users via wildcard app domains, potentially leaking information or access beyond intended limits. The impact is limited to environments using Enterprise port-sharing policies with wildcard app hostnames and requires authenticated access with sufficient privileges. There is no indication of denial of service or integrity impact.

Mitigation Recommendations

Apply the official patches available in versions 2.34.2, 2.33.8, 2.32.7, or 2.29.17 to ensure the sub-agent app sharing level is properly clamped to the template's MaxPortSharingLevel. If immediate patching is not possible, disable wildcard app hostnames (CODER_WILDCARD_ACCESS_URL) to block subdomain-based app routing and prevent exposure via wildcard domains.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-x9qq-2qh5-8rxf
Osv Schema Version
1.4.0
Aliases
["CVE-2026-55432"]
Ecosystems
["Go"]
Database Specific Severity
MODERATE
Cvss Version
3.1

Threat ID: 6a4c340327e9c797195f5f31

Added to database: 07/06/2026, 23:02:27 UTC

Last enriched: 07/06/2026, 23:12:14 UTC

Last updated: 07/06/2026, 23:12:14 UTC

Views: 2

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses