mcp-cve-project

CVE-2026-6494 | AAP MCP server log injection via toolsetroute | Medium | 5.3

CVE Information

Field Value
CVE / NVD CVE-2026-6494
Date (index) 2026-04-17
Affected product (index) AAP MCP server log injection via toolsetroute
GHSA ID None — no GitHub advisory published (search)
OWASP MCP Top 10 (2025) MCP08 — Lack of Audit and Telemetry
Published / disclosed 2026-04-17
Ecosystem Application / upstream project
Component AAP MCP server log injection via toolsetroute
EPSS score 0.003140000 (FIRST EPSS, 2026-06-30)
CVSS score 5.3 MEDIUM CVSS v3.1 (NVD)
CWE CWE-117
Affected versions Red Hat Ansible Automation Platform 2 ansible-automation-platform-tech-preview/mcp-server-rhel9 (per NVD)
Fixed versions No fixed version listed in NVD
Fix status Unfixed
Exploit status Public CVE record; do not mirror weaponized payloads
Notes Added during the 2026-06-24 Tier 1 missing-CVE review from NVD MCP keyword results. Re-check NVD before using this entry for compliance reporting.

CVE Breakdown


What is the vulnerability?

A flaw was found in the AAP MCP server. An unauthenticated remote attacker can exploit a log injection vulnerability by sending specially crafted input to the toolsetroute parameter. This parameter is not properly sanitized before being written to logs, allowing the attacker to inject control characters such as newlines and ANSI escape sequences. This enables the attacker to obscure legitimate log entries and insert forged ones, which could facilitate social engineering attacks, potentially leading to an operator executing dangerous commands or visiting malicious URLs.

Attack prerequisites / exposure

Exposure depends on how the affected MCP server, client, gateway, plugin, or adjacent AI tool is deployed. Prioritize systems reachable by untrusted users or networks, systems that accept attacker-controlled tool arguments, and systems with access to credentials, browsers, cloud APIs, Kubernetes clusters, databases, email, or desktop automation.

CVE is because of what bug?

Primary mapped weakness: MCP08 — Lack of Audit and Telemetry. Confirm the exact CWE and affected code path in the NVD record and upstream advisory before adding exploit-specific detail.

MCP-specific impact / why it matters

MCP components bridge model output to privileged tools. Vulnerabilities in authentication, scope enforcement, command execution, SSRF validation, secret handling, or tool registration can turn prompt/tool input into host compromise, credential disclosure, unauthorized cloud/database access, or persistent malicious tool execution.

Where was the bug? (source + snippet)

Add a minimal vulnerable code snippet here only after reviewing the linked upstream commit / advisory. Do not paste weaponized payloads.

Fix / Remediation

Upgrade to the vendor-fixed version where available. If no fixed version is listed, restrict the affected component to trusted users and trusted networks, disable risky tools, validate tool arguments, and run the service with least-privilege credentials until upstream remediation is confirmed.

Upstream fix (open source)

Workarounds / mitigations

Exploit / PoC

If a public PoC exists, prefer vendor advisories and defensive write-ups; do not host weaponized exploit code in this repository.

Detection / verification

Patch

Track NVD references for CVE-2026-6494 and apply the upstream patched release or commit recommended by the vendor/CNA.