What happened
CVE-2026-138111 is an improper-authorization flaw (CWE-266/CWE-285) in the executeWithVars function of internal/agent/exploit/executor.go in Armur-Ai's Pentest-Swarm-AI agent up to 0.3.7. The exploit is public and can be triggered remotely; the fix is commit d978838df081ad1747561723c2da910c9478e3a3.
Why it matters
Pentest-Swarm-AI is an open-source AI penetration-testing swarm agent that orchestrates autonomous exploit execution. A remote unauthorized caller who can reach its exploit executor could drive the agent's execution paths or bypass authorization on what the swarm is allowed to attack/execute, turning an offensive-AI tool into a foothold for an attacker.
Attack vector
Unauthenticated remote call into the agent's exploit-executor path to bypass authorization checks (improper authorization, CWE-266/285).
Affected systems
Armur-Ai Pentest-Swarm-AI <= 0.3.7 (Exploit Executor)
Mitigation
Apply patch commit d978838df081ad1747561723c2da910c9478e3a3 / upgrade the agent.