nocodb
Affected
- introduced
0, fixed0.301.0(semver)
Fixed versions
0.301.0
Fix
- Fixed version
0.301.0npm install [email protected]
Advisory
Also known as: CVE-2026-24768
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:
isFullUrl uses the following regular expression: /^(https?:)?\/\//
This pattern matches any HTTP(S) URL as well as protocol-relative URLs (e.g., //evil.example), without restricting allowed domains.
continueAfterSignIn query parameter matches this pattern, the application performs an unconditional external navigation: navigateTo(route.value.query.continueAfterSignIn as string, {
external: isFullUrl(...)
})
Attack Scenario
An attacker can exploit this issue through a phishing attack:
https://victim-nocodb.example/#/signin?continueAfterSignIn=https://evil-phishing.com/fake-login
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).
Medium Basis: The source's own band: MODERATE
0, fixed 0.301.0 (semver)0.301.0
0.301.0npm install [email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0