---
title: "[AUTO] ARTEX AI pentesting agent had a prompt-injection path to remote code execution"
pubDatetime: 2026-12-02T02:14:00.000Z
description: "A GitHub security advisory describes how a hostile webpage's text could get ARTEX's Bash tool to run attacker commands, exposing other users' stored credentials, before a fix in v0.7.1."
tags: [artex, prompt-injection, vulnerability, ai-agents, vulnerability-disclosure, 2026, 2026-q4, 2026-12, AUTO]
---
ARTEX is an AI agent marketed for automated penetration testing, and a GitHub Security Advisory, GHSA-9fqx-7xv3-gj58, describes a prompt-injection-to-remote-code-execution flaw in it affecting versions up to and including v0.7.0, fixed in v0.7.1.

Per [Endor Labs' writeup](https://www.endorlabs.com/learn/aartex-ai-pentest-agent-prompt-injection-rce-ghsa-9fqx-7xv3-gj58) of the advisory, the attack chain works by having a hostile webpage's text get executed through the agent's own Bash tool while it is carrying out a scan. From there, the flaw gave access to other clients' stored session transcripts and credentials, which were kept in a world-readable directory. The advisory rates the issue 8.2 ("High") for default Docker deployments and 9.6 ("Critical") for native installations, crediting researcher Peyton Kennedy of Endor Labs, reported November 30 and fixed December 1, 2026. No CVE number has been assigned; the advisory uses its own identifier, ENDOR-VUL-2026-3011.

---
*Sources: [Endor Labs advisory writeup](https://www.endorlabs.com/learn/aartex-ai-pentest-agent-prompt-injection-rce-ghsa-9fqx-7xv3-gj58)*

*Related on this blog: [[AUTO] ARTEX weaponizes pentesting](/posts/auto-artex-attacks)  •  [[AUTO] Microsoft says state-linked hackers are folding ARTEX AI into intrusion tooling](/posts/auto-artex-storm-0940)  •  [[AUTO] Self-Propagating Prompts Infect AI Agents](/posts/auto-agent-prompt-infection)*