Medium

NocoDB has Unvalidated Redirect in Login Flow via continueAfterSignIn Parameter

  • Disclosed: 28.01.2026
  • Updated: 11.10.2026 10:22

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) and @m-y-mo (Man Yue Mo).

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
npm package nocodb < 0.301.0 0.301.0

References

CVSS score -
CVSS vector
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
Weakness (CWE)
CWE-601
Platform
npm
Package
nocodb
Disclosed
28.01.2026
Updated
11.10.2026 10:22

Sources and licenses

OSV / GitHub Advisory Database - GHSA-3hmw-8mw3-rmpj - CC BY 4.0

Vulnerability history: nocodb

All published vulnerabilities of this package (npm package), newest first. Shows whether this is a one-off slip or a package that needs watching.

All (54) in the archive
Total entries
54
First → latest
06.2022 06.2026
Without a fix
13
Exploited in attacks
0

Severity breakdown

  • High 7
  • Medium 41
  • Low 6

Disclosures per year

  1. 2022: 5
  2. 2023: 2
  3. 2024: 3
  4. 2025: 1
  5. 2026: 43
Severity:
  1. High CVE-2026-47387 < 2026.05.1 2026.05.1
  2. High CVE-2026-47383 < 2026.05.1 2026.05.1
  3. NocoDB has Unvalidated Redirect in Login Flow via continueAfterSignIn Parameter this entry
    Medium CVE-2026-24768 < 0.301.0 0.301.0
  4. High · 7.3 CVE-2023-49781 < 0.202.9 0.202.9
  5. High · 8.8 CVE-2022-2064 < 0.91.9 0.91.9
  6. High · 8.8 CVE-2022-2063 < 0.91.8 0.91.8
  7. High · 7.5 CVE-2022-2062 < 0.91.7 0.91.7

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.