{"answers":{"affected":"6 open source packages ship an affected version, including @saltcorn/server.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-42259 exists.","fix":"Upgrade @saltcorn/server to a fixed version for your release line: 1.4.6, 1.5.6 or 1.6.0-beta.5.","what":"CVE-2026-42259 is a medium-severity vulnerability in saltcorn, published on 7 May 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-42259 and fix it if it is affected.\n\nWhat it is: CVE-2026-42259 is a medium-severity vulnerability in saltcorn, published on 7 May 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-42259 exists.\n\nAffected packages and fixed versions:\n- @saltcorn/server (npm): affected all versions; fixed in 1.4.6\n- @saltcorn/server (npm): affected all versions; fixed in 1.4.6\n- @saltcorn/server (npm): affected from 1.5.0-beta.0; fixed in 1.5.6\n- @saltcorn/server (npm): affected from 1.5.0-beta.0; fixed in 1.5.6\n- @saltcorn/server (npm): affected from 1.6.0-alpha.0; fixed in 1.6.0-beta.5\n- @saltcorn/server (npm): affected from 1.6.0-alpha.0; fixed in 1.6.0-beta.5\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-42259/ (Markdown: https://insights.sbomify.com/CVE-2026-42259/index.md)","id":"CVE-2026-42259","markdown":"https://insights.sbomify.com/CVE-2026-42259/index.md","name":"CVE-2026-42259","record":{"aliases":["GHSA-f3g8-9xv5-77gv"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Saltcorn no-code builder","requires_auth":"none","summary":"Attackers can redirect users to malicious sites after login via a backslash bypass in the destination parameter, requiring user interaction.","user_interaction":"required","vuln_class":"open_redirect"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":5.1,"severity":"medium","source":"cna","vector":"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","version":"4.0"},"cwes":[{"id":"CWE-601","name":"URL Redirection to Untrusted Site"}],"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.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Saltcorn: Open Redirect in `POST /auth/login` due to incomplete `is_relative_url` validation (backslash bypass)","id":"CVE-2026-42259","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"open_redirect","year":"2026"},"n_packages":6,"n_references":1,"next":{"headline":"open-websearch has SSRF in `fetchWebContent` MCP tool: bracketed IPv6 literals and non-resolving hostname check bypass `isPrivateOrLocalHostname`","id":"CVE-2026-42260"},"packages":[{"ecosystem":"npm","fixed":["1.4.6"],"introduced":["0"],"last_affected":[],"package":"@saltcorn/server","purl":null,"source":"GHSA-f3g8-9xv5-77gv"},{"ecosystem":"npm","fixed":["1.4.6"],"introduced":["0"],"last_affected":[],"package":"@saltcorn/server","purl":"pkg:npm/%40saltcorn/server","source":"GHSA-f3g8-9xv5-77gv"},{"ecosystem":"npm","fixed":["1.5.6"],"introduced":["1.5.0-beta.0"],"last_affected":[],"package":"@saltcorn/server","purl":null,"source":"GHSA-f3g8-9xv5-77gv"},{"ecosystem":"npm","fixed":["1.5.6"],"introduced":["1.5.0-beta.0"],"last_affected":[],"package":"@saltcorn/server","purl":"pkg:npm/%40saltcorn/server","source":"GHSA-f3g8-9xv5-77gv"},{"ecosystem":"npm","fixed":["1.6.0-beta.5"],"introduced":["1.6.0-alpha.0"],"last_affected":[],"package":"@saltcorn/server","purl":null,"source":"GHSA-f3g8-9xv5-77gv"},{"ecosystem":"npm","fixed":["1.6.0-beta.5"],"introduced":["1.6.0-alpha.0"],"last_affected":[],"package":"@saltcorn/server","purl":"pkg:npm/%40saltcorn/server","source":"GHSA-f3g8-9xv5-77gv"}],"prev":{"headline":"net-imap: Command Injection via unvalidated Symbol inputs","id":"CVE-2026-42258"},"products":["saltcorn"],"published":"2026-05-07","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-05-08","vendors":["saltcorn"]},"summary":"Attackers can redirect users to malicious sites after login via a backslash bypass in the destination parameter, requiring user interaction.","url":"https://insights.sbomify.com/CVE-2026-42259/"}