Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessPlant prompt injection in task content
-
DeliveryOperator runs agent on content
-
ExploitAgent spawns bwrap without --clearenv
-
ExecutionSandbox inherits host env secrets
-
PersistAgent reads API keys
-
ImpactExfiltrate keys over shared network
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A02:2025 - Security Misconfiguration
ASVS 5.0
V13 - Configuration Environment variable protection
|
| Exploitation Conditions | Exploitation requires three concrete conditions all drawn from the description: (1) the deployment must use BubblewrapEnvironment (the bwrap-based sandbox), which is the specific component that omits --clearenv; (2) sensitive secrets such as API keys must actually be present in the host environment that bwrap inherits; and (3) attacker-controlled text must reach the agent as processed task content so that a prompt-injection payload can direct it to read and exfiltrate those variables (matching AT:P and UI:P in the CVSS 4.0 vector). Limiting factors: deployments not using the Bubblewrap sandbox, or that run the agent without real secrets in its environment, or that never feed it untrusted content, are not exploitable; outbound network egress from the sandbox is also needed for exfiltration. |
| Impact | This is a moderate, context-dependent risk rather than a drop-everything priority. The CVSS 4.0 base score of 6.0 is driven by network attack vector (AV:N) and high confidentiality impact (VC:H - leaked API keys), but it is meaningfully constrained by AT:P (a specific attack requirement: attacker-controlled content must reach the agent) and UI:P (the victim must run the agent against that content). No EPSS score was provided in the input, and the CVE is NOT on the CISA KEV list, so there is no evidence of active exploitation - treat exploitation status as 'no public exploit identified at time of analysis.' A detailed technical write-up exists (hackmd) and the vulnerable code region is pinpointed in the vendor repository, which lowers the research barrier for an attacker even though no packaged exploit is confirmed. The signals are internally consistent (there is no network-vs-local contradiction), but note one nuance: PR:N labels this 'unauthenticated,' yet real-world exploitation still hinges on an operator choosing to run the agent on untrusted task content under the Bubblewrap sandbox - so the unauthenticated label overstates how opportunistically this can be triggered. Net: prioritize for anyone running mini-swe-agent's BubblewrapEnvironment with real secrets in the host environment, but it is not a mass-exploitation internet-facing threat. |
| Exploit ScenarioDerived | An operator runs mini-swe-agent (1.10.0-2.4.6) using BubblewrapEnvironment to triage an issue, PR, or document that contains attacker-planted instructions. Because bwrap is launched without --clearenv, the sandboxed shell inherits the host's environment including API keys; the injected prompt steers the agent to read those variables and POST them to an attacker-controlled endpoint over the shared network. No packaged public exploit is identified, but a public technical write-up and the exact vulnerable source lines are available. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 10, 2026
Information exposure in mini-swe-agent versions 1.10.0 through 2.4.6 allows remote attackers to read sensitive environment variables, such as API keys, from the host system when the BubblewrapEnvironment sandbox is used. The sandbox fails to clear the environment (missing --clearenv), so sandboxed commands inherit the host environment. An attacker can leverage prompt injection in processed task content to direct the agent to exfiltrate these secrets over the network. Exploitation requires the use of BubblewrapEnvironment, presence of sensitive variables in the environment, and attacker-controlled task content; it is a moderate, context-dependent risk, and no public exploit has been identified at the time of analysis.
RemediationAI
No vendor-released patch identified at time of analysis. Users should upgrade to a version that includes the --clearenv flag in the bwrap invocation if available, or manually modify the BubblewrapEnvironment configuration to pass --clearenv and explicitly set only necessary environment variables. As a workaround, avoid running mini-swe-agent with sensitive secrets in its environment when processing untrusted task content, or sanitize the environment before execution (e.g., using env -i or unsetting sensitive variables). Additionally, restrict outbound network egress from the sandbox to prevent exfiltration. Review the VulnCheck advisory at https://www.vulncheck.com/advisories/mini-swe-agent-1.10.0-through-2.4.6-environment-exposure-via-bubblewrapenvironment and the technical writeup at https://hackmd.io/@haind/minisweagent-bubblewrap-host-environment-leak for further mitigation guidance. Note that mitigations may impact functionality if the agent relies on specific environment variables; carefully test changes.
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 vulnerability lies in the BubblewrapEnvironment component of mini-swe-agent, which uses Bubblewrap (bwrap) to sandbox command execution. Bubblewrap is a low-level sandboxing tool that relies on Linux namespaces, and by default it does not clear the environment unless the --clearenv flag is passed. In affected versions (1.10.0 through 2.4.6), the bwrap invocation omits --clearenv, causing sandboxed processes to inherit all environment variables from the host, including secrets like API keys. This is classified as CWE-526 (Exposure of Sensitive Information Through Environmental Variables). The attack vector is network-based (AV:N) but requires attacker-controlled text to reach the agent as processed task content, enabling prompt injection to instruct the agent to read and transmit those variables. The CVSS 4.0 vector indicates high confidentiality impact only (VC:H), with no integrity or availability impact, and requires passive user interaction (UI:P) and specific attack conditions (AT:P). The independent assessment aligns with a CVSS 3.1 vector of AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N, reflecting that exploitation is not trivial and depends on multiple preconditions.
Know when Mini Swe Agent 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:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
AC:H and UI:R because exploitation needs attacker content plus an operator running the Bubblewrap sandbox on it; PR:N since no authentication is required; C:H for leaked keys, I/A:N.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
mini-swe-agent 1.10.0 through 2.4.6 contains an information exposure vulnerability in BubblewrapEnvironment because bwrap omits --clearenv, so sandboxed commands inherit the host environment. Attackers using prompt injection in processed task content can make the agent read API keys from the environment and exfiltrate them over the shared network.
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
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
EUVD-2026-96402
GHSA-p449-r4wm-3hpm
NVD
CVE.org
EPSS
Exploit-DB