---
id: "CVE-2026-125397"
page: "https://infrastack.ai/live/CVE-2026-125397"
kind: "vulnerability"
aliases: ["CVE-2026-125397"]
title: "NocoBase AI plugin lets logged-in users run unassigned AI employees"
severity: "high"
cvss: 7.1
epss: null
exploited: false
status: "open"
category: "ai-tooling"
products: []
ecosystems: []
tags: ["ai-tooling", "nocobase", "plugin-ai", "self-hosted"]
not_affected_if: ["plugin-ai-not-installed", "version-outside-range"]
published_at: "2026-11-10T00:17:13+00:00"
first_seen_at: "2026-11-10T00:28:44+00:00"
updated_at: "2026-11-10T00:30:09+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-125397", "first_seen_at": "2026-11-10T00:28:44+00:00"}]
exploit_sources: []
---

# NocoBase AI plugin lets logged-in users run unassigned AI employees

Link for people: https://infrastack.ai/live/CVE-2026-125397 (this .md is for agents)

The NocoBase plugin-ai versions 2.1.0 through 2.2.41 fail to check role assignments when listing AI employees, so an authenticated user can supply a username to override the filter. An attacker can then run AI employees they were never granted, with their tools and permissions, and read their prompts and tool configuration.

_Summary, check and fix written by a model from the sources; labelled as such._

## How to check

- Check the installed `@nocobase/plugin-ai` version in the NocoBase project's package.json or lockfile; versions `2.1.0` through `2.2.41` are affected.
- Review which AI employees are assigned to which roles, and whether any employee grants tools with sensitive permissions.

## Fix

- `@nocobase/plugin-ai`: move to a version later than `2.2.41` (the sources do not name the exact fixed release; see the linked patch).

## Timeline

- 2026-11-10T00:28:44+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-125397

## Documents

- [advisory] Third-party advisory: www.vulncheck.com https://www.vulncheck.com/advisories/nocobase-plugin-ai-2.1.0-through-2.2.41-authorization-bypass-via-sub-agent-username-override
- [fix] Patch: github.com https://github.com/nocobase/nocobase/commit/ae5a05954e20608de510c33847089269cb37411a

## From the sources

NocoBase plugin-ai 2.1.0 through 2.2.41 contains an authorization bypass vulnerability in getAccessibleAIEmployee() that lets authenticated users access unassigned AI employees by overriding the role-derived filter with a supplied username. Attackers can use the dispatch-sub-agent-task tool to run ungranted AI employees with their tools and permissions, and get-ai-employee to read their prompts and tool configuration.

---

_Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai_
