NocoDB: Server-Side Request Forgery via Spreadsheet Import Endpoint
### Summary
The spreadsheet-import endpoint `axiosRequestMake` could be used as a generic
HTTP proxy. Before the fix it was reachable unauthenticated, and its
URL-extension allowlist was a regex tested against the full URL string, so
URLs whose query string ended in `.csv` (fo...
Vulnerable Range:
0 -> unfixed
Fix Version:
Review Advisory
NocoDB: Server-Side Request Forgery via Base Migration URL
### Summary
The base-migration endpoint accepted a caller-supplied URL that the migration worker
dereferenced without enforcing protocol or destination, allowing scheme abuse
(`file:`, `ftp:`, etc.) and probing of internal HTTP destinations.
### Details
The `migrate` endpoint...
Vulnerable Range:
0 -> unfixed
Fix Version:
Review Advisory
NocoDB: Stored Cross-Site Scripting via Secure Attachment
### Summary
With `NC_SECURE_ATTACHMENTS=true`, an authenticated uploader could deliver `.html` or
`.svg` attachments that the browser rendered inline from the NocoDB origin instead of
forcing a download.
### Details
The signed attachment handler stored response-header overrid...
Vulnerable Range:
0 -> unfixed
Fix Version:
Review Advisory
NocoDB: Refresh Tokens Persist Through Password Recovery
### Summary
A stolen refresh token survived a password-forgot flow and could be used to mint fresh
JWTs even after the user reset their password.
### Details
`passwordChange` and `passwordReset` deleted the user's refresh tokens, but
`passwordForgot` only rotated `token_versi...
Vulnerable Range:
0 -> unfixed
Fix Version:
Review Advisory
NocoDB: Server-Side Request Forgery via Spreadsheet Fetch URL
### Summary
The spreadsheet-fetch endpoint (`axiosRequestMake`) accepted URLs whose path
contained a permitted extension anywhere in the string, and applied a hand-rolled
regex blocklist that omitted `127.0.0.0/8` and `169.254.0.0/16`, allowing the
cloud-metadata endpoint to b...
Vulnerable Range:
0 -> unfixed
Fix Version:
Review Advisory
### Summary
OAuth access and refresh tokens were not revoked when the user changed, reset, or
recovered their password, leaving an attacker-issued OAuth grant valid after the user
believed they had locked the attacker out.
### Details
`revokeAllOAuthTokensByUser` in the users...
Vulnerable Range:
0 -> 2026.05.1
### Summary
A low-privilege MCP token holder with knowledge of an attachment path could read any
file in shared storage, including attachments belonging to other bases and workspaces,
because the MCP `readAttachment` tool did not verify the file's ownership.
### Details
The M...
Vulnerable Range:
0 -> 2026.05.1
### Summary
The shared form-view submit handler in NocoDB writes the form's `redirect_url` to `window.location.href` after a same-host check that does not validate the URL scheme. A user with `editor` role (or above) on any base can plant a `javascript:` URL in the form's `re...
Vulnerable Range:
0 -> 2026.05.1
### Summary
Two concurrent token-exchange requests using the same OAuth authorization code could
each mint a distinct valid `(access_token, refresh_token)` pair, breaking the
single-use guarantee that PKCE relies on.
### Details
The token-exchange flow read `is_used` and call...
Vulnerable Range:
0 -> 2026.05.1
### Summary
An authenticated user with base-create permission can attach a SQLite source pointing at
an arbitrary file on the NocoDB host, including NocoDB's own internal databases.
### Details
The SQLite client and the base/integration create services accepted a caller-suppl...
Vulnerable Range:
0 -> 2026.05.1
### Summary
An authenticated user with column-create permission can inject SQL into the bulk groupBy
endpoint by setting a column's title to a SQL fragment.
### Details
The bulk groupBy path in `group-by.ts` builds three database-specific `knex.raw()`
aggregations that interp...
Vulnerable Range:
0 -> 2026.05.1
### Summary
An authenticated commenter could store HTML in row comments that executed as script
when other users hovered over the comment in the expanded form view.
### Details
The comment write paths persisted the raw comment body with no server-side sanitisation;
the expand...
Vulnerable Range:
0 -> 2026.05.1
### Summary
The connection-test endpoint opened a raw TCP socket to the user-supplied database
host without resolving and range-checking the destination, so private and link-local
addresses (including IPv4-mapped IPv6 forms and `localhost`) reached the driver.
### Details
A n...
Vulnerable Range:
0 -> 2026.05.1
### Summary
A user in one workspace could exercise another workspace's integration through the
`testConnection` endpoint by supplying its ID, because the integration was fetched in
a bypass scope and the caller's permission check matched any base in any workspace.
### Details...
Vulnerable Range:
0 -> 2026.05.1
### Summary
Sign-in response timing differed between known and unknown email addresses because
the unknown-user branch returned without performing a password hash comparison.
### Details
The unknown-user branch in `auth.service.ts` now performs a `bcrypt.compare` against
a fi...
Vulnerable Range:
0 -> 2026.04.1
### Summary
The shared-view password check fell back to strict-equality (`===`) comparison for
legacy plaintext passwords, leaking the password's length and per-character prefix
through response timing.
### Details
The bcrypt branch (hashes starting with `$2a$`/`$2b$`) was un...
Vulnerable Range:
0 -> 2026.05.1
### Summary
Public shared-view endpoints exposed values from columns that the view owner had
hidden, via three independent paths: groupBy returned raw values for any column
named in the request, filter and sort arrays operated on hidden columns enabling
boolean-blind extractio...
Vulnerable Range:
0 -> 2026.04.1
### Summary
The client-side `hashRedirect` plugin called `window.location.replace()` on a path extracted from the URL hash fragment after only checking `hashPath.startsWith('/')`. Protocol-relative URLs (`//attacker.com/…`) also satisfy that check, so a crafted link such as `...
Vulnerable Range:
0 -> 2026.04.1
### Summary
The password-reset page rendered the URL token directly into a JavaScript string literal in a server-rendered EJS template. EJS `<%= %>` HTML-entity-encodes a fixed set of characters but does not escape single quotes or backslashes, so a crafted token could break ...
Vulnerable Range:
0 -> 2026.04.1
### Summary
An authenticated user with `columnAdd` permission on a Postgres-backed base can inject arbitrary SQL into the formula engine via the optional `direction` argument of `ARRAYSORT(...)`. The value is unrestricted by formula validation and embedded into a `knex.raw` `...
Vulnerable Range:
0 -> 2026.04.1
### Summary
The public shared-view relation endpoints accepted a caller-supplied column
ID without verifying that the column was visible in the shared view, so
anyone holding a share UUID could read links from any LTAR column on the
view's table - including columns the view ow...
Vulnerable Range:
0 -> 2026.05.1
NocoDB: Stale Auth Cache After API Token Deletion
### Summary
Deleted API tokens continued to authenticate requests until their cache entry expired, because the auth cache was not invalidated by token value at deletion time.
### Details
The API token deletion path removed the database row but did not evict the token-value ke...
Vulnerable Range:
0 -> unfixed
Fix Version:
Review Advisory
NocoDB: Attachment Size Limit Bypass via Upload-by-URL
### Summary
The upload-by-URL path did not enforce `NC_ATTACHMENT_FIELD_SIZE` against either the remote file's advertised `Content-Length` or the decoded length of a `data:` URI, allowing an authenticated user to bypass the configured per-file size limit.
### Details
The atta...
Vulnerable Range:
0 -> unfixed
Fix Version:
Review Advisory
NocoDB: Shared-base link access can invite arbitrary users as persistent base members
### Summary
Shared-base sessions were granted the same base-member capabilities as authenticated viewers. Using only the shared-base UUID (`xc-shared-base-id`), an attacker could enumerate base members and invite an arbitrary email into the base as a real member. The invited ...
Vulnerable Range:
0 -> unfixed
Fix Version:
Review Advisory
NocoDB: Missing File Size Enforcement in Upload-by-URL Allows Denial of Service via Disk Exhaustion
### Summary
The `uploadViaURL` path in the v1/v2 attachment API did not enforce `NC_ATTACHMENT_FIELD_SIZE` against the remote `content-length` or against the response stream. An authenticated user (Editor+) could direct the server to download arbitrarily large files, exhausti...
Vulnerable Range:
0 -> unfixed
Fix Version:
Review Advisory
NocoDB: Refresh Token Cookie Set Without `secure` and `sameSite` Flags
### Summary
The refresh-token cookie was set with `httpOnly: true` but missing both the `secure` flag and the `sameSite` attribute. Over plain HTTP the cookie could be intercepted on the network; without `sameSite`, browsers attached it to cross-site POSTs, enabling CSRF agai...
Vulnerable Range:
0 -> unfixed
Fix Version:
Review Advisory
NocoDB: OAuth Token Scope Not Enforced at ACL Layer Allows Scope Escalation
### Summary
The OAuth token strategy attached `oauth_scope` and `oauth_granted_resources` to the request user, but the ACL middleware never consulted either. An OAuth token issued with a restricted scope (e.g. MCP-only) therefore inherited the full permissions of the underlyi...
Vulnerable Range:
0 -> unfixed
Fix Version:
Review Advisory
NocoDB: SSRF Protection Bypass in Notification Webhook Plugins (Slack, Discord, Mattermost, Teams)
### Summary
The `request-filtering-agent` SSRF protection was non-functional in the four notification webhook plugins (Slack, Discord, Mattermost, Teams) because `httpAgent` / `httpsAgent` were passed as part of the request **body** rather than the axios **config**. An authen...
Vulnerable Range:
0 -> unfixed
Fix Version:
Review Advisory
NocoDB: Reflected Cross-Site Scripting via Page Leaving Redirect URL
### Summary
A reflected XSS vulnerability exists in the Page Leaving Warning page. The `ncRedirectUrl` and `ncBackUrl` query parameters are used in `window.location.href` and `<a>` tag bindings without validation, allowing `javascript:` URI injection.
### Details
`PageLeaving...
Vulnerable Range:
0 -> unfixed
Fix Version:
Review Advisory
### Summary
Rich text cell content rendered via `v-html` without sanitization, enabling stored XSS.
### Details
Rich text in `TextArea.vue` was parsed by markdown-it with `html: true` and injected via `v-html` without DOMPurify. A user with Editor role can inject arbitrary HT...
Vulnerable Range:
0 -> 0.301.3
### Summary
Comments rendered via `v-html` without sanitization, enabling stored XSS.
### Details
Comments in `Comments.vue` were parsed by markdown-it with `html: true` and injected via `v-html` without DOMPurify. A user with Commenter role can inject arbitrary HTML that exe...
Vulnerable Range:
0 -> 0.301.3
### Summary
An authenticated user with Creator role can inject arbitrary SQL via the DATEADD formula's unit parameter.
### Details
The third argument (unit) of `DATEADD` was interpolated directly into `knex.raw()` queries after only stripping quote characters. Validation in `...
Vulnerable Range:
0 -> 0.301.3
### Summary
User-controlled content in comments and rich text cells was rendered via `v-html` without sanitization, enabling stored XSS.
### Details
Comments in `Comments.vue` and rich text in `TextArea.vue` were parsed by markdown-it with `html: true` and injected via `v-htm...
Vulnerable Range:
0 -> 0.301.3
### 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 fil...
Vulnerable Range:
0 -> 0.301.3
### Summary
The password reset flow did not revoke existing refresh tokens, allowing an attacker with a previously stolen refresh token to continue minting valid JWTs after the victim resets their password.
### Details
`passwordReset()` in `users.service.ts` updated `token_ve...
Vulnerable Range:
0 -> 0.301.3
### Summary
Shared view passwords were stored in plaintext in the database and compared using direct string equality.
### Details
The `password` column in `nc_views` stored unhashed passwords. Verification used `!==` comparison across `public-datas.service.ts`, `public-metas....
Vulnerable Range:
0 -> 0.301.3
### Summary
An authenticated user with Editor role can inject arbitrary HTML into Rich Text cells by bypassing the TipTap editor and sending raw HTML via the API.
### Details
The TipTap editor sanitizes HTML client-side, but the backend stores raw HTML without server-side san...
Vulnerable Range:
0 -> 0.301.3
### Summary
The password forgot endpoint returned different responses for registered and unregistered emails, allowing user enumeration.
### Details
`POST /api/v2/auth/password/forgot` returned a success message for registered emails but `'Your email has not been registered.'...
Vulnerable Range:
0 -> 0.301.3
### Summary
A stored XSS vulnerability exists in the Formula virtual cell. Formula results containing `URI::()` patterns are rendered via `v-html` without sanitization, allowing injected HTML to execute.
### Details
The `replaceUrlsWithLink()` function in `urlUtils.ts` conver...
Vulnerable Range:
0 -> 0.301.3
### Summary
An authenticated user with org-level-creator permissions can exploit prototype pollution in the `/api/v2/meta/connection/test` endpoint, causing all database write operations to fail application-wide until server restart.
While the pollution technically bypasses ...
Vulnerable Range:
0 -> 0.301.0
## Summary
A **blind Server-Side Request Forgery (SSRF)** vulnerability exists in the `uploadViaURL` functionality due to an unprotected `HEAD` request. While the subsequent file retrieval logic correctly enforces SSRF protections, the initial metadata request executes withou...
Vulnerable Range:
0 -> 0.301.0
### Summary
An **unvalidated redirect (open redirect)** vulnerability exists in NocoDB’s login flow due to missing validation of the `continueAfterSignIn` parameter.
During authentication, NocoDB processes a user-controlled redirect value and conditionally performs client-si...
Vulnerable Range:
0 -> 0.301.0
## Summary
A **stored Cross-site Scripting (XSS)** vulnerability exists in NocoDB’s attachment handling mechanism. Authenticated users can upload malicious SVG files containing embedded JavaScript, which are later rendered inline and executed in the browsers of other users wh...
Vulnerable Range:
0 -> 0.301.0
### Summary
The API endpoint related to the password reset function is vulnerable to Reflected Cross-Site-Scripting.
### Details
Throughout the source-code analysis, it has been found that the endpoint /api/v1/db/auth/password/reset/:tokenId is vulnerable to Reflected Cros...
Vulnerable Range:
0 -> 0.258.0
### Summary
A stored cross-site scripting vulnerability exists within the Formula virtual cell comments functionality.
### Details
The nc-gui/components/virtual-cell/Formula.vue displays a v-html tag with the value of "urls" whose contents are processed by the function replac...
Vulnerable Range:
0 -> 0.202.9
### Summary
---
An authenticated attacker with create access could conduct a SQL Injection attack on MySQL DB using unescaped table_name.
### Details
---
### SQL Injection vulnerability occurs in **VitessClient.ts**.
```javascript
async columnList(args: any = {}) {
const ...
Vulnerable Range:
0 -> 0.202.10
### Summary
---
Attacker can upload a html file with malicious content. If user tries to open that file in browser malicious scripts can be executed leading Stored XSS(Cross-Site Script) attack.
### PoC
---
NocoDB was configured using the Release Binary `Noco-macos-arm64`, a...
Vulnerable Range:
0.202.6 -> 0.202.10
## Summary
Nocodb contains SQL injection vulnerability, that allows an authenticated attacker with creator access to query the underlying database.
## Product
nocodb/nocodb
## Tested Version
[0.109.2](https://github.com/nocodb/nocodb/releases/tag/0.109.2)
## Details
###...
Vulnerable Range:
0 -> 0.111.0
Improper Input Validation in nocodb
Improper Input Validation in GitHub repository nocodb/nocodb prior to 0.96.0.
Vulnerable Range:
0 -> 0.96.0
Fix Version:
0.96.0
NocoDB prior to 0.92.0 allows actors to insert large characters into the input field `New Project` on the create field, which can cause a Denial of Service (DoS) via a crafted HTTP request. Version 0.92.0 fixes this issue.
Vulnerable Range:
0 -> 0.92.0
Cross-site Scripting (XSS) - Stored in GitHub repository nocodb/nocodb prior to 0.91.9.
Vulnerable Range:
0 -> 0.91.9
Insufficient Session Expiration in GitHub repository nocodb/nocodb prior to 0.91.9.
Vulnerable Range:
0 -> 0.91.9
Improper Privilege Management in GitHub repository nocodb/nocodb prior to 0.91.8.
Vulnerable Range:
0 -> 0.91.8
In NocoDB prior to 0.91.7, the SMTP plugin doesn't have verification or validation. This allows attackers to make requests to internal servers and read the contents.
Vulnerable Range:
0 -> 0.91.7