# CVE-2022-36633: Improper token validation leading to code execution in Teleport

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.8
- **CVSS:** 8.8 (v3.1, NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: Required; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** Yes (see exploit references)
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 19.31% (percentile 98, 2026-11-26)
- **CWE:** CWE-78
- **Aliases:** EDB-51019, GHSA-6xf3-5hp7-xqqg
- **Published:** 2022-08-24T12:29:54.000Z
- **Modified:** 2026-08-07T08:12:02.121Z

## Who should check

- Projects that depend on Go package github.com/gravitational/teleport (\< 8.3.17)
- Anyone running n/a (versions: see the vendor advisory)

## 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 and fixed versions

- Go `github.com/gravitational/teleport`: affected \< 8.3.17; fixed 8.3.17, 9.3.13, 10.1.2 (osv)
- n/a: see vendor advisory (nvd)

## Mitigation

- Upgrade github.com/gravitational/teleport to one of 8.3.17, 9.3.13, 10.1.2 (or later in the same release line).

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2022-36633. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-36633.md
Affected: github.com/gravitational/teleport < 8.3.17
Fixed in: 8.3.17, 9.3.13, 10.1.2

Steps:
1. Search this machine and project for github.com/gravitational/teleport (Go), n/a: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2022-36633 being exploited?

There is no confirmed exploitation: CVE-2022-36633 is not in the CISA Known Exploited Vulnerabilities catalog. Public exploit code or a proof of concept is available. EPSS estimates a 19.31% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2022-36633?

High: CVSS 8.8 (v3.1, scored by NVD). Remote, no login needed. A user has to take an action, such as opening a link, for the attack to work.

### Which versions are affected by CVE-2022-36633?

github.com/gravitational/teleport \< 8.3.17.

### Is there a fix for CVE-2022-36633?

Yes. Fixed in 8.3.17, 9.3.13, 10.1.2. Upgrade github.com/gravitational/teleport to one of 8.3.17, 9.3.13, 10.1.2 (or later in the same release line).

### How do I check if I'm affected by CVE-2022-36633?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2022-36633>
- patch: <https://github.com/gravitational/teleport/pull/14726>
- patch: <https://github.com/gravitational/teleport/pull/14726/commits/46c23b9b64b944d1e82d2c8a79083f291ffdd3b6>
- exploit: <https://packetstormsecurity.com/files/168137/Teleport-9.3.6-Command-Injection.html>
- exploit: <http://packetstormsecurity.com/files/168477/Teleport-10.1.1-Remote-Code-Execution.html>
- exploit: <https://www.exploit-db.com/exploits/51019>
- other: <https://github.com/gravitational/teleport>
- other: <https://github.com/gravitational/teleport/releases/tag/v10.1.2>
- other: <https://github.com/gravitational/teleport/releases/tag/v8.3.17>
- other: <https://github.com/gravitational/teleport/releases/tag/v9.3.13>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2022-36633>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-6xf3-5hp7-xqqg> (license: <https://creativecommons.org/licenses/by/4.0/>)
- Exploit-DB: Exploit metadata (ID and link only) from the Exploit Database <https://www.exploit-db.com/exploits/51019>

HTML: <https://flawdb.com/CVE-2022-36633> · JSON: <https://flawdb.com/api/v1/entries/CVE-2022-36633>
