CVE-2022-36633 is a high-severity (CVSS 8.8) OS Command Injection vulnerability in github.com/gravitational/teleport. 3 public exploit or proof-of-concept references are indexed, so weaponization risk is real. A fix is available for github.com/gravitational/teleport — see the affected versions and patch details below.
Improper token validation leading to code execution in Teleport
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Real-World Exposure
github.com/gravitational/teleport🐹github.com/gravitational/teleport🐹github.com/gravitational/teleportReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Go packages — download data is not available via public APIs for these ecosystems.
Description
Teleport 9.3.6 is vulnerable to Command injection leading to Remote Code Execution. An attacker can craft a malicious ssh agent installation link by URL encoding a bash escape with carriage return line feed. This url encoded payload can be used in place of a token and sent to a user in a social engineering attack. This is fully unauthenticated attack utilizing the trusted teleport server to deliver the payload.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 🐹Go | github.com/gravitational/teleport | all versions | 8.3.17go get github.com/gravitational/teleport@v8.3.17 |
| 🐹Go | github.com/gravitational/teleport | ≥ 9.0.0&&< 9.3.13 | 9.3.13go get github.com/gravitational/teleport@v9.3.13 |
| 🐹Go | github.com/gravitational/teleport | ≥ 10.0.0&&< 10.1.2 | 10.1.2go get github.com/gravitational/teleport@v10.1.2 |
Affected Products
teleportgoteleportResearch use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.
Teleport v10.1.1 - Remote Code Execution (RCE)
by Brandon Roach · Sep 23, 2022
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for github.com/gravitational/teleport, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update github.com/gravitational/teleport to 8.3.17 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2022-36633 is resolved across your whole dependency graph.
Workarounds
Stop passing untrusted input into the interpreter or shell: call the affected binary with an argument array rather than a composed command string, reject anything outside a strict allowlist of expected values, and run the component under an account that cannot reach beyond the work it legitimately does.
Frequently Asked Questions
Is CVE-2022-36633 in your dependencies?
Find it across Go, including transitive dependencies.