|

AMI Lineage: When an Agent Upgrade Cannot Reach the Exposure

9 MIN READ
ARCHITECT'S BRIEFExecutive summary for technical decision-makers
AMI lineage decides remediation: an agent upgrade does not remove a shared SSM Agent key, Vault deletion is unsupported, and AWS recommends replacement from a newer AMI
An agent upgrade does not remove a key that came with the image. AWS recommends replacement.

AMI lineage, not the SSM Agent version, decides whether a Windows instance still carries the exposure behind CVE-2026-134069. AWS bulletin 2026-197-AWS, published November 23, 2026, describes an issue in Amazon SSM Agent “on AWS-provided Windows Server AMIs released before 2026-09-09, where instances launched from the same AMI shared one instance registration key.” The fixed agent, 3.3.5226.0, ships in AMIs released on or after that date. For existing instances, AWS is direct: “Instances launched from these AMIs remain affected after an in-place agent upgrade.”

The Alpine sshd bypass showed that a package on disk, a running daemon and a rebuilt image are separate states, and that a version number only proves an action ran. There, every state could still be closed on the running host. Here, AWS states that an in-place agent upgrade leaves the shared key in place, and it recommends replacing the instances. When a shared secret is baked into an AMI at launch, the remediation unit is the instance, and its source AMI lineage identifies whether replacement is necessary.

Scope: AWS-provided Windows Server AMIs, as the bulletin defines them. Neither primary source mentions exploitation, and this post claims none.

What AWS’s Bulletin and Advisory Establish

Two primary sources cover the issue: AWS’s bulletin and the GitHub security advisory GHSA-rfpp-9v45-jjv4 in the aws/amazon-ssm-agent repository. They agree on the versions, the AMI cutoff and the fix, and both state that deleting the agent’s Vault “is not a supported remediation.” They word the access condition differently.

AWS bulletin 2026-197-AWSGHSA-rfpp-9v45-jjv4
AffectedSSM Agent < 3.3.5226.0 on AWS Windows Server AMIs released before 2026-09-09Same versions and cutoff
The shared key“instances launched from the same AMI shared one instance registration key”“under certain circumstances, Windows instances launched from the same AWS-provided Windows Server AMI released before 2026-09-09 share the same Amazon SSM Agent registration key”
Who obtains what“a local user without administrative privileges might be able to obtain the instance’s Default Host Management Configuration role credentials”“A local non-administrative user on a DHMC-managed instance could obtain the instance’s DHMC role credentials”
Scope of those credentialsNOT STATED“by default only allow limited Systems Manager actions”

The bulletin says “might be able to”; the advisory says “could,” and adds “under certain circumstances” without defining them. This post keeps both wordings and does not reconcile them.

Affected Is Not Exposed

Remediating compute you operate yourself is day-2 work in modern infrastructure and IaC architecture, and the first decision is which population you are counting. The bulletin defines two.

PopulationDefined bySource
AffectedLaunched from an AWS-provided Windows Server AMI released before 2026-09-09Bulletin
ExposedAffected, managed through Default Host Management Configuration (DHMC), with a local user lacking administrative privilegesBulletin
Not establishedOther conditions; images built on an affected AMINOT STATED

AMI lineage sorts instances into the affected set. It does not make any of them exploitable; the DHMC and local-user conditions define exposure.

The last row matters most for enterprises that launch from their own golden images. The bulletin speaks of “instances launched from these AMIs,” meaning AWS-provided ones. Whether an image built on an affected AWS AMI carries the shared key is NOT STATED, and this post assumes neither answer.

Affected and exposed populations for CVE-2026-134069: pre-2026-09-09 AMI, then DHMC management, then a local non-admin user; derived images unresolved
The release date defines who is affected. The bulletin’s conditions define who is exposed.

Why an Agent Upgrade Does Not Remove It

Three cases on this site put the remediation in three different places. They are not equivalent.

CaseWhere the exposure livesWhat closes itWhat the sources say about in-place action
Alpine sshd bypassRunning sshd, accounts, configurationUpgrade or reconfigure, then restart sshdCloses it on the running host
Managed compute kernel flawKernel in the platform revision or AMIMove to the patched revision, which fixes the code-level flawCompute is replaced on the provider’s lifecycle and your settings
SSM Agent shared keyKey shared by instances from the same AMIReplace from an AMI released on or after 2026-09-09 (AWS recommendation)Agent upgrade leaves the key; Vault deletion is unsupported; other in-place actions NOT STATED

In managed compute patching, the revision a workload runs is evidence that it is remediated. That rule holds for the code-level flaw that post covers. SSM is different: AWS states that an in-place agent upgrade leaves the shared registration key in place, and deleting the agent’s Vault is not a supported remediation. AWS recommends replacing the affected instances. The remediation evidence therefore has to follow the instance’s source AMI, not its current agent version. As with a revocation unit a vendor sets, AWS’s recommended unit is wider than the defect: it is the whole instance, not the agent.

AMI Lineage Is the Remediation Evidence

The question for each instance is its AMI lineage: which AMI it came from, and whether that AMI was released before September 9, 2026. The agent version cannot answer it. As analysis, not a demonstrated case: a report keyed to agent version would show 3.3.5226.0 on an affected instance upgraded in place, which AWS states remains affected.

AMI lineage is also evidence with a retention window. AWS’s Windows AMI documentation states that AWS Windows AMIs “are publicly available for three months after they are released,” that “Within 10 days after the release of new AMIs, AWS changes access for AMIs that are more than three months old to make them private,” and that after that “you may no longer retrieve it by any method.” New Windows AMIs ship within five business days of Microsoft’s Patch Tuesday.

Rack2Cloud analysis, derived from that cadence, not a date AWS has published: every affected AMI is more than three months old by December 9. December’s Patch Tuesday is December 8, so the next release and the ten-day privatization window after it fall in the second half of December. Affected AMIs released earlier in the year may already be private.

That makes evidence preservation part of the remediation, not an inventory convenience. Once the source AMI is private, an organization that kept no record of its AMI lineage may no longer be able to reconstruct its own exposure history. Recovery decisions depend on the same thing: what a recovery decision can rule out is set by the evidence kept before the incident. AMI lineage applies that principle to remediation, and AWS’s retention rule puts a date on it.

A proposed method, from Rack2Cloud, not an AWS procedure:

01 — CAPTURE AMI LINEAGE WHILE THE AMI STILL RESOLVES

For each Windows instance, record the source AMI ID, the AMI name and evidence of its release date in launch templates, IaC state or a CMDB. An AMI ID alone does not prove the release date.

02 — MARK THE AFFECTED SET

Instances launched from an AWS-provided Windows Server AMI released before 2026-09-09. Instances from images built on an affected AMI are recorded as unresolved, not as clean.

03 — MARK THE EXPOSURE CONDITIONS

DHMC management and local users without administrative privileges. Check the instance, not only the account setting: per AWS, an instance profile allowing ssm:UpdateInstanceInformation takes precedence, and that instance does not use DHMC.

04 — REPLACE, AND RECORD THE REPLACEMENT’S LINEAGE

The record that closes an affected instance is its replacement’s source AMI, released on or after 2026-09-09.

What the DHMC Credentials Carry

AWS documents that DHMC “creates and applies a default IAM role to make sure that Systems Manager has permissions to manage all instances in the AWS account and AWS Region where it’s activated,” and points to the managed policy AmazonSSMManagedEC2InstanceDefaultPolicy as the policy it uses. That policy, at version 2, allows Systems Manager agent actions (documents, associations, inventory, compliance and instance information), ssmmessages channel actions and ec2messages actions. It grants nothing in any other AWS service.

That bounds the documented default, not a given account. Administrators can add policies to the default role or use a custom role, and AWS states that changes to the chosen role apply to all managed EC2 instances in the Region and account. What the role carries in a particular account is NOT STATED, so read the role in force. Under the documented default policy, nothing in the sources supports a lateral-movement claim, and this post makes none.

What This Post Does Not Establish

Not assessed: exploitation, instance counts, circumstances beyond the bulletin’s conditions, and what a role permits in a particular account. Not established: whether images built on an affected AWS AMI carry the key, and whether any in-place action other than the two AWS names would remove it. Instance launch time is not used as lineage evidence; no primary source read here supports it. The agent-version report is analysis. This post records an exception to the managed compute patching post’s evidence rule, not a correction.

Architect’s Verdict

On these instances, an agent upgrade does nothing about the shared key. AMI lineage decides whether an instance needs replacing, and replacement is the remediation AWS recommends.

The real problem is the assumption that remediation is something done to a running system. Usually it is. This exposure arrived with the image and stays with the instance, so the evidence has to match the thing that carries it. A version number describes the agent. Only the source AMI describes the instance.

That evidence does not wait. AWS makes old Windows AMIs private after three months, and a private AMI may not be retrievable at all. If the exposure came in with the image, the proof has to come from the image, recorded before AWS can no longer give it to you.

Additional Resources

>_ Internal Resource
Modern Infrastructure & IaC Architecture
the pillar guide for the day-2 lifecycle and remediation problems this exception belongs to.
>_ Internal Resource
The Alpine sshd Bypass Is Not a Version Check. It Is Four Conditions and a Restart.
the owner: package, daemon and image are separate states, each closable on a running host; this post covers the case where none is.
>_ Internal Resource
Managed Compute Patching Is Not Managed Remediation
provider-patched compute, where the running revision is the remediation evidence for a code-level flaw; this post covers an exception to that rule.
>_ Internal Resource
Rotating Credentials Is Not Revoking Them. The Revocation Unit Decides Whether You Can.
how a vendor-chosen unit can enclose more than the defect; here AWS’s unit is the instance.
>_ Internal Resource
When You Cannot Prove Integrity, Rebuilding Becomes the Recovery Decision
recovery decision integrity depends on evidence kept before the incident; AMI lineage applies that principle to infrastructure remediation.
>_ External Reference
AWS Security Bulletin 2026-197-AWS
primary source for the affected AMIs, the in-place upgrade statement and the replacement recommendation.
>_ External Reference
GHSA-rfpp-9v45-jjv4
the GitHub advisory, with its differently worded access condition and the “limited Systems Manager actions” statement.
>_ External Reference
Managing EC2 instances automatically with Default Host Management Configuration
AWS’s documentation of the DHMC default role, custom roles and instance profile precedence.
View 2 more resources

Editorial Integrity & Security Protocol

This technical deep-dive adheres to the Rack2Cloud Deterministic Integrity Standard. All benchmarks and security audits are derived from zero-trust validation protocols within our isolated lab environments. No vendor influence.

Last Validated: October 2026   |   Status: Production Verified
RM - Senior Technical Solutions Architect
About The Architect

RM

I’m a Senior Solutions Architect with 25+ years of experience in HCI, cloud strategy, and data resilience. I lead Rack2Cloud, delivering lab-verified guidance for complex enterprise transitions. View Credentials →

>_ The Dispatch

Get the Playbooks Vendors Won’t Publish

Choose the architecture problems you care about. Get field-tested playbooks and frameworks delivered to your inbox.

  • > AI Infrastructure & Inference Economics
  • > Cloud Strategy & Hidden Cost Models
  • > Virtualization & Deterministic Migration
  • > Kubernetes, IaC & Modern Infrastructure
  • > Data Protection & Recovery Engineering
[+] Select My Playbooks

Zero spam. Includes The Dispatch weekly drop.

>_ Architectural Guidance

Need Architectural Guidance?

Independent review before major infrastructure decisions.

  • > Validate assumptions
  • > Identify hidden dependencies
  • > Quantify migration risk
  • > Challenge vendor narratives
>_ Request Triage Session

Triage · Advisory · Fractional · Direct Hire