CVE-2026-122193

OS command injection in the example SSM documents in Trusted Remote Execution (REX)

  • Critical 9.9

Description

OS command injection in the example SSM document provisioning script in Trusted Remote Execution (REX) before 2026-07-28 might allow an authenticated remote user who is permitted to invoke the Rex-RO or Rex-RW SSM document to execute arbitrary commands as root on the managed instance, bypassing Cedar policy enforcement. To remediate this issue, users should delete any Rex-RO and Rex-RW SSM documents created from the example script, in each account and Region where it was run.

Key facts

Published
6 Nov 2026
Last changed
6 Nov 2026
Assigned by
AMZN
EPSS
1.626% likely to be exploited in the next 30 days, higher than 76.574% of CVEs (scores for 16 Nov 2026)
SSVC (CISA)
Exploitation: none; Automatable: no; Technical impact: total

Severity scores

Each score is shown as its source gave it. They are not averaged or merged.

  • 9.9CVSS 3.1, Criticalfrom the CNA (AMZN)CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
  • 9.3CVSS 4.0, Criticalfrom the CNA (AMZN)CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:L/SA:N

Historical context and remediation

This reference retains the original CVE publication date. A recent record update does not mean a new attack occurred.

CAPEC-88 OS Command Injection (CNA impact statement)

No explicit remediation statement is available on this page yet. Consult the original record and vendor references before choosing a fix.

Version statuses below come from the CNA. An “unaffected” version is not necessarily a currently supported release or proof of a patch date. EPSS is a dated risk estimate, not a count of historical attacks.

Read the original CVE record.

Affected products

VendorProductVersions
AWStrusted-remote-execution
  • Default status: unaffected
  • N/A (affected)

Timeline

  1. 6 Nov 2026 Published

Weakness

Practice this bug class

HackZoneLabs has a hands-on lab on OS command injection (CWE-78).

References