CVE-2026-104189

3Dviewer-Nextcloud: Share password not enforced when streaming 3D models from a public link share

Published Oct 27, 2026 CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
Description
The 3D Viewer for Nextcloud is a comprehensive 3D model viewer application for Nextcloud that supports multiple 3D file formats. In versions 1.7.9 through 3.3.1, the app's public file endpoint performed no share authorization. Anyone who knows a share token could read the shared file's contents even when the link share was protected by a password. `PublicFileController` extended `OCP\AppFramework\Controller` and marked its routes `#[PublicPage]`. Nextcloud only enforces share passwords through `PublicShareMiddleware`, which returns early for any controller that is not an `OCP\AppFramework\PublicShareController` instance — so no password, expiry, or share-type check ran for these routes. `ShareFileService::loadLinkShare()` compounded this by treating any token that `getShareByToken()` matched as authorised. A share token is the part of the URL that people paste into chats, emails, and tickets. Password protection exists precisely for the case where holding the token should not by itself grant access, and that guarantee did not hold. Requests to `GET /ocs/v2.php/apps/threedviewer/public/file/{token}/{fileId}` returned `200` with the full file body for password-protected shares, with no password and no session. Nextcloud's own share page correctly redirected such requests to the password prompt. Scope is limited to files in the formats this app handles (STL, GLB/glTF, OBJ, STEP, IFC, and the other supported 3D types). Non-3D files in the same share are unaffected. Expired shares returned `500` rather than leaking contents. This issue is fixed in 3.3.2. `PublicFileController` now extends `PublicShareController` and implements `isValidToken()`, `isPasswordProtected()`, and `getPasswordHash()`, delegating password and token validation to the framework and gaining brute-force throttling. `ShareFileService::findValidLinkShare()` additionally rejects share types other than link and email, rejects expired shares, and treats a `ShareNotFound` from the share manager as "no share" instead of letting it surface as a 500. As a workaround, disable the 3D Viewer app (`occ app:disable threedviewer`), or avoid relying on passwords to protect link shares that contain 3D model files, until you can upgrade.

Analysis

AI-generated

Technical impact

The 3D Viewer for Nextcloud exposes a public file endpoint that does not enforce share‑password authentication when delivering streamed 3D models. Anyone who knows a share token can obtain the full contents of the 3D file via a GET request, even if the link share is protected by a password. The flaw stems from the controller not performing password, expiry, or share‑type checks, and from the ShareFileService treating any matched token as authorised. This represents an information‑disclosure vulnerability that allows an attacker to read private 3D model files without authentication, violating confidentiality. The weakness is classified as Missing Authentication (CWE‑306) and Insecure Authorization (CWE‑863).

Affected Systems

Vendors and products affected are the 3D Viewer for Nextcloud application (officially listed as 3Dviewer‑Nextcloud) installed in Nextcloud instances. All versions from 1.7.9 through 3.3.1 are vulnerable. The issue does not affect non‑3D files in the same share and is limited to the checked 3D file formats (STL, GLB/glTF, OBJ, STEP, IFC and other supported 3D types).

Risk and Exploitability

The vulnerability carries a CVSS score of 7.5, indicating a high severity. No EPSS score is available, and it is not listed in the CISA Known Exploited Vulnerabilities catalog. The attack path is straightforward: an attacker who knows or can guess a share token initiates an HTTPS request to the public file endpoint. Because the endpoint bypasses password checks, no prior authentication or session is required. The vulnerability was triaged as a Medium‑to‑High risk due to the clear data‑exposure impact, the low exploitation barrier, and the lack of mitigations in earlier versions. (After applying the 3.3.2 patch, the risk is effectively mitigated.)

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the 3D Viewer app to version 3.3.2 or later, which enforces password checks and restricts invalid share types and expired shares.
  • If an upgrade cannot be performed immediately, disable the 3D Viewer app via the occ command `occ app:disable threedviewer` to eliminate the vulnerable endpoint.
  • Until patching or disabling is possible, do not rely on password protection for link shares that contain 3D model files; consider using alternative file sharing methods or stricter access controls.

Generated by OpenCVE AI on October 27, 2026 at 17:08 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Maz1987in
Maz1987in 3dviewer-nextcloud
Vendors & Products Maz1987in
Maz1987in 3dviewer-nextcloud
Type Values Removed Values Added
Description The 3D Viewer for Nextcloud is a comprehensive 3D model viewer application for Nextcloud that supports multiple 3D file formats. In versions 1.7.9 through 3.3.1, the app's public file endpoint performed no share authorization. Anyone who knows a share token could read the shared file's contents even when the link share was protected by a password. `PublicFileController` extended `OCP\AppFramework\Controller` and marked its routes `#[PublicPage]`. Nextcloud only enforces share passwords through `PublicShareMiddleware`, which returns early for any controller that is not an `OCP\AppFramework\PublicShareController` instance — so no password, expiry, or share-type check ran for these routes. `ShareFileService::loadLinkShare()` compounded this by treating any token that `getShareByToken()` matched as authorised. A share token is the part of the URL that people paste into chats, emails, and tickets. Password protection exists precisely for the case where holding the token should not by itself grant access, and that guarantee did not hold. Requests to `GET /ocs/v2.php/apps/threedviewer/public/file/{token}/{fileId}` returned `200` with the full file body for password-protected shares, with no password and no session. Nextcloud's own share page correctly redirected such requests to the password prompt. Scope is limited to files in the formats this app handles (STL, GLB/glTF, OBJ, STEP, IFC, and the other supported 3D types). Non-3D files in the same share are unaffected. Expired shares returned `500` rather than leaking contents. This issue is fixed in 3.3.2. `PublicFileController` now extends `PublicShareController` and implements `isValidToken()`, `isPasswordProtected()`, and `getPasswordHash()`, delegating password and token validation to the framework and gaining brute-force throttling. `ShareFileService::findValidLinkShare()` additionally rejects share types other than link and email, rejects expired shares, and treats a `ShareNotFound` from the share manager as "no share" instead of letting it surface as a 500. As a workaround, disable the 3D Viewer app (`occ app:disable threedviewer`), or avoid relying on passwords to protect link shares that contain 3D model files, until you can upgrade.
Title 3Dviewer-Nextcloud: Share password not enforced when streaming 3D models from a public link share
Weaknesses CWE-306
CWE-863
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N'}

Weaknesses
  • CWE-306

    Missing Authentication for Critical Function

  • CWE-863

    Incorrect Authorization

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Nov 2, 2026, 7:24 PM
Reserved
Oct 1, 2026, 6:54 PM
Status
Deferred
Published
Oct 27, 2026, 4:17 PM
Modified
Nov 2, 2026, 8:17 PM