Skip to main content

AWS Systems Manager CVE-2026-134070

| EUVDEUVD-2026-135714 HIGH
Improper Neutralization of Directives in Statically Saved Code ('Static Code Injection') (CWE-96)
2026-11-25 AMZN GHSA-j242-6f68-5fhq
7.2
CVSS 4.0 · Vendor: AMZN
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Hold IAM permission to run the runbook
  2. Delivery
    Invoke pre-fix revision in a Region lacking the preferences document
  3. Exploit
    Inject commands via crafted S3KeyPrefix into new SSM-SessionManagerRunShell doc
  4. Execution
    Victim starts a Session Manager session
  5. Impact
    Arbitrary commands execute on managed instances

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Static code injection prevention
Exploitation Conditions

Exploitation requires an authenticated IAM principal who already holds permission to run the AWSConfigRemediation-EnableSystemsManagerSessionManagerAuditLogsToS3 runbook (PR:L) and who can select and run an earlier, pre-fix revision of it. The critical limiting precondition (AT:P): the Regional Session Manager preferences document SSM-SessionManagerRunShell must NOT already exist in the target Region - injection happens only when an earlier revision CREATES that document, so if a trusted preferences document already exists in the Region, this path is closed there. The malicious payload is delivered through a crafted S3KeyPrefix parameter value. Impact is not immediate: it only materializes when OTHER users subsequently start Session Manager sessions on managed instances in that Region (UI:P). Additional limiting factors: the fixed latest revision closes the issue, but because any permitted user chooses the revision, earlier revisions remain exploitable until AWS deprecation (begins 2027-01-15), so upgrading pinned automations alone is insufficient unless untrusted users are blocked from running earlier revisions.

Impact

This is a genuine but constrained privilege/integrity issue rather than a mass-exploitable critical flaw. The vendor CVSS 4.0 vector (AV:N/AC:L/AT:P/PR:L/UI:P, score 7.2 High) tells a consistent story: the SSM API is network-reachable (AV:N) and the request itself is simple (AC:L), but three real brakes apply - AT:P means a specific environmental precondition is required (the SSM-SessionManagerRunShell preferences document must not already exist in the Region), PR:L means the actor must already hold IAM permission to run the runbook (so this is an authenticated/insider-or-compromised-credential path, not an anonymous internet attack), and UI:P means impact only lands when another user later starts a Session Manager session. Impact is skewed to integrity and to the subsequent system: VC:N/VI:H/VA:N on the SSM document itself, but SC:H/SI:H/SA:H on managed instances, i.e. arbitrary command execution on EC2/hybrid instances via a poisoned session preferences document. No conflicting severity signals, but several decision signals are simply ABSENT from the input: there is no KEV entry, no EPSS score provided, and no PoC reference beyond the AWS advisory - so exploitation is 'no public exploit identified at time of analysis.' The vuln.today decision label is this_week, which fits an authenticated-but-high-impact AWS-managed-component issue that warrants prompt remediation without being an emergency. Net: prioritize for cloud-security/IAM teams who have accounts using this runbook, but it is not indiscriminately wormable.

Exploit ScenarioDerived

An authenticated IAM principal permitted to run the runbook executes an earlier (pre-fix) revision of AWSConfigRemediation-EnableSystemsManagerSessionManagerAuditLogsToS3 in a Region that does not yet have an SSM-SessionManagerRunShell preferences document, passing a crafted S3KeyPrefix value that smuggles arbitrary commands into the document the runbook then creates. Later, when any other user starts a Session Manager session on a managed instance in that Region, the injected commands execute on that instance. No public exploit code is identified; only the AWS security bulletin is referenced.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.6% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv2 – Nov 25, 2026

An authenticated AWS principal that is already permitted to run the AWS-managed Systems Manager Automation runbook AWSConfigRemediation-EnableSystemsManagerSessionManagerAuditLogsToS3 can supply a crafted S3KeyPrefix parameter value that leads an earlier, pre-fix revision of the runbook to write unintended settings, including arbitrary shellProfile commands, into the Region's Session Manager preferences document (SSM-SessionManagerRunShell) rather than only the S3 logging bucket and prefix. The path is only open when that preferences document does not already exist in the Region, and the injected commands then run when other users start Session Manager sessions on managed instances in that Region, so the impact is a constrained integrity/privilege issue rather than immediate mass-exploitable code execution. AWS scores the issue 7.2 under CVSS 4.0 and this analysis prioritizes it for remediation this week; no public exploit identified at time of analysis, but exposure persists after upgrading because any permitted user can still select an earlier runbook revision until AWS deprecates all revisions created before 2026-10-22 (UTC), beginning 2027-01-15.

Earlier versions of this analysis (1)
v1 Nov 25, 2026 - 20:10 CVSS 8.0

Authenticated users who hold permission to run the AWS-managed Automation runbook AWSConfigRemediation-EnableSystemsManagerSessionManagerAuditLogsToS3 can inject unintended settings - including arbitrary shell commands - into a Region's Session Manager preferences document (SSM-SessionManagerRunShell) by supplying a crafted S3KeyPrefix value, but only through an earlier revision of the runbook and only in a Region where that document does not already exist. The injected configuration then executes when a separate user starts a Session Manager session on a managed instance, so the flaw combines an authorised runbook operator with an unwitting session initiator; rated CVSS 8.0 (AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H) and tracked as CWE-96 static code injection. No public exploit code or CISA KEV entry is associated with this CVE, exploitation requires authenticated runbook-execution permissions plus a document-absent Region, and the issue remains reachable after upgrading because any permitted user can still select an earlier revision until AWS deprecates revisions created before 2026-10-22 (UTC) starting 2027-01-15.

RemediationAI

AWS-released fix: run the latest revision of AWSConfigRemediation-EnableSystemsManagerSessionManagerAuditLogsToS3 in each Region, discovered with aws ssm describe-document --name AWSConfigRemediation-EnableSystemsManagerSessionManagerAuditLogsToS3 --region <region> --query "Document.LatestVersion", and repoint every Automation execution, State Manager association, AWS Config remediation configuration and other automation pinned to an earlier revision at that latest revision; note that upgrading pinned automations alone is explicitly insufficient because any user permitted to run the runbook can still choose an older revision until AWS deprecates all revisions created before 2026-10-22 (UTC) in every Region and partition from 2027-01-15. Until those revisions are removed in your Region, close the path by either keeping untrusted users from running earlier revisions of the runbook (restrict ssm:StartAutomationExecution / document-invoke permissions to the latest revision) or by ensuring a trusted SSM-SessionManagerRunShell preferences document exists in every Region, since earlier revisions inject only when they create that document; the trade-off is that a pre-existing document must be maintained and the fixed runbook will then only update its S3 bucket and prefix fields. Review the preferences document in any Region where it may have been first created by an earlier revision: look for runbook runs that failed with "DOCUMENT CREATE OR UPDATE FAILED" (an injected run always fails this way), compare the document's first-version creation date with runbook start times, and inspect shellProfile, runAsEnabled/runAsDefaultUser, maxSessionDuration, idleSessionTimeout and the logging destination fields for settings you did not configure; if unexpected settings are present, restore your trusted preferences and review instances on which Session Manager sessions started while those settings were active, using the commands in AWS Security Bulletin 2026-203 (https://aws.amazon.com/security/security-bulletins/2026-203-aws/).

Affected VersionsENISA

AWSConfigRemediation-EnableSystemsManagerSessionManagerAuditLogsToS3 0 <2026-10-22

Affected Packages

euvd awsconfigremediation_enablesystemsmanagersessionmanagerauditlogstos3 fix: 2026-10-22

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The affected component is an AWS-managed Systems Manager (SSM) Automation runbook, a JSON/YAML SSM document executed by Automation, which carries a Region-specific revision history; any principal with permission to execute the document chooses which revision to run. The runbook's stated purpose is to enable Session Manager audit logging to S3, which it does by reading and writing the Regional Session Manager preferences document SSM-SessionManagerRunShell, whose schema includes a shellProfile block (shell commands executed at session start on Linux/macOS and Windows), Run As settings (runAsEnabled, runAsDefaultUser), maxSessionDuration, idleSessionTimeout, and logging destination fields such as S3 bucket name, S3KeyPrefix, encryption and CloudWatch log group. The upstream CWE-96 classification (improper neutralization of directives in statically saved code, i.e. static code injection) matches the observed behavior: attacker-influenced text supplied through the S3KeyPrefix parameter is persisted into that preferences document and later interpreted as shell directives when sessions start, rather than being confined to a storage path string. The exact parsing or escaping defect that lets an S3KeyPrefix value escape into other document fields is not described in the available sources, and the sources state that injection occurs only at document creation time, i.e. only when SSM-SessionManagerRunShell does not already exist in the Region; the fixed latest revision updates only the S3 bucket and prefix fields of an existing document, so previously injected settings are never cleaned up by it. Because revisions are immutable and selectable, remediating an account requires both moving to the latest revision and closing the old-revision path until AWS removes pre-2026-10-22 revisions.

Know when AWS gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (AMZN) PRIMARY 7.2 HIGH
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:P/VC:N/VI:H/VA:N/SC:H/SI:H/SA:H
vuln.today AI 8.0 HIGH

AC:H because exploitation needs the preferences document to be absent in the Region; PR:L for runbook-run permission; UI:R since a victim must start a session; S:C with C/I/A:H as arbitrary commands run on managed instances.

3.1 AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:P/PR:L/UI:P/VC:N/VI:H/VA:N/SC:H/SI:H/SA:H

Primary rating from Vendor (AMZN).

CVSS VectorVendor: AMZN

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
Low
User Interaction
Passive
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
High
Vulnerable system: Availability
None
Subsequent system: Confidentiality
High
Subsequent system: Integrity
High
Subsequent system: Availability
High

Lifecycle Timeline

4
Patch available
Nov 25, 2026 - 21:03 EUVD
Analysis Updated
Nov 25, 2026 - 20:31 vuln.today
v2 - CVSS changed
CVSS changed
Nov 25, 2026 - 20:22 NVD
8.0 (HIGH) 7.2 (HIGH)
CVE Published
Nov 25, 2026 - 19:37 cve.org
HIGH 8.0

DescriptionCVE.org

Improper input validation in the AWS-managed AWS Systems Manager Automation runbook AWSConfigRemediation-EnableSystemsManagerSessionManagerAuditLogsToS3 might allow an authenticated remote user who is permitted to run the runbook to set unintended configuration in the account's Regional Session Manager preferences document (SSM-SessionManagerRunShell) via a crafted S3KeyPrefix parameter value. This applies only when that document does not already exist in the Region. The unintended configuration can include arbitrary commands, which then run on managed instances when other users start Session Manager sessions.

Because any user permitted to run the runbook selects which revision to run, this issue remains reachable in an affected Region until earlier revisions can no longer be run there. AWS is deprecating all revisions created before 2026-10-22 (UTC) in every Region and partition beginning January 15, 2027; until deprecation, earlier revisions remain runnable, so upgrading alone is not sufficient.

To remediate this issue:

  1. Run the latest revision of the runbook. The latest revision is the fixed revision in every Region where the runbook is available, and its revision number varies by Region. To find it, run aws ssm describe-document --name AWSConfigRemediation-EnableSystemsManagerSessionManagerAuditLogsToS3 --region <region> --query "Document.LatestVersion". Update any Automation executions, State Manager associations, AWS Config remediation configurations, or other automations pinned to an earlier revision to use the latest revision. 2. Until earlier revisions are removed in your Region, either keep untrusted users from running earlier revisions of the runbook, or keep a trusted Session Manager preferences document (SSM-SessionManagerRunShell) in every Region. Earlier revisions inject only when they create this document, so while a trusted one exists, this path is closed in that Region. 3. Review your Session Manager preferences document (SSM-SessionManagerRunShell) in any Region where it was first created by an earlier revision of this runbook, not by you. To check, look for any run of this runbook that failed with "DOCUMENT CREATE OR UPDATE FAILED." An injected run always fails with this error. You can also compare the creation date of the document's first version with the start times of runs of this runbook in that Region. Check the document for settings you did not configure, especially shellProfile, Run As (runAsEnabled, runAsDefaultUser), maxSessionDuration, idleSessionTimeout, and the logging destination fields. The fixed runbook updates only the S3 bucket and prefix fields of an existing preferences document, so settings injected earlier remain until you remove them. If you find unexpected settings, restore your trusted preferences and review instances on which Session Manager sessions were started while those settings were active. The AWS Security Bulletin includes commands for this review.

Executive ViewAI

Why It Matters

A high-severity AWS Systems Manager vulnerability (CVE-2026-134070) allows an authenticated principal with runbook execution rights to inject arbitrary shell commands into Session Manager preferences, potentially compromising all future sessions in that AWS Region. While the attack requires pre-existing permissions and a non-existent preferences document, the integrity and privilege impact could enable lateral movement and unauthorized operations, making it critical for security leadership to address within the week.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations include restricting runbook execution to trusted principals, pre-creating the SSM-SessionManagerRunShell preferences document in each region to close the injection path, and monitoring for suspicious S3KeyPrefix parameters or unexpected shellProfile commands in Session Manager preferences.

Threat Intelligence Overview

EPSS Score
0.6%
Top 60% exploitable
Prevalence
Medium
AWS-managed runbook present in all Regions but invoked only for specific Config remediation
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.6%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

37
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +36
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Code Injection CRITICAL

Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.

More in AWS

View all
CVE-2026-103956 CRITICAL POC
10.0 Oct 02

Loom for AWS deployments running a version before 1.6.1 with no identity provider configured expose an unauthenticated s

CVE-2026-27702 CRITICAL POC
9.9 Feb 25

Unauthorized data access in Budibase low-code platform before 3.30.4 allows unauthenticated users to manipulate internal

CVE-2025-64709 CRITICAL POC
9.9 Nov 13

Authenticated Typebot users can abuse the webhook block (HTTP Request component) in versions prior to 3.13.1 to issue ar

CVE-2020-37153 CRITICAL POC
9.8 Feb 11

Multiple vulnerabilities in ASTPP 4.0.1 including XSS and command injection in SIP device configuration and plugin manag

CVE-2026-54378 CRITICAL POC
9.3 Nov 04

Broken access control in the VitaFit cloud API before the 2026-10-30 fix lets any authenticated account holder call POST

CVE-2026-87911 CRITICAL POC
9.0 Sep 09

Remote code execution in Amazon awslabs postgres-mcp-server before 1.1.7 lets remote actors run arbitrary OS commands on

CVE-2026-11393 HIGH POC
8.8 Jun 08

Remote code execution in AWS AgentCore CLI before v0.14.2 allows authenticated attackers to inject Python code via craft

CVE-2026-18140 HIGH POC
8.7 Jul 30

Denial of service in the aws-smithy-json Rust runtime crate (versions before 0.62.7) lets remote unauthenticated attacke

CVE-2026-16756 HIGH POC
8.7 Jul 23

Denial of service in Amazon's aws-smithy-http-server Rust crate (versions prior to 0.66.5) lets remote unauthenticated a

CVE-2026-16796 HIGH POC
8.4 Jul 23

Argument injection in the AWS Bedrock AgentCore Python SDK before 1.18.1 lets a remote authenticated user run arbitrary

CVE-2026-9133 HIGH POC
8.3 May 20

Arbitrary file read in amazon-mq rabbitmq-aws before 0.2.1 allows authenticated remote users to read any file accessible

CVE-2026-13763 HIGH POC
7.9 Jun 29

WAF managed-rule body inspection on AWS Application Load Balancer (ALB) can be bypassed by remote actors who fragment an

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy