Skip to main content
Menu
Advisories

A user can add a version under another user's workflow ID and take over its Marketplace listing

GHSA-MWR6-G4XQ-4RVPPublished Updated GitHub

Description

A signed-up user could add a version of their own under another user's workflow ID, and the features that key on a workflow ID alone then read that row as ownership of every version of it. That let them take over the workflow's Marketplace listing and disrupt or move the owner's workflow. Upgrade to v0.11.0 or later.

Impact

An attacker with an account and the target's workflow ID, which every published agent's public Marketplace page carries, could replace the creator's pending Marketplace submission with their own under the creator's listing, so that an approval made the creator's page install the attacker's workflow. Without any reviewer they could also stop the owner saving new versions, break every run that named no version, and, once the owner had saved again, move the owner's versions into an organization they controlled and read the nodes' stored inputs there.

Fix

Fixed in AutoGPT Platform v0.11.0.

A workflow ID now belongs to whoever created it, and a new version can no longer be added to anyone else's, for the workflow itself and every sub-workflow. Editing a workflow you do not own makes your own copy instead, and a Marketplace submission is refused for a listing that belongs to another creator, which also covers IDs that already had two owners.

Fix evidence: 542646df832e.

Upgrade to v0.11.0 or later. Version numbers in this advisory identify Platform releases, whose Git tags are autogpt-platform-beta-v<VERSION>, rather than the backend Python package version. The significantgravitas/autogpt Docker image is tagged v<VERSION>.

Workarounds

None.

---

Details

A workflow version is a row keyed by (id, version, userId), so ownership is recorded per version, while the Marketplace listing, the organization resource transfer and a run that names no version each keyed on the workflow ID alone and read one of its rows as the owner of all of them.

__create_graph in autogpt_platform/backend/backend/data/graph.py is the only function that inserts versions. It wrote the parent graph and each of its sub-graphs under the IDs it was handed and, where an ID already existed, moved the new version past the latest and inserted it with the caller's userId, without asking who owned that ID. Two callers handed it client-chosen IDs:

  • PUT /api/graphs/{graph_id} (api/features/graphs/routes.py) checked ownership of the ID in the URL only, and reassign_ids(..., reassign_graph_id=False) left the IDs on the body's sub_graphs as the client sent them. Saving one's own workflow with a sub-graph whose id was somebody else's was answered 200, where a direct PUT to that ID was answered 404.
  • update_graph_in_library (api/features/library/db.py), the save behind the copilot's edit_agent, numbered from version 1 when the caller owned no version of the ID. A user who asked the copilot to edit a Marketplace agent they had installed reached it with the creator's ID, so workflow IDs with more than one owner could exist without any attack.

A sub-graph's version was the client's too: one stored at 2147483647 made the owner's next save overflow the Int column.

The ownership check is now in __create_graph, the fork in update_graph_in_library, and backend/util/architecture_test.py fails any new AgentGraph insert written outside backend/data/graph.py. IDs that already have more than one owner are listed by SELECT id FROM "AgentGraph" GROUP BY id HAVING count(DISTINCT "userId") > 1. This is supported platform code.

The defect was introduced in 17f3a19bc35e (#9640, 2025-03-17), first released in v0.6.0. The single-container Docker image (significantgravitas/autogpt, published from v0.7.1) serves the same workflow and Marketplace routes to every account it registers, so it was affected the same way.

References

Fix evidence: 542646df832e.

Timeline

Reported 2026-10-30 · Triaged 2026-10-31 · Fixed 2026-11-01 · Published 2026-11-17.

A special thank you to Anthropic (@anthropics) for including us in Project Glasswing. Their automated vulnerability scanning and CVP (cyber-enabled inference) access have enabled us to make a leap in our cyber defense capabilities and secure the AutoGPT Platform.

References

GitHub · Significant-Gravitas/AutoGPT