Summary
AutoGPT versions 0.7.1 through 0.10.0 allow an authenticated user to add a workflow version under another user's workflow ID. This can let the attacker take over the workflow's Marketplace listing, interfere with the owner's ability to save versions, and disrupt runs that do not specify a version.
Affected context
The issue affects AutoGPT workflow version management and Marketplace submissions when the platform accepts a version associated with a workflow ID without verifying that the acting user is authorized to modify that workflow. An attacker's submission may replace the owner's pending Marketplace submission; installing it under the owner's listing depends on approval. The flaw can also affect version saving and runs that do not specify a version, even without reviewer involvement.
Exploit preconditions
- Attack surface: Workflow version creation and Marketplace submission handling
- Required access: An AutoGPT account and the target workflow's ID
- Trigger point: Adding a version under another user's workflow ID
- Why exploitation is possible: The platform does not adequately verify that the authenticated user owns or is authorized to modify the workflow associated with that ID
- Approval condition: Reviewer approval may be needed for the attacker's version to be installed under the owner's Marketplace listing; other reported disruption does not require reviewer involvement
Why this happens
The underlying issue is an authorization check that relies on a user-controlled workflow identifier without reliably confirming the acting user's rights to the referenced workflow. This maps to CWE-639: Authorization Bypass Through User-Controlled Key. When the identifier is accepted without an ownership or permission check, a user may perform version-management actions on another user's workflow.
Potential impact
- An attacker may replace an owner's pending Marketplace submission.
- If the attacker's submission is approved, it could be installed under the owner's listing.
- The owner may be prevented from saving new workflow versions.
- Runs that do not specify a version could be disrupted.
General mitigation guidance
Defensive patterns focus on enforcing authorization at the point where a workflow is modified, rather than trusting a submitted identifier.
- Verify ownership or explicit permissions for every version-creation and Marketplace submission operation.
- Bind workflow operations to the authenticated user's authorized resources on the server side.
- Keep submissions isolated by owner and workflow, and require clear review context before installation.
- Apply least privilege to workflow and Marketplace management roles.
- Add regression tests for cross-user access attempts and workflows with omitted version identifiers.
How teams detect issues like this
Review workflow mutation endpoints for authorization checks that use client-supplied workflow IDs without confirming ownership or permissions. Static analysis and code review can look for resource lookups followed by writes that lack an access-control check. Audit logs and policy enforcement can flag or block attempts to create versions or replace submissions across user boundaries.

