# CVE-2026-125397: NocoBase plugin-ai 2.1.0 through 2.2.41 Authorization Bypass via Sub-Agent Username Override

- Severity: High 7.1 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.27%, higher than 20% of CVEs (2026-12-01)
- Published: 2026-11-09T23:28:00.802Z
- Modified: 2026-11-14T03:17:27.463Z
- Weaknesses: CWE-863
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- nocobase nocobase: from 2.1.0 up to 2.2.41

## Every score

- VulnCheck: CVSS:4.0 7.1 High `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`
- VulnCheck: CVSS:3.1 7.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:N`

## References

- <https://github.com/nocobase/nocobase/pull/11009> (issue-tracking, patch)
- <https://github.com/nocobase/nocobase/commit/ae5a05954e20608de510c33847089269cb37411a> (patch)
- <https://github.com/nocobase/nocobase> (product)
- <https://github.com/nocobase/nocobase/blob/v2.2.41/packages/plugins/@nocobase/plugin-ai/src/ai/tools/sub-agents/shared.ts#L26-L33> (technical-description)
- <https://www.vulncheck.com/advisories/nocobase-plugin-ai-2.1.0-through-2.2.41-authorization-bypass-via-sub-agent-username-override> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-125397](https://www.cve.org/CVERecord?id=CVE-2026-125397), CVE Terms of Use, modified 2026-11-14
- NVD: [CVE-2026-125397](https://nvd.nist.gov/vuln/detail/CVE-2026-125397), Public domain, modified 2026-11-14

---

Page: https://cve.day/CVE-2026-125397 · Whole record: https://cve.day/CVE-2026-125397.json · Rebuilt by cve.day 2026-11-25T22:59:49.700Z
