CVE-2026-65699 Details
Description
AgentGPT through 1.0.0 contains an authorization bypass through user-controlled key vulnerability that allows authenticated users to attach tasks to another user's agent run by supplying a target run_id in the request body without ownership verification. The AgentCRUD.create_task and validate_task_count functions look up the target AgentRun using the client-supplied run_id without confirming the run belongs to the requesting user, enabling an attacker who obtains a valid run_id to corrupt task history, exhaust the per-run loop budget, and drive LLM costs against the victim's run.
A vulnerability in AgentGPT versions through 1.0.0 allows authenticated users to bypass authorization and attach tasks to another user's agent run. This is achieved by supplying a target run_id in the request body without verification of ownership. The issue arises in the AgentCRUD.create_task and validate_task_count functions, which look up the target AgentRun using the client-supplied run_id without confirming that the run belongs to the requesting user. As a result, an attacker who obtains a valid run_id can corrupt task history, exhaust the per-run loop budget, and incur LLM costs against the victim's run.
To address this vulnerability, implement object-level authorization checks in the 'validate_task_count' and 'create_task' functions. Ensure that the run_id is verified against the authenticated user's identity before allowing task attachments. This ownership check should be applied to all routes that accept client-supplied run_ids.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jul 23, 2026CISA-ADP
Assessed Jul 23, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/geo-chen/oss/blob/main/AgentGPT.md | [email protected] | ExploitTechnical Analysis |
| https://www.vulncheck.com/advisories/agentgpt-authorization-bypass-via-agent-task-creation | [email protected] | Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-639 | Authorization Bypass Through User-Controlled Key | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| AgentGPT | <= 1.0.0 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 23, 2026 | CVE Modified | CISA-ADP |
| Jul 23, 2026 | New CVE Received | [email protected] |
Volerion