CVE-2026-138111
Pentest-Swarm-AI cleanup commands bypass campaign target scope
Armur-Ai · Pentest-Swarm-AI
First documented disclosure · Review checkpoint
Summary
Campaign cleanup can execute an allowed program against a target outside the campaign scope.
Severity and exploitation evidence
Medium · 6.9/10 · CVSS 4.0. Severity source.
Exploitation not established: Public researcher or maintainer evidence establishes the reported behavior, not malicious exploitation or identified victims. No payload, package, model or proof of concept was executed during this review.
Technical severity is not a measure of observed attacks or of risk to your deployment. Attempts, demonstrations, and successful compromise retain the qualifications in the source.
How the weakness works
cleanup_command was checked against the executable allowlist without the target-scope validation used for normal actions, then registered for execution at campaign completion.
Conditions required
A campaign plan contains an attacker- or model-influenced cleanup command naming an out-of-scope target, the executable remains allowlisted, and the campaign reaches cleanup.
Potential impact
The agent can run an out-of-scope network or local cleanup action with its process privileges. The program allowlist still applies; this is not arbitrary execution independent of the agent plan.
Affected versions and configurations
CNA lists 0.3.0 through 0.3.7; the original report tested 0.3.7.
Fix and mitigation status
PR 94 was merged November 13 as commit d978838df081ad1747561723c2da910c9478e3a3, adding scope validation before cleanup registration. The fresh release inventory still ends at 0.3.7, so this is a verified source correction without a verified fixed packaged release.
Practical next steps
Apply the reviewed scope-validation correction or disable untrusted cleanup plans. Check cleanup targets as rigorously as primary campaign actions.
Operating lesson
Post-task cleanup must retain the same authorization boundary as the main workflow.
Evidence and limits
The November 4 issue precedes the November 13 source fix. The researcher assigned CVSS 3.1 6.8, which differs from the CNA metrics; ratings do not establish in-the-wild exploitation. Issuing CNA publication was 2026-11-29; this is distinct from the earlier original disclosure and any later index ingestion. Severity is VulDB CNA CVSS 4.0 Medium 6.9. CNA also supplies CVSS 3.1 High 7.3.
Sources
- Original public report
Primary source ·
- Merged scope-validation PR
Primary source ·
- Merged correction commit
Primary source ·
- Issuing CNA record
Primary source ·