{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-39985 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2026-39985 yet. Limit exposure of the affected software until one is available.","what":"CVE-2026-39985 is a medium-severity vulnerability in aces Loris, published on 9 Apr 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-39985 and fix it if it is affected.\n\nWhat it is: CVE-2026-39985 is a medium-severity vulnerability in aces Loris, published on 9 Apr 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: There is no known exploitation of CVE-2026-39985 in the wild and no public exploit code.\n\nAffected product: aces Loris. No package-level version data is available, so check the vendor advisory linked from the reference page.\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-39985/ (Markdown: https://insights.sbomify.com/CVE-2026-39985/index.md)","id":"CVE-2026-39985","markdown":"https://insights.sbomify.com/CVE-2026-39985/index.md","name":"CVE-2026-39985","record":{"aliases":["GHSA-rch2-f5fw-cg95"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Neuroimaging research platform","requires_auth":"none","summary":"Attackers can trick users into visiting malicious sites via unvalidated login redirect parameters in the LORIS neuroimaging platform.","user_interaction":"required","vuln_class":"open_redirect"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"loris","vendor":"mcgill"}],"cvss":{"score":4.3,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-601","name":"URL Redirection to Untrusted Site"}],"description":"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.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":false,"headline":"LORIS has an open redirect field on login","id":"CVE-2026-39985","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"open_redirect","year":"2026"},"n_packages":0,"n_references":4,"next":{"headline":"Marimo Remote Code Execution","id":"CVE-2026-39987"},"packages":[],"prev":{"headline":"Sigstore Timestamp Authority has Improper Certificate Validation in verifier","id":"CVE-2026-39984"},"products":["Loris"],"published":"2026-04-09","related":[{"cvss_score":8.7,"headline":"LORIS has potential cross-site scripting in help_editor module","id":"CVE-2026-35169","kev_date_added":null,"published":"2026-04-08"},{"cvss_score":8.7,"headline":"LORIS media module vulnerable to remote code execution","id":"CVE-2026-26984","kev_date_added":null,"published":"2026-02-25"},{"cvss_score":8.1,"headline":"LORIS vulnerable to path traversal in electrophysiology_browser","id":"CVE-2026-26985","kev_date_added":null,"published":"2026-02-25"},{"cvss_score":7.7,"headline":"LORIS has a path traversal in FilesDownloadHandler","id":"CVE-2026-35446","kev_date_added":null,"published":"2026-04-08"},{"cvss_score":7.5,"headline":"LORIS has a SQL injection in MRI feedback popup","id":"CVE-2026-33350","kev_date_added":null,"published":"2026-04-08"},{"cvss_score":7.5,"headline":"LORIS has a path traversal in static router","id":"CVE-2026-34392","kev_date_added":null,"published":"2026-04-08"},{"cvss_score":6.5,"headline":"LORIS has potential cross-site scripting in survey_accounts module","id":"CVE-2026-35403","kev_date_added":null,"published":"2026-04-08"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-04-10","vendors":["aces"]},"summary":"Attackers can trick users into visiting malicious sites via unvalidated login redirect parameters in the LORIS neuroimaging platform.","url":"https://insights.sbomify.com/CVE-2026-39985/"}