Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSupply crafted reference value to diff scan
-
ExploitInject arguments into underlying scan command
-
ExecutionRedirect file operation outside workspace directory
-
ImpactCreate, overwrite, or truncate arbitrary host files
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Argument sanitization
|
| Exploitation Conditions | Exploitation requires the victim to run the diff scan operation of security-agent-mcp-server (before 0.2.0) against a reference value that the attacker can control - i.e., the server must process an attacker-supplied or attacker-influenced 'reference' input, typically when an AI agent feeds it untrusted repository data. Limiting factors that reduce realistic risk: the attack vector is local (AV:L), user/operator interaction is required to trigger the scan (UI:R), and only versions prior to 0.2.0 are affected. No authentication is required (PR:N) once the vulnerable operation is invoked, but the attacker cannot trigger it remotely without the victim performing the diff scan on the crafted input. |
| Impact | CVSS 3.1 base score is 8.2 (High), driven by a scope change (S:C) and High integrity/availability impact (I:H/A:H) from arbitrary file create/overwrite/truncate, with no confidentiality impact (C:N). However, the vector tempers real-world urgency: it is a LOCAL attack vector (AV:L) requiring user interaction (UI:R), meaning this is not a remotely-triggerable, drive-by issue - a victim must actually run the diff scan operation against attacker-controlled input (e.g., via an AI agent consuming untrusted data). PR:N indicates no authentication is needed once the operation is invoked. No EPSS score was provided, so exploitation probability cannot be quantified; the CVE is NOT in CISA KEV and no public exploit code was identified, so this is not confirmed to be actively exploited. SSVC-style read: technical impact is total for integrity/availability within scope, but automatability is low given the required user interaction and local vector. Net: a credible, high-impact flaw worth prompt patching for anyone running this MCP server, but not an emergency-grade mass-exploitation threat absent any EPSS/KEV/POC signal. Note the AV:L designation combined with the 'context-dependent threat actors' language in the description - exploitation realistically depends on the server processing attacker-influenced reference values, which defenders should confirm against their own usage pattern. |
| Exploit ScenarioDerived | An attacker crafts a malicious reference value and gets it in front of a victim's security-agent-mcp-server - for example embedded in a repository or data stream that the victim's AI agent processes. When the victim invokes the diff scan operation on that input, the crafted reference injects extra arguments into the underlying scan command, causing it to write outside the intended workspace and overwrite or truncate arbitrary files on the host. No public exploit code was identified at the time of analysis, and the local vector plus required user interaction (AV:L/UI:R) mean the victim must actively trigger the scan. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 01, 2026
Arbitrary file creation, overwrite, and truncation outside the intended workspace is possible on hosts running AWS security-agent-mcp-server before version 0.2.0, because the diff scan operation injects an attacker-controlled 'reference' value as extra command arguments. The flaw is local (AV:L) and requires the operator or AI agent to run the diff scan against attacker-influenced input (UI:R), but no authentication is needed once that operation is invoked (PR:N) and the impact crosses a security boundary (S:C), yielding high integrity and availability impact with no confidentiality loss (CVSS 8.2, High). No public exploit code or confirmed active exploitation was identified at time of analysis; the vendor-released fix is version 0.2.0.
RemediationAI
Upgrade to vendor-released patch version 0.2.0 of awslabs.security-agent-mcp-server (https://pypi.org/project/awslabs.security-agent-mcp-server/0.2.0/), which addresses the argument injection in the diff scan operation; see the AWS advisory at https://aws.amazon.com/security/security-bulletins/2026-121-aws/. If immediate upgrade is not possible, treat every 'reference' value passed to the diff scan as untrusted input: restrict or disable the diff scan capability in the MCP server configuration so agents cannot invoke it against attacker-influenced repository metadata, and only run diff scans against references from trusted, locally controlled sources - the trade-off is loss of the diff scanning workflow for untrusted repositories. Additionally, run the MCP server under a low-privilege account whose write access is confined to the intended workspace directory (e.g., read-only mounts or filesystem ACLs elsewhere) to limit the blast radius of file create/overwrite/truncate on the host, at the cost of potentially breaking agent features that legitimately write outside that directory.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
This is a CWE-88 argument injection flaw in the diff scan operation of awslabs.security-agent-mcp-server, a Model Context Protocol (MCP) server that security agents use to perform repository and file diffs. The operation accepts a caller-supplied 'reference' value and passes it to the underlying command/diff invocation without proper argument separation or validation, so a crafted reference containing option-injection tokens is interpreted as additional command-line flags rather than inert data. That allows the attacker to redirect file output to paths outside the sandboxed workspace, producing create/overwrite/truncate effects. The CVSS vector CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:H reflects a local attack vector, no privileges required but operator interaction needed, and a scope change (S:C) - the vulnerable MCP server process affects resources (host files) beyond its intended workspace boundary - which is why integrity and availability are rated High while confidentiality is unaffected. Affected CPE data identifies all releases of awslabs.security-agent-mcp-server below 0.2.0; per the vendor, only pre-0.2.0 builds are impacted.
Know when AWS gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Local operation on crafted input with no auth but requiring the victim to run the scan (UI:R); escaping the workspace gives S:C, and arbitrary file write/truncate yields I:H/A:H with no read (C:N).
Primary rating from Vendor (AMZN).
CVSS VectorVendor: AMZN
Lifecycle Timeline
3DescriptionCVE.org
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.
Executive ViewAI
AWS security-agent-mcp-server versions prior to 0.2.0 contain an arbitrary file write flaw that lets attacker-influenced input steer the diff scan operation into creating, overwriting, or truncating files outside its intended workspace - including data that the AI agent process can already reach. The exposure is concentrated on developer and operator machines hosting the agent, where a single routine diff scan can silently destroy or alter files, disrupting engineering workflows and forcing rebuilds of affected hosts. A vendor fix is already available, so the organization's risk is primarily one of patch latency rather than an unresolved defect.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.
Unauthorized data access in Budibase low-code platform before 3.30.4 allows unauthenticated users to manipulate internal
Multiple vulnerabilities in ASTPP 4.0.1 including XSS and command injection in SIP device configuration and plugin manag
Remote code execution in Amazon awslabs postgres-mcp-server before 1.1.7 lets remote actors run arbitrary OS commands on
Remote code execution in AWS AgentCore CLI before v0.14.2 allows authenticated attackers to inject Python code via craft
Denial of service in the aws-smithy-json Rust runtime crate (versions before 0.62.7) lets remote unauthenticated attacke
Denial of service in Amazon's aws-smithy-http-server Rust crate (versions prior to 0.66.5) lets remote unauthenticated a
Argument injection in the AWS Bedrock AgentCore Python SDK before 1.18.1 lets a remote authenticated user run arbitrary
Arbitrary file read in amazon-mq rabbitmq-aws before 0.2.1 allows authenticated remote users to read any file accessible
WAF managed-rule body inspection on AWS Application Load Balancer (ALB) can be bypassed by remote actors who fragment an
WAF inspection bypass in Amazon CloudFront (with AWS WAF enabled) lets remote actors smuggle malicious request bodies pa
A trust boundary enforcement vulnerability in Kiro IDE allows remote attackers to execute arbitrary code when a local us
Bullwark Momentum Series JAWS 1.0 contains a directory traversal vulnerability that allows unauthenticated attackers to
EUVD-2026-90975
NVD
CVE.org
EPSS
Vulnrichment
GitHub PoC
Exploit-DB