CVE-2026-132122: agentic-radar could load a .env from a scanned repository, letting it redirect OPENAI_BASE_URL and capture your OpenAI API key (fixed 0.14.2)
agentic-radar, SPLX's open-source security scanner for agentic workflows, called load_dotenv() with no path when its CLI was imported. From 0.7.0 until 0.14.2, a .env file found by python-dotenv's upward search (for example in a scanned repository whose virtualenv lives inside it, or in a parent directory) could set variables such as OPENAI_BASE_URL, so agentic-radar scan openai-agents or --harden-prompts sent requests carrying your OpenAI API key to an attacker's host. 0.14.2 loads a .env file only from an explicit --env-file path.
What it is
agentic_radar/cli.py ran load_dotenv() at import time. With no path, python-dotenv searches upward from the installed package directory, so a .env in a scanned repository (when the virtualenv lives inside it) or in any parent directory was loaded (CWE-15).
A malicious repository can set OPENAI_BASE_URL to an attacker-controlled host. The OpenAI-backed features (scan openai-agents and --harden-prompts) then send their API requests, with the user's OpenAI API key, to that host.
Affected: agentic-radar >= 0.7.0, < 0.14.2. Fixed in 0.14.2 (13 November 2026, PR #134), which adds --env-file PATH / AGENTIC_RADAR_ENV_FILE; variables already in the environment take precedence. The CVE was published on 18 November 2026.
How to check
- Run pip show agentic-radar and check the version.
- If you scanned untrusted repositories with an affected version, look for .env files in them (or their parent directories) that set OPENAI_BASE_URL or other API base URLs.
How to fix
- Upgrade agentic-radar to 0.14.2 or later. If you relied on automatic .env loading, pass --env-file .env or export the variables.
- If you may have been affected, rotate the OpenAI API key you used with agentic-radar.
- Scan untrusted repositories with a separate, low-limit API key.
pip show agentic-radar | grep -i '^version'
# does the repo you are scanning try to redirect API calls?
grep -rn 'OPENAI_BASE_URL\|OPENAI_API_BASE' --include='.env*' . .. 2>/dev/null Sources
- criticalMalicious npm packages posing as AI SDKs and MCP servers: character-ai-sdk, char-ai-sdk, @mibbp/agent-observer, mrnima-openai-chatgpt-bot and @fdcasj_dfew/md-doc-mcp
- criticalCVE-2026-119990: Azure OpenAI missing-authentication flaw rated 9.8, fixed by Microsoft in the service
- criticalCVE-2026-63377 and CVE-2026-63378: TAKO AI Agent for Okta lets anyone grab the first admin account and any user run Python as root, upgrade to 3.0.1-beta
- criticalCVE-2026-107685: ReqLLM's OpenAI WebSocket sessions skip TLS checks and can leak API keys