Technical impact
The flaw allows a user to supply a malicious json.py file in the current working directory that is imported by a telemetry subprocess started from the af CLI or MCP server, resulting in execution of that code with the same privileges as the user running the command. This is an uncontrolled search path element (CWE‑427) that enables arbitrary code execution at the local level, potentially compromising data or services that the user can access.
Affected Systems
Both the af CLI and the MCP server in astronomer:astro‑airflow‑mcp versions 0.5.0 through 0.9.1 are vulnerable. The issue was fixed in version 0.9.2 and later. The product is part of the Astronomer Agents collection.
Risk and Exploitability
The CVSS score of 7.8 indicates a high‑risk local exploitation scenario. EPSS data is not available, so current exploitation probability cannot be quantified. The vulnerability is not listed in CISA KEV. Exploitation requires the attacker to control the user’s working directory or otherwise place a malicious json.py file there, so the attack vector is local and depends on the user’s workflow. Running the tool from a trusted or isolated project mitigates the risk.