NocoDB has Unvalidated Redirect in Login Flow via continueAfterSignIn Parameter
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
isFullUrluses 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
continueAfterSignInquery parameter matches this pattern, the application performs an unconditional external navigation:tsnavigateTo(route.value.query.continueAfterSignIn as string, { external: isFullUrl(...) })
Attack Scenario
An attacker can exploit this issue through a phishing attack:
-
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 -
The victim clicks the link and is presented with the legitimate NocoDB login page.
-
The victim authenticates using valid credentials.
-
After login, NocoDB automatically redirects the victim to the attacker-controlled external site.
-
The attacker’s site displays a fake error message and prompts the victim to re-enter credentials.
-
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).
Software afectado
Haz clic en una tecnología para ver todas sus vulnerabilidades.
| Plataforma | Paquete | Versiones vulnerables | Corregida en |
|---|---|---|---|
| Paquete de npm | nocodb | < 0.301.0 | 0.301.0 |
Referencias
- Vector CVSS
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- Debilidad (CWE)
CWE-601- Plataforma
- npm
- Paquete
nocodb- Publicada
- 28.01.2026
- Actualizado
- 11.10.2026 10:22
Fuentes y licencias
OSV / GitHub Advisory Database - GHSA-3hmw-8mw3-rmpj - CC BY 4.0
Historial de vulnerabilidades: nocodb
Todas las vulnerabilidades publicadas de este paquete (Paquete de npm), de la más reciente a la más antigua. Muestra si es un fallo aislado o un paquete que hay que vigilar.
- Entradas en total
- 54
- Primera → última
- 06.2022 06.2026
- Sin corrección
- 13
- Explotada en ataques
- 0
Distribución por gravedad
- Alta 7
- Media 41
- Baja 6
Divulgaciones por año
- 2022: 5
- 2023: 2
- 2024: 3
- 2025: 1
- 2026: 43
-
NocoDB has Unvalidated Redirect in Login Flow via continueAfterSignIn Parameter esta entrada
Identifica las vulnerabilidades de tu aplicación
Con la integración de DockRay y el inventario de software activado, DockRay compara las versiones notificadas de los componentes con las vulnerabilidades conocidas y avisa de las coincidencias confirmadas. La cobertura depende de la tecnología compatible y de los avisos disponibles.