Security / News explained
AWS’s logging runbook could leave commands in Session Manager preferences
AWS fixed a remediation runbook, but older revisions remain runnable and settings injected earlier need a separate review.
AWS’s November 25, 2026 bulletin describes a configuration-injection issue in a runbook intended to enable Session Manager audit logging to S3. CVE-2026-134070 affects revisions created before October 22, 2026 UTC. A fixed revision is available, but older revisions remain runnable pending deprecation, and the fixed runbook does not remove every setting an earlier execution might have introduced. [1]
The affected runbook is AWSConfigRemediation-EnableSystemsManagerSessionManagerAuditLogsToS3. According to the Amazon CNA record, a user already permitted to run it could supply a crafted S3KeyPrefix value and introduce unintended configuration into the account’s regional SSM-SessionManagerRunShell preferences document. This path applies when that document does not already exist in the Region. The configuration can include commands executed later when other users start sessions on managed instances. [2]
A logging preference can carry execution authority
Session Manager preferences cover more than a storage destination. AWS’s documentation describes settings for the operating-system user, encryption, timeouts, logging and shell profiles. Shell profiles can run commands when a session starts, and AWS explicitly notes that Systems Manager does not inspect those commands for the changes they will make before executing them. [3] [4]
That combination explains the consequence in ordinary terms. A value presented as part of a logging setup could influence what happens inside a later administrator session. The relevant trust boundary is the authority to create session preferences. Our interpretation is that an automation’s friendly name cannot establish the limits of the permissions it exercises or the configuration it can leave behind.
Consider a hypothetical account introducing Session Manager in another Region. A remediation execution creates the preferences document while enabling audit logs. A support engineer opens a session later. The advisory describes how an earlier malicious configuration could affect that later action. This example illustrates the published conditions; it does not describe an incident established in any customer account. [2]
The fixed revision does not retire every older path
AWS says the fixed revision is the latest revision in each Region where the runbook is available, with revision numbers varying by Region. Invocations pinned to an earlier revision need attention. The bulletin specifically includes Automation executions, State Manager associations, Config remediation configurations and other automations. A single revision number copied across a fleet would therefore be a poor substitute for checking the regional document. [1]
The CNA record adds that a permitted user can select the revision to execute. AWS plans to begin deprecating revisions created before October 22 on January 15, 2027. Until older revisions are removed, the described protections are to prevent untrusted use of those revisions or maintain a trusted preferences document in each relevant Region. Upgrading the preferred execution path alone leaves the older selectable path to consider. [2]
For an operations team, this creates a useful distinction between a recommended version and a permitted version. A scheduled workflow may select the corrected revision while another authorized invocation can still choose an earlier one. Our reading is that an acceptance decision needs to account for both paths. This is about the permissions and configuration already under review, rather than a reason to grant an automation broader access.
Earlier configuration needs its own review
AWS explains that the corrected runbook changes only the S3 bucket and prefix fields of an existing preferences document. Other settings injected earlier can survive. The bulletin identifies a review scope where an earlier runbook revision first created the document and describes matching document-creation timing with execution history. An injected execution always fails with the error DOCUMENT CREATE OR UPDATE FAILED; that error is a lead for review, not proof of an attack by itself. [1] [2]
The published review includes unexpected shell profiles, Run As settings, session timeouts and logging destinations. Where unexpected settings are found, AWS directs operators to restore trusted preferences and review instances on which sessions began while those settings were active. Readers should use the current bulletin for the exact commands and regional investigation details. [2]
Our practical conclusion is that a failed automation can still deserve a state review. A completion status tells an operator how the workflow ended; the resulting configuration determines what a later user encounters. Preserving the execution record and the approved preferences together makes that distinction easier to assess without turning every failed run into an assumed security incident.
For the business owner, a useful remediation outcome has three parts: corrected invocations, control over remaining older revisions and an explained state for existing preferences. The advisory supports each part. A green replacement run is useful evidence, and the surrounding configuration and access decisions complete the picture.
Sources + further reading
Source dates describe the original material. Publication above is the date this Zyel article went live.
- AWS security bulletin 2026-203: Session Manager remediation runbookAWS · Checked Nov 26, 2026
- CVE-2026-134070 CNA recordAmazon CNA · Checked Nov 26, 2026
- Configure Session Manager preferencesAWS · Checked Nov 26, 2026
- Allow configurable shell profilesAWS · Checked Nov 26, 2026
Reader discussion
What would you ask next?
Questions, useful corrections and thoughtful disagreement are welcome. Comments are reviewed before they appear.
No reader comments yet.