CVE-2026-26984
NixOS vulnerability analysis and mitigation

Overview

CVE-2026-26984 is a path traversal and unrestricted file upload vulnerability in LORIS (Longitudinal Online Research and Imaging System), a self-hosted web application for neuroimaging research data management. It affects LORIS versions prior to 26.0.5, 27.0.2, and 28.0.0, and was disclosed on February 25, 2026. An authenticated user with sufficient privileges can exploit the media module to upload a malicious file to an arbitrary server location, potentially achieving remote code execution (RCE). The vulnerability carries a CVSS v3.1 base score of 8.8 (High) per NVD, and 8.7 (High) per the GitHub Security Advisory (GitHub Advisory).

Technical details

The vulnerability is rooted in two weaknesses: CWE-22 (Improper Limitation of a Pathname to a Restricted Directory) and CWE-434 (Unrestricted Upload of File with Dangerous Type). The LORIS media module fails to properly sanitize or restrict file upload paths, allowing an attacker to supply path traversal sequences (e.g., ../) in the filename or upload destination parameter to write files outside the intended directory. Exploitation requires network access, low attack complexity, and an authenticated account with media module upload privileges. Once a malicious file (e.g., a PHP web shell) is placed in a web-accessible directory, it can be requested directly to achieve RCE (GitHub Advisory).

Impact

Successful exploitation allows an attacker to upload arbitrary files to any location writable by the web server process, and if the server is not configured as read-only, to achieve full remote code execution. This results in high impact to confidentiality, integrity, and availability of the affected system, potentially exposing sensitive neuroimaging research data and enabling complete server compromise. If the server is read-only, RCE is prevented but unauthorized file placement remains possible, which could still be leveraged for data tampering or denial of service (GitHub Advisory).

Exploitability

As of the time of disclosure, there is no public proof-of-concept exploit and no evidence of in-the-wild exploitation (Feedly). The EPSS score is approximately 0.0013 (0.13%), indicating a low current probability of exploitation in the wild. No threat actor attribution has been reported, and the vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Exploitation requires authentication and elevated privileges within the LORIS application, which limits the attack surface compared to unauthenticated vulnerabilities.

Exploitation steps

  1. Reconnaissance: Identify internet-facing LORIS instances running versions prior to 26.0.5 or 27.0.2 using web search, Shodan, or Censys, targeting the LORIS login page.
  2. Authentication: Log in to the LORIS application using valid credentials for an account with media module upload permissions (e.g., a researcher or administrator account).
  3. Access the media module: Navigate to the LORIS media module, which provides file upload functionality for neuroimaging data.
  4. Craft malicious upload request: Intercept the file upload HTTP request (e.g., using Burp Suite) and modify the filename or destination path parameter to include path traversal sequences (e.g., ../../var/www/html/shell.php) to target a web-accessible directory.
  5. Upload malicious file: Submit the crafted request with a dangerous file type (e.g., a PHP web shell) as the upload payload.
  6. Trigger RCE: Access the uploaded file via the web server (e.g., https://target/shell.php?cmd=id) to execute arbitrary commands on the server (GitHub Advisory).

Indicators of compromise

  • Network: Unusual HTTP POST requests to LORIS media module upload endpoints containing path traversal sequences (../, %2e%2e%2f, or URL-encoded variants) in filename or path parameters; outbound connections from the web server to unknown external IPs following a file upload event.
  • File System: Unexpected files (e.g., .php, .phtml, .jsp) appearing outside the designated LORIS media upload directory, particularly in web root or other web-accessible directories; newly created files with names containing traversal artifacts.
  • Logs: Web server access logs showing POST requests to the LORIS media upload endpoint with anomalous filename parameters; subsequent GET requests to newly created files in unexpected directories; PHP error logs indicating execution of uploaded scripts.
  • Process: Unusual child processes spawned by the web server process (e.g., apache2, nginx, php-fpm) such as bash, curl, wget, or python following a file upload event.

Mitigation and workarounds

LORIS users should upgrade to version 26.0.5, 27.0.2, or 28.0.0 or later, as these releases contain the fix for this vulnerability (GitHub v26.0.5 Release, GitHub v27.0.2 Release). As an interim workaround, LORIS administrators can disable the media module if it is not actively required for operations (GitHub Advisory). Additionally, configuring the server as read-only will prevent RCE even if a malicious file is uploaded, though it does not prevent the file upload itself. Restricting media module access to only trusted, necessary accounts further reduces the attack surface.

Community reactions

The vulnerability was covered by The Hacker Wire, which highlighted the path traversal-to-RCE chain in the LORIS media module (The Hacker Wire). Social media activity was observed on Bluesky and Mastodon, primarily from automated CVE tracking accounts. The vulnerability was credited to Maxime Paillé and Guillaume Pillot of the Ministère de la Cybersécurité et du Numérique (Quebec), indicating responsible disclosure through a government cybersecurity body (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-75874CRITICAL10
  • NixOS logoNixOS
  • cpe:2.3:a:mozilla:firefox
NoYesAug 18, 2026
CVE-2026-74990CRITICAL9.8
  • NixOS logoNixOS
  • firefox-esr
NoYesAug 18, 2026
CVE-2026-74989CRITICAL9.8
  • NixOS logoNixOS
  • MozillaFirefox-translations-common
NoYesAug 18, 2026
CVE-2026-74988CRITICAL9.8
  • NixOS logoNixOS
  • cpe:2.3:a:mozilla:firefox
NoYesAug 18, 2026
CVE-2026-74987CRITICAL9.8
  • NixOS logoNixOS
  • firefox-esr
NoYesAug 18, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management