Home / saltcorn / saltcorn / CVE-2026-42259
CVE-2026-42259: is it exploited, and which versions of saltcorn are affected and fixed?
CVE-2026-42259 is an open redirect vulnerability in saltcorn. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 15:09 UTC). Affected: @saltcorn/server before 1.4.6, @saltcorn/server from 1.5.0-beta.0 before 1.5.6 and @saltcorn/server from 1.6.0-alpha.0 before 1.6.0-beta.5 (GitHub advisory GHSA-f3g8-9xv5-77gv). Fixed in 1.4.6, 1.5.6 and 1.6.0-beta.5 (GitHub advisory GHSA-f3g8-9xv5-77gv). Severity: Medium (5.1, CVSS 4.0, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 15:09 UTC, CVE record November 19, 2026, 07:07 UTC and NVD November 19, 2026, 07:11 UTC.
What is CVE-2026-42259?
Saltcorn: Open Redirect in `POST /auth/login` due to incomplete `is_relative_url` validation (backslash bypass)
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.
From the CVE record by GitHub_M, last updated May 8, 2026, 22:56 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| saltcorn | saltcorn | < 1.4.6 >= 1.5.0-beta.0, < 1.5.6 >= 1.6.0-alpha.0, < 1.6.0-beta.5 |
As the CVE record by GitHub_M states it, last updated May 8, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| npm | @saltcorn/server | < 1.4.6 | 1.4.6 | GHSA-f3g8-9xv5-77gv |
| npm | @saltcorn/server | >= 1.5.0-beta.0, < 1.5.6 | 1.5.6 | GHSA-f3g8-9xv5-77gv |
| npm | @saltcorn/server | >= 1.6.0-alpha.0, < 1.6.0-beta.5 | 1.6.0-beta.5 | GHSA-f3g8-9xv5-77gv |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated May 11, 2026. Summary: Saltcorn: Open Redirect in `POST /auth/login` due to incomplete `is_relative_url` validation (backslash bypass).
How severe is CVE-2026-42259?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.1 | CVSS 4.0 | 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 | GitHub_M |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-42259 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: no; technical impact: partial (CISA ADP, May 8, 2026)
- EPSS
- 0.40% probability of exploitation activity in the next 30 days, percentile 36.0 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-601 URL Redirection to Untrusted Site
Where are the vendor advisories and references?
- https://github.com/saltcorn/saltcorn/security/advisories/GHSA-f3g8-9xv5-77gv x_refsource_CONFIRM
When was it published, and where is the official record?
- Reserved
- April 26, 2026
- Published
- May 7, 2026, 18:54 UTC
- CVE record updated
- May 8, 2026, 22:56 UTC by GitHub_M
- NVD
- Deferred, last modified June 17, 2026, 10:47 UTC
- Last checked
- CVE list November 19, 2026, 07:07 UTC; NVD November 19, 2026, 07:11 UTC; KEV December 3, 2026, 15:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect saltcorn?
- Apr 24, 2026CVE-2026-41478 saltcorn: SQL injection
- Apr 10, 2026CVE-2026-40163 saltcorn: path traversal (reading or writing files outside the intended folder)
- Oct 7, 2024CVE-2024-47818 saltcorn: path traversal (reading or writing files outside the intended folder)
Questions about CVE-2026-42259
Is CVE-2026-42259 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 15:09 UTC. FIRST's EPSS gives it a 0.40% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of saltcorn are affected by CVE-2026-42259?
@saltcorn/server before 1.4.6, @saltcorn/server from 1.5.0-beta.0 before 1.5.6 and @saltcorn/server from 1.6.0-alpha.0 before 1.6.0-beta.5, per the GitHub advisory GHSA-f3g8-9xv5-77gv. The tables above give every range the sources list.
Which version fixes CVE-2026-42259?
1.4.6, 1.5.6 and 1.6.0-beta.5, per the GitHub advisory GHSA-f3g8-9xv5-77gv. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-42259?
Medium (5.1, CVSS 4.0, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2026-42259?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.