Improper input validation in the AWS Systems Manager Automation runbook AWSConfigRemediation-EnableSystemsManagerSessionManagerAuditLogsToS3

Summary

CVECVE-2026-134070
StatePUBLISHED
AssignerAMZN
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-11-25 20:18:36 UTC
Updated2026-11-25 20:18:36 UTC
DescriptionImproper 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.

Risk And Classification

Primary CVSS: v4.0 7.2 HIGH from ff89ba41-3aa1-4d27-914a-91399e9639e5

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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Problem Types: CWE-96 | CWE-96 CWE-96 Improper neutralization of directives in statically saved code ('static code injection')


VersionSourceTypeScoreSeverityVector
4.0ff89ba41-3aa1-4d27-914a-91399e9639e5Secondary7.2HIGHCVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:P/VC:N/VI:H/VA:N/SC:H/SI:H/SA:H/E:X/C...
4.0CNACVSS7.2HIGHCVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:P/VC:N/VI:H/VA:N/SC:H/SI:H/SA:H
3.1ff89ba41-3aa1-4d27-914a-91399e9639e5Secondary8HIGHCVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H
3.1CNACVSS8HIGHCVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H

CVSS v4.0 Breakdown

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
Low
User Interaction
Passive
Confidentiality
None
Integrity
High
Availability
None
Sub Conf.
High
Sub Integrity
High
Sub Availability
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

CVSS v3.1 Breakdown

Attack Vector
Network
Attack Complexity
High
Privileges Required
Low
User Interaction
Required
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA AWS AWSConfigRemediation-EnableSystemsManagerSessionManagerAuditLogsToS3 affected 2026-10-22 custom Not specified

References

ReferenceSourceLinkTags
aws.amazon.com/security/security-bulletins/2026-203-aws ff89ba41-3aa1-4d27-914a-91399e9639e5 aws.amazon.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report