Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessVictim scans attacker-controlled repository
-
DeliveryImplicit load_dotenv() reads untrusted .env
-
ExploitOPENAI_BASE_URL redirects API endpoint
-
ExecutionOpenAI feature sends request to attacker host
-
ImpactVictim's OPENAI_API_KEY exfiltrated
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A02:2025 - Security Misconfiguration
ASVS 5.0
V13 - Configuration Configuration hardening
|
| Exploitation Conditions | Requires all of the following: (1) the victim runs agentic-radar version 0.7.0 up to (but not including) 0.14.2; (2) the victim has OPENAI_API_KEY (or AZURE_OPENAI_API_KEY) set in their environment; (3) the victim invokes an OpenAI-dependent code path - 'scan openai-agents' or the '--harden-prompts' prompt-hardening feature - because only those make outbound OpenAI calls that carry the key; and (4) the scanned target is an attacker-controlled repository containing a .env that sets OPENAI_BASE_URL (or similar) to an attacker host. The limiting factor is that the pre-fix load_dotenv() searched upward from the installed package directory and could pick up the scanned repo's .env; exploitation is gated by victim user interaction (actively scanning untrusted content with the OpenAI features) and is local to the victim's machine, not remotely triggerable. |
| Impact | This is a genuine but conditional credential-theft issue rather than a mass-exploitation emergency. The CVSS 4.0 base score of 5.7 (medium) is driven by AV:L, AC:H, AT:P and UI:P - exploitation is local to the victim's host and requires a victim to actively run specific functionality against attacker content, so it is not a drive-by network flaw despite the high confidentiality impact (VC:H) from leaking the OpenAI API key. The vuln.today Decision label is 'this_month', consistent with a real-but-not-urgent priority. The CVE is NOT on CISA KEV and no EPSS score was supplied, so there is no evidence of active or widespread exploitation; a public PoC reference exists (github.com/Teycir/agentic-radar-cve) but it is not verified as working exploit code, so PoC availability must not be read as active exploitation. Note a tension worth flagging: PR:N (no authentication) makes the metric look severe, but the real gate is behavioral - the victim must choose to scan an untrusted repository AND use the OpenAI-dependent features - which is why AC:H/AT:P/UI:P pull the score down. Net: a legitimate supply-chain-style credential-exfiltration bug in a developer tool, patched upstream; prioritize patching for teams that actually run agentic-radar against third-party repositories, but it is not a broad internet-facing risk. |
| Exploit ScenarioDerived | An attacker publishes a repository containing a crafted .env file that sets OPENAI_BASE_URL to an attacker-controlled host. When a victim runs agentic-radar's 'scan openai-agents' or uses '--harden-prompts' against that repository, the implicit load_dotenv() searches upward and loads the untrusted repo's .env, redirecting the tool's OpenAI API calls - which carry the victim's OPENAI_API_KEY - to the attacker's server. A public PoC reference exists but is not verified as working exploit code. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 18, 2026
Untrusted .env loading in Agentic Radar 0.7.0 through 0.14.1 lets a scanned malicious repository redirect outbound OpenAI traffic - and the user's OpenAI API key with it - to an attacker-controlled host. The tool's cli.py calls load_dotenv() at import time, so an attacker-supplied .env that sets OPENAI_BASE_URL (or an Azure equivalent) is applied before 'scan openai-agents' or '--harden-prompts' makes its API calls; the key only leaks when the victim has OPENAI_API_KEY or AZURE_OPENAI_API_KEY exported and actively scans an untrusted repository with those OpenAI-dependent features, and the attack stays local to the victim's machine rather than being remotely triggerable. This is a genuine but conditional credential-theft issue rather than a mass-exploitation emergency, with no confirmed active exploitation (not in CISA KEV) and no EPSS signal provided; a public PoC reference exists, but it is not verified as working exploit code. The vendor has released 0.14.2 as the fix.
RemediationAI
Upgrade to Agentic Radar 0.14.2, which removes the implicit load_dotenv() call and requires any .env to be supplied explicitly; the change ships in PR #134, commit b99bb14, and the v0.14.2 release (https://github.com/splx-ai/agentic-radar/releases/tag/v0.14.2). After upgrading, configure credentials either by exporting OPENAI_API_KEY or AZURE_OPENAI_API_KEY in the shell or by passing a trusted file with --env-file (or the AGENTIC_RADAR_ENV_FILE variable); variables already present in the environment take precedence over file values. If upgrading is not immediately possible, avoid running the 'scan openai-agents' and '--harden-prompts' paths against untrusted repositories, run scans from a working directory that contains no .env and point input at copied source rather than the repository root, and strip .env files from third-party repositories before scanning - these reduce but do not eliminate exposure, because the vulnerable load_dotenv() searched upward from the installed package directory rather than only the current directory, so the only complete fix is updating. If an untrusted repository was scanned with OpenAI features enabled on an affected version, treat the OpenAI or Azure OpenAI key as compromised, revoke and reissue it, and review provider-side usage logs for requests routed to unexpected base URLs.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The root cause class is CWE-15, external control of a system or configuration setting: Agentic Radar imported python-dotenv and invoked load_dotenv() unconditionally in agentic_radar/cli.py, and python-dotenv's default find_dotenv() walks upward through the filesystem from the installed package directory looking for a .env. When the scanned target is an attacker-controlled repository, a .env placed along that search path is parsed into os.environ, giving the attacker control over configuration variables such as OPENAI_BASE_URL and AZURE_OPENAI_BASE_URL. Those variables steer the OpenAI client's base endpoint, so any code path that transmits credentials - the 'scan openai-agents' analyzer and the '--harden-prompts' prompt-hardening feature - will send the victim's API key in request headers to the attacker's host; code paths that never call OpenAI are unaffected, which is why the impact is confidentiality-only (C:H/I:N/A:N). The fix in PR #134 (commit b99bb14) deletes the implicit load_dotenv() call, replaces it with an explicit function that only loads a file supplied through the new --env-file option (also settable via AGENTIC_RADAR_ENV_FILE) using load_dotenv(dotenv_path=..., override=False) so pre-existing shell variables win, and adds tests asserting that importing the CLI never calls find_dotenv() and that a .env inside a scanned working directory is ignored. Note that the published CVSS:4.0 vector scores this at 5.7 with AC:H and AT:P, which reflects that the attacker must both plant the configuration and get the victim to run the OpenAI-backed features against that repository.
Know when Agentic Radar gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Local vector since the victim must run the tool against attacker content on their host; AC:H/UI:R because exploitation depends on the victim invoking OpenAI-dependent features; only API-key confidentiality is impacted.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
agentic-radar 0.7.0 before 0.14.2 contains an untrusted configuration loading vulnerability that allows malicious repositories to inject environment variables by having load_dotenv() in agentic_radar/cli.py load the scanned repository's .env file. Attackers can set OPENAI_BASE_URL to an attacker-controlled host so that scan openai-agents or --harden-prompts send requests carrying the user's OpenAI API key to the attacker.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.
EUVD-2026-128623
GHSA-wjf7-gf9m-35rq
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB