---
id: CVE-2026-51867
title: >-
  agentgpt v.1.0.0 is vulnerable to Incorrect Access Control in
  next/src/server/api/routers/agentRouter.ts
summary: >-
  agentgpt v.1.0.0 is vulnerable to Incorrect Access Control in
  next/src/server/api/routers/agentRouter.ts. An externally reachable path
  accepts a caller-selected object or tenant identifier and reaches a
  data-access operation without a vi…
severity: critical
cvss: 9.8
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'
cwe:
  - CWE-284
published: '2026-09-30'
updated: '2026-10-02'
sourceUpdated: '2026-10-02T13:17:48.443'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-51867'
references:
  - url: 'https://gist.github.com/Ro1ME/62547f81c244f273b66755dad63a8673'
    label: cve@mitre.org
  - url: 'https://gist.github.com/Ro1ME/62547f81c244f273b66755dad63a8673'
    label: 134c704f-9b21-4f2e-91b3-4a467353bcc0
tags:
  - nvd
  - cve.org
  - exploit-available
exploitAvailable: true
ssvc:
  exploitation: poc
  automatable: 'yes'
  technicalImpact: total
  timestamp: '2026-10-02T12:38:29.024858Z'
epss: 0.00334
epssPercentile: 0.26549
ingestedAt: '2026-09-30T21:25:07.845Z'
---

## Overview

agentgpt v.1.0.0 is vulnerable to Incorrect Access Control in next/src/server/api/routers/agentRouter.ts. An externally reachable path accepts a caller-selected object or tenant identifier and reaches a data-access operation without a visible owner, tenant, workspace, or membership binding on that object.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
