CVE-2026-42259
published medium CVSS 4.0 · 5.1Saltcorn: Open Redirect in `POST /auth/login` due to incomplete `is_relative_url` validation (backslash bypass)
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| saltcorn | — | saltcorn< 1.4.6 · >= 1.5.0-beta.0, < 1.5.6 · >= 1.6.0-alpha.0, < 1.6.0-beta.5 | Affected | Not stated | GitHub_M |
Description
Saltcorn is an extensible, open source, no-code database application builder. Prior to versions 1.4.6, 1.5.6, and 1.6.0-beta.5, Saltcorn validates the post-login dest parameter with a string check that only blocks :/ and //. Because all WHATWG-compliant browsers normalise backslashes (\) to forward slashes (/) for special schemes, a payload such as /\evil.com/path slips through is_relative_url(), is emitted unchanged in the HTTP Location header, and causes the browser to navigate cross-origin to an attacker-controlled domain. The bug is reachable on a default install and only requires a victim who can be tricked into logging in via a crafted Saltcorn URL. This issue has been patched in versions 1.4.6, 1.5.6, and 1.6.0-beta.5.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 5.1 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| saltcorn | saltcorn | < 1.4.6 (affected)>= 1.5.0-beta.0, < 1.5.6 (affected)>= 1.6.0-alpha.0, < 1.6.0-beta.5 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-601 CWE-601: URL Redirection to Untrusted Site ('Open Redirect')
References
1Provider assertions
2GitHub_M · cna
Saltcorn: Open Redirect in `POST /auth/login` due to incomplete `is_relative_url` validation (backslash bypass)
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 4fd595f21392eef0efb2c7e432464082499e0983bb52b427ecbf3eca27ac153c
- Ingested
- 23 Sep 2026, 09:14:00 UTC
- Source record
- Official CVE record