Skip to main content

CVE-2026-108592: Cleartext Storage of Sensitive Information in an Environment Variable in SWE-agent mini-swe-agent

0
Medium
VulnerabilityCVE-2026-108592cvecve-2026-108592
Published: 10/10/2026 (10/10/2026, 18:16:56 UTC)
Source: CVE Database V5
Vendor/Project: SWE-agent
Product: mini-swe-agent

Description

mini-swe-agent versions 1.10.0 through 2.4.6 have an information exposure vulnerability where sandboxed commands inherit the host environment due to omission of the --clearenv flag in BubblewrapEnvironment. This allows attackers leveraging prompt injection to read sensitive environment variables such as API keys and potentially exfiltrate them over the network. The vulnerability has a medium severity rating with a CVSS 4.0 score of 6. No patch or official remediation information is provided.

CVSS v4.0

Score 6.0medium

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
Passive
Vuln. Confidentiality
High
Vuln. Integrity
None
Vuln. Availability
None
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

SWE-agent

mini-swe-agent

Affected versions
>=1.10.0 <=2.4.6
mini-swe-agent
pkg:pypi/mini-swe-agent
Affected versions
>=1.10.0 <=2.4.6

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/10/2026, 18:48:32 UTC

Technical Analysis

The vulnerability in mini-swe-agent (versions 1.10.0 through 2.4.6) arises because the BubblewrapEnvironment component uses bwrap without the --clearenv option. This omission causes sandboxed commands to inherit environment variables from the host system. An attacker who can perform prompt injection in processed task content can exploit this to read sensitive environment variables, including API keys, and exfiltrate them over the network. The CVSS 4.0 vector indicates network attack vector, low attack complexity, partial attack type privileges, user interaction required, and high impact on confidentiality.

Potential Impact

Attackers can gain unauthorized access to sensitive information stored in environment variables, such as API keys, by exploiting prompt injection vulnerabilities. This exposure can lead to credential theft and unauthorized access to services relying on those keys. The vulnerability does not indicate privilege escalation or integrity/availability impacts but poses a confidentiality risk.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, avoid processing untrusted input that could lead to prompt injection, and consider restricting environment variable exposure in sandboxed commands if possible.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
VulnCheck
Date Reserved
2026-10-10T18:08:11.425Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 6aca85122cdf04f65643077d

Added to database: 10/10/2026, 18:33:54 UTC

Last enriched: 10/10/2026, 18:48:32 UTC

Last updated: 10/10/2026, 18:56:55 UTC

Views: 5

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses