{"affected":[{"defaultStatus":"unaffected","ecosystem":"npm","packageName":"%40nocobase/plugin-ai","product":"nocobase","source":"CNA: VulnCheck","vendor":"nocobase","versions":[{"lessThanOrEqual":"2.2.41","status":"affected","version":"2.1.0","versionType":"semver"}]}],"cveId":"CVE-2026-125397","cwes":["CWE-863"],"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.","epss":null,"exploits":[],"kev":null,"metrics":[{"score":7.1,"severity":"high","source":"CNA: VulnCheck","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:H/VA:N/SC:N/SI:N/SA:N","version":"4.0"},{"score":7.1,"severity":"high","source":"CNA: VulnCheck","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:N","version":"3.1"}],"modifiedAt":1794266880802,"publishedAt":1794266880802,"references":[{"source":"CNA: VulnCheck","tags":["issue-tracking","patch"],"url":"https://github.com/nocobase/nocobase/pull/11009"},{"source":"CNA: VulnCheck","tags":["patch"],"url":"https://github.com/nocobase/nocobase/commit/ae5a05954e20608de510c33847089269cb37411a"},{"source":"CNA: VulnCheck","tags":["product"],"url":"https://github.com/nocobase/nocobase"},{"source":"CNA: VulnCheck","tags":["technical-description"],"url":"https://github.com/nocobase/nocobase/blob/v2.2.41/packages/plugins/@nocobase/plugin-ai/src/ai/tools/sub-agents/shared.ts#L26-L33"},{"source":"CNA: VulnCheck","tags":["third-party-advisory"],"url":"https://www.vulncheck.com/advisories/nocobase-plugin-ai-2.1.0-through-2.2.41-authorization-bypass-via-sub-agent-username-override"}],"remediation":[{"kind":"fix","source":"CNA: VulnCheck","text":"The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.","url":"https://github.com/nocobase/nocobase/pull/11009"},{"kind":"fix","source":"CNA: VulnCheck","text":"The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.","url":"https://github.com/nocobase/nocobase/commit/ae5a05954e20608de510c33847089269cb37411a"}],"revision":"63360379c062ab37e99f424dc13aeb3c64217d806088f6a619d3781e00cfe89f","sources":[{"modifiedAt":1794266880802,"name":"CNA: VulnCheck","retrievedAt":1794269363830,"url":"https://www.cve.org/CVERecord?id=CVE-2026-125397"}],"ssvc":null,"status":"published","title":"NocoBase plugin-ai 2.1.0 through 2.2.41 Authorization Bypass via Sub-Agent Username Override","updatedAt":1794269363830}