CVE-2026-55432 Coder's sub-agent app registration bypasses template port-sharing policy enforcement
MediumCVSS 5.4
EPSS 0.32%
- Published
- Updated
- Exploit status
- No public exploit known
Description
Coder allows organizations to provision remote development environments via Terraform. Prior to versions 2.29.7, 2.32.7, 2.33.8, and 2.34.2, the CreateSubAgent RPC did not validate a requested app sharing level against the template's MaxPortSharingLevel before persisting workspace apps, letting a workspace owner exceed the administrator's configured maximum. Exploitation requires the ability to register sub-agent apps in a workspace the attacker controls. The fix in versions 2.29.7, 2.32.7, 2.33.8, and 2.34.2clamps the sub-agent app sharing level to the template's MaxPortSharingLevel. As a workaround, disable wildcard app hostnames (CODER_WILDCARD_ACCESS_URL) to block subdomain-based app routing.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| coder(Go) | >= 2.34.0, < 2.34.2 | 2.34.2 |
| coder(Go) | >= 2.33.0, < 2.33.8 | 2.33.8 |
| coder(Go) | >= 2.30.0, < 2.32.7 | 2.32.7 |
| coder(Go) | < 2.29.17 | 2.29.17 |
| coder(Go) | All versions | No fix listed |
| coder | = >= 2.34.0, < 2.34.2 | No fix listed |
| coder | = >= 2.33.0, < 2.33.8 | No fix listed |
| coder | = >= 2.30.0, < 2.32.7 | No fix listed |
| coder | = < 2.29.17 | No fix listed |
| coder | < 2.29.17 | 2.29.17 |
| coder | >= 2.30.0, < 2.32.7 | 2.32.7 |
| coder | >= 2.33.0, < 2.33.8 | 2.33.8 |
| coder | >= 2.34.0, < 2.34.2 | 2.34.2 |
References
- https://github.com/coder/coder/security/advisories/GHSA-x9qq-2qh5-8rxf patch vendor-advisory
- https://github.com/coder/coder/pull/26061 issue-tracking patch
- github.com product
- https://github.com/coder/coder/releases/tag/v2.29.17 release-notes
- https://github.com/coder/coder/releases/tag/v2.32.7 release-notes
- https://github.com/coder/coder/releases/tag/v2.33.8 release-notes
- https://github.com/coder/coder/releases/tag/v2.34.2 release-notes
- github.com