CVE-2026-24768: Nocodb NocoDB Has Unvalidated Redirect Vulnerability

MODERATE
Advisory Identifier: GHSA-3hmw-8mw3-rmpj
CWE-601
Published
Advisory Summary

CVE-2026-24768 is a MODERATE nocodb has unvalidated redirect vulnerability (CWE-601: URL Redirection to Untrusted Site ('Open Redirect')) affecting Nocodb libraries in the npm ecosystem. The issue involves nocodb has unvalidated redirect in login flow via continueaftersignin parameter. Remediation is available by upgrading affected packages to version 0.301.0.

CVE-2026-24768 at a Glance

CVE Identifier CVE-2026-24768
GHSA Identifier GHSA-3hmw-8mw3-rmpj
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification CWE-601: URL Redirection to Untrusted Site ('Open Redirect')
Affected Product Nocodb
Package Ecosystem npm
Published Date
Last Updated

How to Fix CVE-2026-24768

To remediate this vulnerability, upgrade all affected Nocodb dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

nocodb fixed: 0.301.0
npm install nocodb@0.301.0
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

npm ls nocodb

How to Check if You Are Affected

To determine whether your Node.js application is affected by CVE-2026-24768, inspect your project dependencies using npm:

npm ls nocodb

Analyze the terminal output to locate any version of Nocodb in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.301.0), your application is affected.

Note: The npm ls nocodb command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-601: URL Redirection to Untrusted Site ('Open Redirect'), where the web application accepts a user-controlled input that specifies a link to an external site, and uses that link in a redirect. In Nocodb, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### 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-side navigation without enforcing any restrictions on the destination’s origin, domain or protocol. This allows attackers to redirect authenticated users to arbitrary external websites after login. ### Root Cause The redirect logic relies on a permissive URL check that treats any absolute or protocol-relative URL as safe, and performs navigation without applying an allowlist or origin validation. In the redirect plugin: * The helper function `isFullUrl` uses the following regular expression: ```ts /^(https?:)?\/\// ``` This pattern matches any HTTP(S) URL as well as protocol-relative URLs (e.g., `//evil.example`), without restricting allowed domains. * When the `continueAfterSignIn` query parameter matches this pattern, the application performs an unconditional external navigation: ```ts navigateTo(route.value.query.continueAfterSignIn as string, { external: isFullUrl(...) }) ``` ### Attack Scenario An attacker can exploit this issue through a phishing attack: 1. The attacker crafts a malicious login URL containing a controlled redirect target, for example: ``` https://victim-nocodb.example/#/signin?continueAfterSignIn=https://evil-phishing.com/fake-login ``` 2. The victim clicks the link and is presented with the legitimate NocoDB login page. 3. The victim authenticates using valid credentials. 4. After login, NocoDB automatically redirects the victim to the attacker-controlled external site. 5. The attacker’s site displays a fake error message and prompts the victim to re-enter credentials. 6. The victim unknowingly submits credentials to the attacker. ### Impact This vulnerability enables **phishing attacks** by leveraging user trust in the legitimate NocoDB login flow. While it does not directly expose credentials or bypass authentication, it increases the likelihood of credential theft through social engineering. The issue does not allow arbitrary code execution or privilege escalation, but it undermines authentication integrity. ### Credit This issue was discovered by an AI agent developed by the GitHub Security Lab and reviewed by GHSL team members [@p- (Peter Stöckli)](https://github.com/p-) and [@m-y-mo (Man Yue Mo)](https://github.com/m-y-mo).

CVE-2026-24768 Affected Nocodb Versions

1 component(s)
Fixed Versions:
0.301.0
Product / Package Ecosystem Affected Versions Fixed Version
nocodb
npm
< 0.301.0
0.301.0

References

Frequently Asked Questions

What is CVE-2026-24768?
CVE-2026-24768 is a security vulnerability in Nocodb involving NocoDB has Unvalidated Redirect in Login Flow via continueAfterSignIn Parameter under CWE-601: URL Redirection to Untrusted Site ('Open Redirect').
Which Nocodb versions are affected?
Affected versions include releases prior to 0.301.0 across affected packages: nocodb.
What version fixes CVE-2026-24768?
Upgrading to 0.301.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is nocodb affected?
Yes, nocodb is affected in releases prior to 0.301.0. Upgrade your dependency to 0.301.0 or later.
What CWE is associated with CVE-2026-24768?
CVE-2026-24768 is classified under CWE-601: URL Redirection to Untrusted Site ('Open Redirect') (The web application accepts a user-controlled input that specifies a link to an external site, and uses that link in a redirect.).
How can I check npm dependencies for CVE-2026-24768?
Run the dependency tree command: 'npm ls nocodb'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-3hmw-8mw3-rmpj",
  "modified" : "2026-01-28T21:41:10Z",
  "published" : "2026-01-28T21:41:10Z",
  "aliases" : [ "CVE-2026-24768" ],
  "summary" : "NocoDB has Unvalidated Redirect in Login Flow via continueAfterSignIn Parameter",
  "details" : "### Summary\n\nAn **unvalidated redirect (open redirect)** vulnerability exists in NocoDB’s login flow due to missing validation of the `continueAfterSignIn` parameter.\n\nDuring authentication, NocoDB processes a user-controlled redirect value and conditionally performs client-side navigation without enforcing any restrictions on the destination’s origin, domain or protocol. This allows attackers to redirect authenticated users to arbitrary external websites after login.\n\n### Root Cause\n\nThe redirect logic relies on a permissive URL check that treats any absolute or protocol-relative URL as safe, and performs navigation without applying an allowlist or origin validation.\n\nIn the redirect plugin:\n\n* The helper function `isFullUrl` uses the following regular expression:\n\n  ```ts\n  /^(https?:)?\\/\\//\n  ```\n\n  This pattern matches any HTTP(S) URL as well as protocol-relative URLs (e.g., `//evil.example`), without restricting allowed domains.\n\n* When the `continueAfterSignIn` query parameter matches this pattern, the application performs an unconditional external navigation:\n\n  ```ts\n  navigateTo(route.value.query.continueAfterSignIn as string, {\n    external: isFullUrl(...)\n  })\n  ```\n\n### Attack Scenario\n\nAn attacker can exploit this issue through a phishing attack:\n\n1. The attacker crafts a malicious login URL containing a controlled redirect target, for example:\n\n   ```\n   https://victim-nocodb.example/#/signin?continueAfterSignIn=https://evil-phishing.com/fake-login\n   ```\n2. The victim clicks the link and is presented with the legitimate NocoDB login page.\n3. The victim authenticates using valid credentials.\n4. After login, NocoDB automatically redirects the victim to the attacker-controlled external site.\n5. The attacker’s site displays a fake error message and prompts the victim to re-enter credentials.\n6. The victim unknowingly submits credentials to the attacker.\n\n### Impact\n\nThis vulnerability enables **phishing attacks** by leveraging user trust in the legitimate NocoDB login flow. While it does not directly expose credentials or bypass authentication, it increases the likelihood of credential theft through social engineering.\n\nThe issue does not allow arbitrary code execution or privilege escalation, but it undermines authentication integrity.\n\n### Credit\n\nThis issue was discovered by an AI agent developed by the GitHub Security Lab and reviewed by GHSL team members [@p- (Peter Stöckli)](https://github.com/p-) and [@m-y-mo (Man Yue Mo)](https://github.com/m-y-mo).",
  "severity" : [ {
    "type" : "CVSS_V4",
    "score" : "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:P"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "npm",
      "name" : "nocodb"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.301.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/nocodb/nocodb/security/advisories/GHSA-3hmw-8mw3-rmpj"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-24768"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/nocodb/nocodb"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-601" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-01-28T21:41:10Z",
    "nvd_published_at" : "2026-01-28T21:16:12Z"
  }
}