PentestGPT is an open-source penetration testing agent that points a large language model at a target and lets it work. In its default mode it runs recon, then exploit, then walkthrough, each stage feeding the next. Switch it to pentest mode and the stages become asset discovery, vulnerability identification, report. No human sits in the loop. The agent drives Claude Code or Codex, runs the tools,

A new open-source penetration testing agent, PentestGPT, has been released, designed to automate the process of identifying vulnerabilities in target systems. The framework, developed by Gelei Deng and a team of colleagues, was initially presented at USENIX Security 2024.
PentestGPT operates by leveraging large language models (LLMs) to conduct various stages of a penetration test. In its default autonomous mode, the agent progresses through reconnaissance, exploitation, and a final walkthrough, with each stage informing the next. An alternative "pentest mode" focuses on asset discovery, vulnerability identification, and report generation. This fully automated approach eliminates the need for human intervention during the testing process.
The system drives specific LLMs, including Claude Code and Codex, to execute tools and make decisions on subsequent actions. Installation requires Python 3.12 or newer, the `uv` package manager, and authenticated command-line interfaces for Claude Code and Codex. A Docker image is provided that bundles these CLIs, allowing for a single login and persistent token storage across container recreations. A notable detail for deployment is that ChatGPT refresh tokens are single-use, necessitating OAuth callback forwarding via `socat` for Codex login during initial image setup.
An older design, `pentestgpt-legacy`, offers a human-in-the-loop interactive mode. This legacy version employs three cooperating LLM sessions—one for reasoning, one for generation, and one for parsing—to maintain a Pentesting Task Tree. This interactive mode supports a broader range of LLM providers than the autonomous pipeline, including OpenAI, Anthropic, Google Gemini, DeepSeek, xAI, Qwen, Moonshot, and local models via Ollama. The model registry was last verified in June 2026, and a built-in smoke test is available to confirm the live functionality of configured models.
By default, PentestGPT transmits anonymous usage data to a Langfuse project. This telemetry includes session metadata such as target type, duration, and completion status, as well as a record of tools executed and whether a flag was found. The developers explicitly state that command outputs, credentials, and flag values are never transmitted. Users can opt out of this data collection via a command-line flag or an environment variable.
PentestGPT is freely available on GitHub.
A weakness has been identified in Tenda CP3 27.5.57.101. This issue affects some unknown processing of the file Net/NetCheckPing.cpp. This manipulation of the argument interface_name/host causes os command injection. The attack can be initiated remotely.
A security flaw has been discovered in Tenda CP3 27.5.57.101. This vulnerability affects the function SystemAsh of the file Apis/system.c of the component Kylin. The manipulation of the argument AlarmVoiceURL results in os command injection. It is possible to launch the attack remotely.

Attackers are exploiting a new unpatched vulnerability in Magento Open Source and Adobe Commerce that lets them run malicious code on an online store's server without logging in, Dutch e-commerce security company Sansec said in an advisory published on September 5. Sansec, which discovered the flaw and named it StyleSmuggler, said attacks started on September 4. "Sansec is publishing early
In BPF instructions that load/store a value from/to a scratch memory register the register index is an unsigned 32-bit integer and must not exceed 15, but libpcap BPF interpreter does not validate the value. In particular uncommon use cases a crafted filter program can cause the interpreter to try reading and writing the OS process memory in the 16GiB starting at the current stack frame on 64-bit architectures and in the entire address space on 32-bit architectures.

Attackers are exploiting two new PaperCut flaws to steal credentials and gain privileged access in education-sector attacks across the U.S. and Europe. Attackers are exploiting two recelty disclosed PaperCut flaws, CVE-2026-81578 and CVE-2026-82078, in attacks targeting schools and other education organizations in the U.S. and Europe, as reported by TheHackerNews. Arctic Wolf researchers observed

JetBrains is urging Cadence users to revoke and rotate all credentials following a security incident last month in which unidentified threat actors exploited a recently disclosed critical vulnerability in TeamCity to breach its own environment. "Cadence users should immediately revoke or rotate all credentials and secrets that may have been used to run their Cadence executions," JetBrains said.