# CVE-2026-97662: Argument injection in the diff scan operation in AWS security-agent-mcp-server allows arbitrary host file creation, overwrite, and truncation outside the intended workspace

- Severity: Medium 6.9 (CVSS:4.0, scored by AMZN) `CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.14%, higher than 3% of CVEs (2026-12-01)
- Published: 2026-10-01T17:34:03.924Z
- Modified: 2026-10-09T16:31:43.908Z
- Weaknesses: CWE-73, CWE-88
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: AMZN

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

(As written by CVE List.)

## Affected

- AWS security-agent-mcp-server: from 0.1.1 before 0.2.0

## Every score

- AMZN: CVSS:3.1 8.2 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:H`
- AMZN: CVSS:4.0 6.9 Medium `CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N`

## References

- <https://pypi.org/project/awslabs.security-agent-mcp-server/0.2.0/> (patch)
- <https://aws.amazon.com/security/security-bulletins/2026-121-aws/> (vendor-advisory)

## Sources

- CVE List: [CVE-2026-97662](https://www.cve.org/CVERecord?id=CVE-2026-97662), CVE Terms of Use, modified 2026-10-09
- NVD: [CVE-2026-97662](https://nvd.nist.gov/vuln/detail/CVE-2026-97662), Public domain, modified 2026-10-01

---

Page: https://cve.day/CVE-2026-97662 · Whole record: https://cve.day/CVE-2026-97662.json · Rebuilt by cve.day 2026-11-25T22:59:41.868Z
