CVE-2026-6494

Aap-mcp-server: aap mcp server: log injection allows social engineering attacks via unsanitized input

State
Published
Severity
5.3 Medium
Published
Apr 17, 2026
Updated
Apr 18, 2026
Reserved
Apr 17, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.15.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:Nredhat

Weaknesses

  • CWE-117 Improper Output Neutralization for Logs

Affected Products

ProductVersions
Red Hat Ansible Automation Platform 2Red Hat

    References

    Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.