CVE-2025-9039
We identified an issue in the Amazon ECS agent where, under certain …
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).
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- aws.amazon.com/security/security-bulletins/AWS-2025-018/
- github.com/aws/amazon-ecs-agent/releases/tag/v1.97.1
- github.com/aws/amazon-ecs-agent/security/advisories/GHSA-wm7x-ww72-r77q
- nvd.nist.gov/vuln/detail/CVE-2025-9039
- aws.amazon.com/security/security-bulletins/AWS-2025-018
- github.com/advisories/GHSA-wm7x-ww72-r77q
- nvd.nist.gov/vuln/detail/CVE-2025-9039
- cve.org/CVERecord?id=CVE-2025-9039
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.