CVE-2026-7461 OS Command Injection in Amazon ECS Agent via FSx Windows File Server Volume Credentials

High 7.5 Published Updated

Remote authenticated attackers can execute shell commands with SYSTEM privileges on Windows hosts via crafted ECS task definitions.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2026-7461?

CVE-2026-7461 is a high-severity command injection vulnerability in AWS Amazon ECS Agent, published on 30 Apr 2026. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

Improper neutralization of inputs used in an OS command in the FSx Windows File Server volume mounting component in Amazon ECS Agent on Windows before version 1.103.0 might allow a remote authenticated threat actor to execute shell commands with SYSTEM privileges on the underlying host via a specially crafted username field in an ECS task definition. This issue requires permissions to register ECS task definitions or write to the Secrets Manager or SSM Parameter Store credentials used by the FSx volume configuration.

To remediate this issue, users should upgrade to version 1.103.0.

Weakness: CWE-78

Which versions are affected by CVE-2026-7461?

3 open source packages ship an affected version, including github.com/aws/amazon-ecs-agent. It affects 1 product.

PackageAffectedFixed in
github.com/aws/amazon-ecs-agent GoFrom 1.47.01.103.0
github.com/aws/amazon-ecs-agent GoFrom 1.47.01.103.0
github.com/aws/amazon-ecs-agent GoFrom 1.47.01.103.0

Products include Amazon Amazon Ecs Container Agent.

How do I fix CVE-2026-7461?

Upgrade github.com/aws/amazon-ecs-agent to 1.103.0 or later.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2026-7461 being exploited?

There is no known exploitation of CVE-2026-7461 in the wild and no public exploit code.

Sources

Also known as GHSA-fc67-c4hg-q653, GHSA-w2r9-8jfw-7fpr, GO-2026-5353.

Is CVE-2026-7461 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free