{"answers":{"affected":"3 open source packages ship an affected version, including github.com/aws/amazon-ecs-agent. It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-7461 in the wild and no public exploit code.","fix":"Upgrade github.com/aws/amazon-ecs-agent to 1.103.0 or later.","what":"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."},"fix_prompt":"Check this codebase for CVE-2026-7461 and fix it if it is affected.\n\nWhat it is: 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.\nExploitation: There is no known exploitation of CVE-2026-7461 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/aws/amazon-ecs-agent (Go): affected from 1.47.0; fixed in 1.103.0\n- github.com/aws/amazon-ecs-agent (Go): affected from 1.47.0; fixed in 1.103.0\n- github.com/aws/amazon-ecs-agent (Go): affected from 1.47.0; fixed in 1.103.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-7461/ (Markdown: https://insights.sbomify.com/CVE-2026-7461/index.md)","id":"CVE-2026-7461","markdown":"https://insights.sbomify.com/CVE-2026-7461/index.md","name":"CVE-2026-7461","record":{"aliases":["GHSA-fc67-c4hg-q653","GHSA-w2r9-8jfw-7fpr","GO-2026-5353"],"analysis":{"component_type":"container_or_infrastructure","fix_type":"upgrade","impacts":["code_execution","privilege_escalation"],"network_reachable":"yes","non_default_config":false,"product_category":"Amazon ECS Agent","requires_auth":"high_privilege","summary":"Remote authenticated attackers can execute shell commands with SYSTEM privileges on Windows hosts via crafted ECS task definitions.","user_interaction":"not_required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"AMZN","cpe":[{"product":"amazon_ecs_container_agent","vendor":"amazon"}],"cvss":{"score":7.5,"severity":"high","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"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.\n\nTo remediate this issue, users should upgrade to version 1.103.0.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"OS Command Injection in Amazon ECS Agent via FSx Windows File Server Volume Credentials","id":"CVE-2026-7461","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"command_injection","year":"2026"},"n_packages":3,"n_references":3,"next":{"headline":"VatanSMS WP SMS \u003c= 1.01 - Reflected Cross-Site Scripting via 'page' Parameter","id":"CVE-2026-7462"},"packages":[{"ecosystem":"Go","fixed":["1.103.0"],"introduced":["1.47.0"],"last_affected":[],"package":"github.com/aws/amazon-ecs-agent","purl":null,"source":"GHSA-fc67-c4hg-q653"},{"ecosystem":"Go","fixed":["1.103.0"],"introduced":["1.47.0"],"last_affected":[],"package":"github.com/aws/amazon-ecs-agent","purl":"pkg:golang/github.com/aws/amazon-ecs-agent","source":"GHSA-fc67-c4hg-q653"},{"ecosystem":"Go","fixed":["1.103.0"],"introduced":["1.47.0"],"last_affected":[],"package":"github.com/aws/amazon-ecs-agent","purl":"pkg:golang/github.com/aws/amazon-ecs-agent","source":"GO-2026-5353"}],"prev":{"headline":"mailcow-dockerized 2026-03b - Stored XSS in Queue Manager via unescaped","id":"CVE-2026-7460"},"products":["Amazon ECS Agent"],"published":"2026-04-30","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-05-01","vendors":["AWS"]},"summary":"Remote authenticated attackers can execute shell commands with SYSTEM privileges on Windows hosts via crafted ECS task definitions.","url":"https://insights.sbomify.com/CVE-2026-7461/"}