/

CVE-2026-51916

Severity:

HIGH RISK

(7.5)

Broken Access Control (CWE-284) in SuperAGI Knowledge

CVE-2026-51916

Deferred

Vulnerability type

Category:

Broken Access Control

CWE:

CWE-284

Impact:

Unauthorized deletion of knowledge data

Severity:

HIGH RISK

(7.5)

CVSS version:

3.1

Catch this CVE while code is being written

Detect vulnerable code directly in pull requests, so CVEs are fixed before merge.

Summary

SuperAGI contains an access control flaw in the knowledge-deletion endpoint, allowing a request to delete a knowledge object without authentication or organization-ownership checks. An attacker who can reach the endpoint and obtain a valid knowledge identifier may delete data belonging to another organization.

Affected context

The issue occurs in deployments using the affected SuperAGI knowledge-management route. The deletion handler may process a supplied knowledge identifier without first establishing the caller's identity or confirming that the selected object belongs to the caller's organization.

Exploit preconditions

  • Attack surface: HTTP POST request to the knowledge-deletion endpoint
  • Required access: Network reachability to the application; authentication may not be required by the affected route
  • Trigger point: Submission of a deletion request containing a knowledge identifier
  • Why exploitation is possible: The route lacks required authentication and organization-ownership checks before deleting the referenced object

Why this happens

The vulnerability results from enforcing neither authentication nor object-level authorization at a sensitive deletion operation. This is an instance of CWE-284: Improper Access Control, where application logic permits a request to perform a protected action without verifying that the requester has the necessary identity and ownership privileges.

Potential impact

  • An unauthenticated or unauthorized party may delete knowledge objects
  • Organizations could experience loss of stored knowledge and related functionality
  • Attackers could cause integrity or availability impacts through repeated deletion requests
  • Operational recovery costs could increase if deleted data is not backed up

General mitigation guidance

Mitigation generally focuses on enforcing authorization at the operation that performs the deletion, rather than relying only on route exposure or client-side controls.

Common defensive patterns include:

  • Require authentication before processing knowledge-management actions
  • Verify that the authenticated principal has permission to delete the requested object
  • Enforce organization or tenant ownership checks using server-side data
  • Use deny-by-default authorization policies for destructive operations
  • Return consistent authorization failures without revealing unnecessary object details
  • Apply least privilege and maintain recoverable backups for important knowledge data

How teams detect issues like this

Organizations can look for this weakness through:

  • Static analysis rules identifying destructive handlers without nearby authorization checks
  • Code review signals such as direct deletion by client-supplied identifiers
  • Tests that attempt cross-organization object access and unauthenticated requests
  • API policy checks requiring authentication and object-level authorization for destructive methods
  • Audit-log monitoring for unusual deletion volume, anonymous requests, or cross-tenant access attempts

Automated security review tools may help identify missing access-control checks, but behavioral authorization tests should also be used.

Sources

SourceLink
gist.github.comgist.github.com/Ro1ME/b2e83acef8d5743023ffedd806bb7a08

Frequently asked

questions

It may be remotely exploitable when the affected endpoint is network-accessible and an attacker can submit requests to it.

The affected route does not require authentication, according to the vulnerability description. Network reachability and a usable knowledge identifier may still be necessary.

Require authentication and perform server-side authorization that confirms the caller can delete the specific knowledge object within the appropriate organization.

Apply deny-by-default authorization policies, test every destructive endpoint for unauthenticated and cross-tenant access, and monitor deletion activity through reliable audit logs.

Find out what's already
exploitable in your codebase.