Skip to content

Instantly share code, notes, and snippets.

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

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

Select an option

Save Ro1ME/c1e18e9c64c324db0bccfaa547eb2d05 to your computer and use it in GitHub Desktop.
CVE-2026-51899 - Incorrect Access Control in SuperAGI (agent.py:edit_schedule)

CVE-2026-51899

Type: Incorrect Access Control Product: SuperAGI Affected versions: ≤v0.0.14 Affected component: superagi/controllers/agent.py:create_agent_with_config superagi/controllers/agent.py:create_and_schedule_agent superagi/controllers/agent.py:edit_schedule Suggested CWE: CWE-284 (Incorrect Access Control) Reference: TransformerOptimus/SuperAGI#1556

Description

In SuperAGI v0.0.14 and prior, controller endpoints (/api/agents/create, /api/agents/schedule, /api/agents/delete, /api/agents/edit_schedule, /api/agents/stop_schedule) allow authenticated users from one organization to create, schedule, edit, stop, and delete agents belonging to a different organization's project. The endpoints accept a project_id parameter but do not verify that the project 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>.

Root cause: The affected controller functions look up Project or AgentSchedule records by caller-supplied identifiers and proceed when the database object exists. They do not bind those ob Security impact: An authenticated user from one organization can create agents, create scheduled agents, or modify existing schedules under another organization's resources. This breaks tenant

Discoverer

Ro1ME

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