Skip to main content
Vulnerability Database/CVE-2026-51914

CVE-2026-51914: SuperAGI v0.0.14 Auth Bypass Vulnerability

CVE-2026-51914 is an authentication bypass flaw in TransformerOptimus SuperAGI v0.0.14 affecting agent template access controls. This vulnerability allows unauthorized template operations across organizations.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-51914 Overview

CVE-2026-51914 is an Incorrect Access Control vulnerability [CWE-284] in TransformerOptimus SuperAGI v0.0.14. The flaw resides in the agent template controller at superagi/controllers/agent_template.py. The save_agent_as_template and publish_template endpoints accept caller-supplied agent_id and agent_execution_id values without verifying that the referenced agent or execution belongs to the authenticated user's organization. An authenticated attacker can access, template, or publish agents owned by other organizations.

Critical Impact

Authenticated users across organization boundaries can read, template, and publish arbitrary agents and executions, exposing proprietary agent configurations and prompt data.

Affected Products

  • TransformerOptimus SuperAGI v0.0.14
  • superagi/controllers/agent_template.py (save_agent_as_template endpoint)
  • superagi/controllers/agent_template.py (publish_template endpoint)

Discovery Timeline

  • 2026-10-02 - CVE-2026-51914 published to the National Vulnerability Database (NVD)
  • 2026-10-05 - Last updated in NVD database

Technical Details for CVE-2026-51914

Vulnerability Analysis

SuperAGI is a multi-tenant autonomous agent framework. The agent template controller exposes endpoints that convert existing agents into reusable templates and publish those templates to the marketplace. Both endpoints accept object identifiers directly from the HTTP request body.

The controller fetches the referenced agent or execution record from the database and proceeds with the template operation. It omits a check comparing the record's owning organization against the authenticated caller's organization. This is a classic Insecure Direct Object Reference (IDOR) pattern mapped to [CWE-284].

An authenticated tenant can enumerate numeric identifiers and extract agent configurations belonging to any other tenant. Publishing a copied template to the marketplace further exposes stolen intellectual property to all platform users.

Root Cause

The handlers in superagi/controllers/agent_template.py perform object lookups by primary key without an authorization predicate. The organization scope present on the authenticated session is never joined against Agent.organization_id or the parent organization of AgentExecution. The access control decision is implicit rather than enforced.

Attack Vector

The attack requires network access and valid low-privilege credentials in any tenant on the target instance. The attacker posts a request to the save_agent_as_template or publish_template endpoint with an agent_id or agent_execution_id owned by a victim organization. The server returns the templated agent definition and, in the publish case, exposes it on the public template catalog.

See the GitHub Gist PoC Script for request structure and reproduction steps.

Detect Identity Attacks the Moment Authentication Fails

Singularity™ Identity surfaces credential misuse, lateral movement, and privilege escalation in real time, so you can contain the breach before it spreads.

Stop Identity Attacks

Detection Methods for CVE-2026-51914

Indicators of Compromise

  • Requests to /agent_templates/save_agent_as_template/{agent_id} or /agent_templates/publish_template/{agent_execution_id} where the identifier does not belong to the caller's organization.
  • Unexpected rows in the agent_templates table referencing source agents owned by a different organization_id.
  • Marketplace publish events originating from accounts that did not create the underlying agent.

Detection Strategies

  • Log all calls to the agent template controller with authenticated user, caller organization, target agent_id, and target organization resolved from the database.
  • Alert on any mismatch between caller organization and the owning organization of the referenced agent or execution.
  • Baseline normal template creation frequency per tenant and flag identifier enumeration patterns.

Monitoring Recommendations

  • Enable verbose audit logging on FastAPI route handlers in superagi/controllers/agent_template.py and ship logs to a central data lake.
  • Monitor database query patterns for Agent.get_agent_from_id calls that return rows from organizations other than the session organization.
  • Review the public template marketplace for duplicate or recently published templates that mirror known internal agents.

How to Mitigate CVE-2026-51914

Immediate Actions Required

  • Restrict network access to SuperAGI deployments running v0.0.14 to trusted users only.
  • Disable or gate the save_agent_as_template and publish_template endpoints behind a reverse proxy ACL until a patched release is deployed.
  • Audit the agent_templates table and the public marketplace for templates created by accounts outside the originating organization.

Patch Information

No vendor advisory or fixed version is referenced in the NVD entry at publication time. Operators should track the TransformerOptimus SuperAGI repository for releases after v0.0.14 and apply any commit that adds organization validation to save_agent_as_template and publish_template in superagi/controllers/agent_template.py.

Workarounds

  • Add an authorization check in both handlers that calls Agent.get_agent_from_id(agent_id) and rejects the request when agent.organization_id does not match the authenticated organization.
  • Apply the same organization check to AgentExecution lookups by resolving the parent agent and comparing organizations before templating or publishing.
  • Deploy an API gateway rule that inspects request bodies and blocks template calls where the target identifier is not enumerated in the caller's tenant scope.
bash
# Example reverse proxy block until patched
location ~ ^/agent_templates/(save_agent_as_template|publish_template) {
    allow 10.0.0.0/24;   # trusted admin subnet
    deny all;
    proxy_pass http://superagi_backend;
}

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.