Skip to content

Instantly share code, notes, and snippets.

@Ro1ME
Last active September 26, 2026 04:42
Show Gist options
  • Select an option

  • Save Ro1ME/bb6fefd4b943400c92c08e0f0644a986 to your computer and use it in GitHub Desktop.

Select an option

Save Ro1ME/bb6fefd4b943400c92c08e0f0644a986 to your computer and use it in GitHub Desktop.
CVE-2026-51914 - Incorrect Access Control in SuperAGI (agent_template.py:publish_template)

CVE-2026-51914

Type: Incorrect Access Control Product: SuperAGI Affected versions: v0.0.14 Affected component: superagi/controllers/agent_template.py:save_agent_as_template superagi/controllers/agent_template.py:publish_template Suggested CWE: CWE-284 (Incorrect Access Control) Reference: http://superagi.com Reference: http://transformeroptimus.com

Description

TransformerOptimus SuperAGI v0.0.14 is vulnerable to Incorrect Access Control in the agent template controller. In affected source snapshots, save_agent_as_template and publish_template in superagi/controllers/agent_template.py accept caller-supplied agent_id or agent_execution_id values and do not verify that the referenced agent or execution belongs to the authenticated user's organization.

Reproduction Notes (condensed, sanitized)

Condensed from the authorized local validation used for the original report; local filesystem paths are replaced with <local-path>.

Environment:

  1. Deploy an affected SuperAGI version from source.
  2. Use a browser and Burp Suite, or a browser with Developer Tools Network tab.
  3. Create two separate organizations or tenants:
  • Organization A: victim organization.
  • Organization B: attacker-controlled organization.
  1. Create one normal user account in each organization. Part A - Unauthorized save-agent-as-template from another organization's agent: 1. Log in as the Organization A user in Browser Session A.
  2. Create a normal agent in Organization A and run it at least once so it has an agent execution and configuration …

Discoverer

Ro1ME

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment