Description
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.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
nocobase nocobase
Default version status: unaffected
2.1.0 to ≤ 2.2.41affected
pkg:npm/%40nocobase/plugin-aiReferences
- https://github.com/nocobase/nocobase/pull/11009 ↗
- https://github.com/nocobase/nocobase/commit/ae5a05954e20608de510c33847089269cb37411a ↗
- https://github.com/nocobase/nocobase ↗
- https://github.com/nocobase/nocobase/blob/v2.2.41/packages/plugins/@nocobase/plugin-ai/src/ai/tools/sub-agents/shared.ts#L26-L33 ↗
- https://www.vulncheck.com/advisories/nocobase-plugin-ai-2.1.0-through-2.2.41-authorization-bypass-via-sub-agent-username-override ↗