GHSA-p9x3-w98f-7j3q

Suggest an improvement
Source
https://github.com/advisories/GHSA-p9x3-w98f-7j3q
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-p9x3-w98f-7j3q/GHSA-p9x3-w98f-7j3q.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-p9x3-w98f-7j3q
Aliases
Published
2026-03-02T19:53:41Z
Modified
2026-03-04T15:16:35.719608Z
Severity
  • 4.9 (Medium) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:U CVSS Calculator
Summary
NocoDB Missing Ownership Validation in MCP Token Operations
Details

Summary

The MCP token service did not validate token ownership, allowing a Creator within the same base to read, regenerate, or delete another user's MCP tokens if the token ID was known.

Details

McpTokenService.get(), regenerateToken(), and delete() did not filter by fk_user_id. The analogous ApiTokensService correctly enforced ownership.

Impact

Limited — requires Creator role and knowledge of target token ID. Primary risk is denial of service (invalidating tokens) and scoped token disclosure.

Credit

This issue was reported by @bugbunny-research (bugbunny.ai).

Database specific
{
    "github_reviewed_at": "2026-03-02T19:53:41Z",
    "nvd_published_at": "2026-03-02T17:16:34Z",
    "cwe_ids": [
        "CWE-639"
    ],
    "severity": "MODERATE",
    "github_reviewed": true
}
References

Affected packages

npm / nocodb

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.301.3

Database specific

last_known_affected_version_range
"<= 0.301.2"
source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-p9x3-w98f-7j3q/GHSA-p9x3-w98f-7j3q.json"