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

CVE-2026-51899: SuperAGI Authentication Bypass Vulnerability

CVE-2026-51899 is an authentication bypass flaw in SuperAGI v0.0.14 and prior that allows authenticated users to manipulate agents across organizations. This post explains its impact, affected versions, and mitigation steps.

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-51899 Overview

CVE-2026-51899 is a broken access control vulnerability in SuperAGI v0.0.14 and prior. Multiple controller endpoints under /api/agents/ accept a project_id parameter without verifying that the project belongs to the authenticated user's organization. Authenticated users from one organization can create, schedule, edit, stop, and delete agents belonging to projects owned by a different organization. The flaw is classified as [CWE-284: Improper Access Control] and affects tenant isolation across the agent management surface.

Critical Impact

Authenticated cross-tenant manipulation of agents allows attackers to disrupt or alter autonomous AI workflows operated by other organizations.

Affected Products

  • SuperAGI v0.0.14
  • SuperAGI versions prior to v0.0.14
  • SuperAGI agent controller API (/api/agents/*)

Discovery Timeline

  • 2026-10-02 - CVE-2026-51899 published to NVD
  • 2026-10-02 - Last updated in NVD database

Technical Details for CVE-2026-51899

Vulnerability Analysis

SuperAGI is a multi-tenant framework for building and running autonomous AI agents. Organizations contain projects, and projects contain agents. The controller endpoints /api/agents/create, /api/agents/schedule, /api/agents/delete, /api/agents/edit_schedule, and /api/agents/stop_schedule accept a project_id parameter from the authenticated caller.

The endpoints authenticate the caller but omit an authorization check that binds project_id to the caller's organization_id. Any authenticated user who supplies a project_id belonging to another tenant can invoke the handler against that tenant's resources. The result is horizontal privilege escalation across organizational boundaries.

Impact scenarios include creating rogue agents inside a victim organization, altering their schedules, stopping production agents, and deleting existing agents. Confidentiality impact is limited because the endpoints do not return project data, but integrity and availability of agent workflows are directly affected.

Root Cause

The root cause is a missing object-level authorization check [CWE-284]. The handlers trust the client-supplied project_id as an authorization token. A server-side verification that project.organization_id == current_user.organization_id is absent from the affected routes.

Attack Vector

The attacker must hold valid credentials in any SuperAGI organization on the target instance. The attacker enumerates or guesses numeric project_id values owned by other tenants, then issues HTTP requests to the vulnerable /api/agents/* endpoints with those IDs. See the GitHub Issue Discussion and the GitHub Gist PoC Repository for request-level details.

No verified exploit code is reproduced here. The vulnerability requires only standard authenticated API access with no special user interaction.

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-51899

Indicators of Compromise

  • Agent creation, deletion, or schedule modification events where the acting user's organization_id does not match the target project's organization_id.
  • Unexpected new agents appearing in a project without a corresponding workflow in the owning organization's audit log.
  • Spikes in requests to /api/agents/create, /api/agents/schedule, /api/agents/delete, /api/agents/edit_schedule, or /api/agents/stop_schedule referencing a wide range of project_id values from a single session.

Detection Strategies

  • Add server-side logging that records user.organization_id, project.organization_id, and the invoked endpoint for every call to the agent controller.
  • Alert on any request where those two organization IDs differ.
  • Review historical API logs for sequential or scripted enumeration of project_id parameters.

Monitoring Recommendations

  • Forward SuperAGI API logs to a centralized SIEM or data lake for cross-tenant correlation.
  • Baseline normal agent lifecycle operations per organization and alert on deviations.
  • Monitor database write events on the agents and agent_schedules tables for operations initiated by users outside the owning organization.

How to Mitigate CVE-2026-51899

Immediate Actions Required

  • Restrict network exposure of the SuperAGI API to trusted users while a patched build is prepared.
  • Audit the agents and agent_schedules tables for records that do not match the expected organization ownership and roll back unauthorized changes.
  • Rotate API tokens for any accounts suspected of being used to probe cross-tenant endpoints.

Patch Information

At the time of publication, no fixed SuperAGI release is referenced in the NVD entry. Track the upstream GitHub Issue Discussion for remediation status and apply the patched version as soon as it is published by the project maintainers.

Workarounds

  • Add a middleware or decorator to the affected /api/agents/* routes that resolves project_id to its owning organization and rejects requests where the IDs do not match.
  • Deploy a reverse-proxy rule that strips or validates project_id against a session-bound allowlist.
  • Temporarily disable the five affected endpoints for multi-tenant deployments until an authorization check is in place.
bash
# Example server-side authorization check (pseudocode)
# Reject any /api/agents/* request where the project does not belong to the caller
project = db.get_project(request.project_id)
if project.organization_id != current_user.organization_id:
    return http_response(403, "Forbidden: cross-organization access denied")

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.