{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "1.4.6"
              },
              {
                "introduced": "1.5.0-beta.0"
              },
              {
                "fixed": "1.5.6"
              },
              {
                "introduced": "1.6.0-alpha.0"
              },
              {
                "fixed": "1.6.0-beta.5"
              }
            ],
            "source": "AFFECTED_FIELD"
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "d49e6a947de777053a203a27ab4d9e1a1754ccd0"
            },
            {
              "introduced": "5eeafa07aecca193ef5d4e5926488d00ecffd24e"
            },
            {
              "fixed": "cde152e45069a1bf6a5518e414a1b5c7ff97bd69"
            },
            {
              "introduced": "9bb814dadd5231c8fcc4a658b164046b21a924ca"
            },
            {
              "fixed": "9d63d726c23eee35d91099babf757875148b91b1"
            }
          ],
          "repo": "https://github.com/saltcorn/saltcorn",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-f3g8-9xv5-77gv"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-601"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/42xxx/CVE-2026-42259.json"
  },
  "details": "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.",
  "id": "CVE-2026-42259",
  "modified": "2026-07-15T01:48:53.388819433Z",
  "published": "2026-05-07T18:54:57.234Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/42xxx/CVE-2026-42259.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/saltcorn/saltcorn/security/advisories/GHSA-f3g8-9xv5-77gv"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-42259"
    }
  ],
  "schema_version": "1.8.0",
  "severity": [
    {
      "score": "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",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Saltcorn: Open Redirect in `POST /auth/login` due to incomplete `is_relative_url` validation (backslash bypass)"
}