What’s Vulnerable › Vulnerabilities
CVE-2025-9039: Information Disclosure in Amazon ECS Container Agent
- Severity: medium (CVSS 4.3 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-08-14 · updated 2026-06-17
- Weakness: CWE-277
Description
We identified an issue in the Amazon ECS agent where, under certain conditions, an introspection server could be accessed off-host by another instance if the instances are in the same security group or if their security groups allow incoming connections that include the port where the server is hosted. This issue does not affect instances where the option to allow off-host access to the introspection server is set to 'false'. This issue has been addressed in ECS agent version 1.97.1. We recommend upgrading to the latest version and ensuring any forked or derivative code is patched to incorporate the new fixes. If customers cannot update to the latest AMI, they can modify the Amazon EC2 security groups to restrict incoming access to the introspection server port (51678).
Affected products
- Amazon ECS: from 0.0.3 before 1.97.1 — fixed in 1.97.1
How to fix
Upgrade to a fixed version: Amazon ECS 1.97.1. Check the vendor advisory for mitigations.
References
- https://aws.amazon.com/security/security-bulletins/AWS-2025-018/
- https://github.com/aws/amazon-ecs-agent/releases/tag/v1.97.1
- https://github.com/aws/amazon-ecs-agent/security/advisories/GHSA-wm7x-ww72-r77q
Get alerted when CVE-2025-9039 or the next vulnerability affects your stack