CVE-2026-34985
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedLORIS (Longitudinal Online Research and Imaging System) is a self-hosted web application that provides data- and project-management for neuroimaging research. From 16.1.0 to before 27.0.3 and 28.0.1, While the frontend of the media module filters files that the user should not have access to, the backend was not applying access checks and it would be possible for someone who should not have access to a file to access it if they know the filename. This vulnerability is fixed in 27.0.3 and 28.0.1.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceLORIS media module suffers from an Insecure Direct Object Reference (IDOR) vulnerability where the backend does not perform server-side access validation, relying only on frontend filtering. An attacker with knowledge of a filename can access files they should not have permission to view.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.
NVD · CPE data>= 16.1.0, <= 27.0.2= 28.0.0CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- None
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Check installed LORIS versionLocate the LORIS version file (typically at /loris/project/version or check the Git commit hash in the installation directory). Compare this version against the affected ranges: >= 16.1.0 through <= 27.0.2, or exactly version 28.0.0.Affected if The installed version falls within 16.1.0 to 27.0.2 inclusive, or is exactly 28.0.0
-
Verify media module is enabledCheck the LORIS configuration file (Config.xml or config.xml in the project directory) for the Media module entry under the available modules section. Confirm the module is set to 'true' or 'enabled'.Affected if The media module is enabled in the LORIS configuration
-
Inspect media endpoint backend code for authorizationExamine the backend handler for media file requests (typically in php/medianix/ or modules/media/ endpoint handlers). Look for permission checks or user session validation before serving file content. Search for functions like checkPermission, authorize, or session validation in the media download logic.Affected if The backend media handler lacks authorization checks before returning file content
-
Review API access patterns for direct file requestsExamine HTTP access logs for requests to the media API endpoint (commonly /media/ or /api/v0.4/media/) where filenames are passed as parameters. Check if these requests bypass any frontend permission filtering.Affected if Direct API requests with known filenames can be made to access files without backend permission validation
You are affected if running LORIS version 16.1.0 through 27.0.2 or exactly 28.0.0, the media module is enabled, and the backend does not perform authorization checks before serving media files.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scopedUpgrade to LORIS version 27.0.3 or 28.0.1 which includes proper backend access control checks; alternatively, implement server-side authorization validation for all media file requests.
27.0.3 or 28.0.1 (depending on your major version branch)
- Identify your current LORIS version by checking the application or source code
- If running version 27.0.2 or earlier: upgrade to version 27.0.3
- If running version 28.0.0: upgrade to version 28.0.1
- After upgrade, verify the media module backend now properly enforces access controls
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation3.0 h
- Implementation6.0 h
- Testing4.0 h
- Review / QA2.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $4,224.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2026-34985 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2026-34985 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data