CVE-2026-97662 Path traversal in security-agent-mcp-server

Medium 6.9 Published Updated

Attackers can create, overwrite, or truncate arbitrary host files outside the workspace via argument injection in the diff scan operation.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2026-97662?

CVE-2026-97662 is a medium-severity path traversal vulnerability in AWS security-agent-mcp-server, published on 1 Oct 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

An argument injection issue in the diff scan operation in AWS security-agent-mcp-server before version 0.2.0 might allow context-dependent threat actors to create, overwrite, or truncate arbitrary files on the host outside the intended workspace directory via a crafted reference value supplied to the diff scan operation.

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

Weakness: CWE-88, CWE-73

Which versions are affected by CVE-2026-97662?

How do I fix CVE-2026-97662?

No fix has been published for CVE-2026-97662 yet. Limit exposure of the affected software until one is available.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2026-97662 being exploited?

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

Sources

Is CVE-2026-97662 in your software?

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

Check your SBOMs for free