Skip to content
Heist/ feed
Back to feed
Medium

LORIS has an open redirect field on login

Type: advisorySources: OSV

LORIS (Longitudinal Online Research and Imaging System) is a self-hosted web application that provides data- and project-management for neuroimaging research. Prior to 27.0.3 and 28.0.1, the redirect parameter upon login to LORIS was not validating the value of the redirect as being within LORIS, which could be used to trick users into visiting arbitrary URLs if they are given a link with a third party redirect parameter. This vulnerability is fixed in 27.0.3 and 28.0.1.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-39985
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 21:07 UTC · Revision 1

Source evidence

LORIS has an open redirect field on login

core-osv · Original source

Published 9 Apr 2026, 17:08 UTC

LORIS (Longitudinal Online Research and Imaging System) is a self-hosted web application that provides data- and project-management for neuroimaging research. Prior to 27.0.3 and 28.0.1, the redirect parameter upon login to LORIS was not validating the value of the redirect as being within LORIS, which could be used to trick users into visiting arbitrary URLs if they are given a link with a third party redirect parameter. This vulnerability is fixed in 27.0.3 and 28.0.1.

osv:CVE-2026-39985
Complete source record
{
  "id": "75e08d1daae48a8122768652bf442c2d7a80692b195d930aa946c9b81d06b077",
  "url": "https://osv.dev/vulnerability/CVE-2026-39985",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "LORIS has an open redirect field on login",
    "summary": "LORIS (Longitudinal Online Research and Imaging System) is a self-hosted web application that provides data- and project-management for neuroimaging research. Prior to 27.0.3 and 28.0.1, the redirect parameter upon login to LORIS was not validating the value of the redirect as being within LORIS, which could be used to trick users into visiting arbitrary URLs if they are given a link with a third party redirect parameter. This vulnerability is fixed in 27.0.3 and 28.0.1.",
    "evidence": "osv:CVE-2026-39985",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2026-39985",
      "aliases": [
        "CVE-2026-39985",
        "GHSA-rch2-f5fw-cg95"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/aces/loris",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "f57f54b42a076bf53ba86e20d4dbf37f63538f58"
                },
                {
                  "introduced": "83141ca814d2b8bda0e483589b726ea27f6ed4f7"
                },
                {
                  "fixed": "c9bb7c87b405b4e0892cda25ab5fc791bcd562f4"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:mcgill:loris:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "27.0.3"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:mcgill:loris:28.0.0:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "28.0.0"
                      },
                      {
                        "last_affected": "28.0.0"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "range": [
                      {
                        "fixed": "f57f54b42a076bf53ba86e20d4dbf37f63538f58"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "f57f54b42a076bf53ba86e20d4dbf37f63538f58"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "v27.0.3"
                  },
                  {
                    "range": [
                      {
                        "fixed": "c9bb7c87b405b4e0892cda25ab5fc791bcd562f4"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "v28.0.1"
                  }
                ]
              }
            }
          ],
          "versions": [
            "28.0.0",
            "v28.0.0",
            "v27.0.2",
            "v27.0.1",
            "v27.0.0",
            "v23.0.7",
            "v17.0.0",
            "v17.0.0-rc1",
            "v15.4",
            "v15.10-rc1",
            "v15.10-rc5",
            "v15.10-rc4",
            "v15.10-rc3",
            "v15.10-rc2",
            "v15.4k",
            "loris-14.12",
            "loris-14.10",
            "GitHubRelease-201312111",
            "PublicRelease2"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-39985.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:39.455761172Z",
      "provider": "osv",
      "references": [
        "https://github.com/aces/Loris/releases/tag/v27.0.3",
        "https://github.com/aces/Loris/releases/tag/v28.0.1",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/39xxx/CVE-2026-39985.json",
        "https://github.com/aces/Loris/security/advisories/GHSA-rch2-f5fw-cg95",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-39985",
        "https://github.com/aces/Loris/commit/f57f54b42a076bf53ba86e20d4dbf37f63538f58"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-601"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/39xxx/CVE-2026-39985.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-39985",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 507036,
  "published_at": "2026-04-09T17:08:49.668+00:00"
}