Code execution via traceback prompt injection
Published Aug 20, 2026 · Updated Aug 20, 2026
Indirect prompt injection in Web-Page Crawling in GreyDGL PentestGPT 1.0.0 and earlier allows remote attackers to execute code via crafted webpages. An attacker-controlled site can return a fabricated Python traceback that PentestGPT feeds into its agent context as crawl output, leading the agent to run attacker-supplied pip install and import commands. Exploitation requires PentestGPT to crawl attacker-controlled content and depends on the agent following the injected remediation steps, but successful runs yield code execution inside the PentestGPT container.
Summary
What happened
Indirect prompt injection in Web-Page Crawling in GreyDGL PentestGPT 1.0.0 and earlier allows remote attackers to execute code via crafted webpages. An attacker-controlled site can return a fabricated Python traceback that PentestGPT feeds into its agent context as crawl output, leading the agent to run attacker-supplied pip install and import commands. Exploitation requires PentestGPT to crawl attacker-controlled content and depends on the agent following the injected remediation steps, but successful runs yield code execution inside the PentestGPT container.
The record
- CVE
- CVE-2026-76993
- Published
- Aug 20, 2026
- Updated
- Aug 20, 2026
- Vendor
- GreyDGL
- Product
- PentestGPT
- Classifications
- CWE-707, CWE-74
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Aug 20, 2026CVE publishedPublication date reported by the CVE source.
- Aug 20, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=1.0
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Public exploit references
- pentestgpt-vul-reportfunctional · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo