# CVE-2026-122193: AWS Trusted Remote Execution OS command injection in SSM document

Source: https://junglewise.ai/threats/cve-2026-122193-os-command-injection-in-the-example-ssm-document-provisioning  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-11-06. Updated: 2026-11-06  
License: CC BY 4.0 with a link back

CVE-2026-122193 · Severity: critical · CVSS 9.9 · Published 2026-11-06

AWS Trusted Remote Execution (REX) is a service for executing commands on managed instances through Systems Manager (SSM). A flaw in the example provisioning script allows authenticated users with permission to invoke certain SSM documents to run arbitrary commands as root on target instances, potentially leading to full system compromise and circumventing security policy controls.

Technologies: [Amazon AWS](https://junglewise.ai/threats/technologies/aws). Vendors: [Amazon](https://junglewise.ai/threats/vendors/amazon), [Amazon Web Services](https://junglewise.ai/threats/vendors/amazon-web-services).

## Quick answers

**Is CVE-2026-122193 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-122193 being exploited in the wild.

**How severe is CVE-2026-122193?** Critical severity, with a CVSS score of 9.9, published 6 November 2026.

**Which products and versions are affected?** Amazon Web Services Trusted Remote Execution before 2026-07-28.

**Is there a fix for CVE-2026-122193?** No fixed version is recorded yet. Delete any Rex-RO and Rex-RW SSM documents created from the example script in each account and Region where it was run. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**How is CVE-2026-122193 attacked?** It is attacked over the network, in a hosted service.

**Am I affected by CVE-2026-122193?** Check whether you run Amazon AWS or Amazon Web Services Trusted Remote Execution at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix


Delete any Rex-RO and Rex-RW SSM documents created from the example script in each account and Region where it was run.

## Technical details

The vulnerability is an OS command injection flaw in the example SSM document provisioning script for Trusted Remote Execution. An authenticated remote user with permission to invoke the Rex-RO or Rex-RW SSM documents can exploit this to execute arbitrary commands as root on managed instances, bypassing Cedar policy enforcement. The issue affects versions before 2026-07-28.

## Affected products

- Amazon Web Services Trusted Remote Execution before 2026-07-28

## Timeline

- 2026-11-06: disclosed

## References

- [https://staging.prod.website.marketing.aws.dev/security/security-bulletins/2026-173-aws/](https://staging.prod.website.marketing.aws.dev/security/security-bulletins/2026-173-aws/)

## Related threats

- [An untrusted search path issue in Aurora PostgreSQL dialect detection in the AWS Advanced Go Wrapper from release 2026-04-06 (awssql/v2.0.0)](https://junglewise.ai/threats/cve-2026-126793-privilege-escalation-in-aurora-postgresql-dialect-detection-in)
- [AWS SDK for pandas EMR unverified bucket ownership](https://junglewise.ai/threats/cve-2026-127119-unverified-ownership-of-the-default-emr-cluster-log-location-in)
- [Amazon mcp-gateway-registry server-side request forgery in registration API](https://junglewise.ai/threats/cve-2026-125926-server-side-request-forgery-in-the-server-registration-and)
- [Amazon mcp-gateway-registry authorization bypass in management API](https://junglewise.ai/threats/cve-2026-100307-missing-authorization-on-the-external-management-api-in-mcp)
- [AWS Kiro CLI incorrect default permissions on session files](https://junglewise.ai/threats/cve-2026-124848-incorrect-default-permissions-on-session-transcripts-and-prompt)
