Description
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.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
SWE-agent mini-swe-agent
Default version status: unaffected
1.10.0 to ≤ 2.4.6affected
pkg:pypi/mini-swe-agentReferences
- https://hackmd.io/@haind/minisweagent-bubblewrap-host-environment-leak ↗
- https://github.com/SWE-agent/mini-swe-agent/blob/v2.4.6/src/minisweagent/environments/extra/bubblewrap.py#L38-L103 ↗
- https://github.com/SWE-agent/mini-swe-agent ↗
- https://www.vulncheck.com/advisories/mini-swe-agent-1.10.0-through-2.4.6-environment-exposure-via-bubblewrapenvironment ↗