Description
OpenList a file list program that supports multiple storage. Prior to 4.2.4, the share creation and update checks in server/handles/sharing.go use strings.HasPrefix(requested_path, user.BasePath) without enforcing a directory separator boundary. An authenticated user with CanShare permission and a BasePath such as /base can submit a sibling path such as /base2/secret.txt, create a share for the out-of-scope file, and use the public share download or list handlers to read data outside the assigned directory. This issue is fixed in version 4.2.4.
Published: 2026-08-18
Score: 6.5 Medium
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

OpenList’s share creation and update endpoints validate a requested file path by simply checking if the path has the user’s BasePath as a prefix using strings.HasPrefix, without enforcing a directory separator. This allows an authenticated user with CanShare permission to submit a path that shares the same initial characters but is a sibling, such as a BasePath of "/base" and a requested path of "/base2/secret.txt". The API therefore believes the target file is within scope, enabling the attacker to create a share for the out‑of‑scope file and retrieve it through public download or list handlers, resulting in confidential data leakage.

Affected Systems

The issue affects OpenListTeam's OpenList file list program across all deployments of the software with a version earlier than 4.2.4. The vulnerability exists in the server/handles/sharing.go component of those versions and is fixed in release 4.2.4 with proper directory separator enforcement.

Risk and Exploitability

The CVSS score of 6.5 classifies the flaw as moderate. No EPSS score is available and the vulnerability is not listed in CISA’s KEV catalog, indicating limited publicly known exploitation. Exploitation requires network access to the share creation API, valid authentication with the CanShare permission, and the ability to submit a crafted path. The attacker can read arbitrary files on the host's file system but cannot execute code or modify data, limiting impact to confidentiality breach within the application environment.

Generated by OpenCVE AI on August 18, 2026 at 20:07 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade to OpenList version 4.2.4 or later to apply the vendor‑provided fix.
  • Restrict the CanShare permission to trusted users and withdraw it from accounts that should not create shares.
  • Add an additional server‑side validation that normalizes the requested path and verifies it remains within the user’s BasePath directory, ensuring a directory separator boundary is enforced before granting share access.

Generated by OpenCVE AI on August 18, 2026 at 20:07 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-86cx-wwf4-phq4 OpenList: Arbitrary File Read via Path Prefix Confusion in Share Creation API
History

Tue, 18 Aug 2026 20:15:00 +0000

Type Values Removed Values Added
First Time appeared Openlistteam
Openlistteam openlist
Vendors & Products Openlistteam
Openlistteam openlist

Tue, 18 Aug 2026 19:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Tue, 18 Aug 2026 18:15:00 +0000

Type Values Removed Values Added
Description OpenList a file list program that supports multiple storage. Prior to 4.2.4, the share creation and update checks in server/handles/sharing.go use strings.HasPrefix(requested_path, user.BasePath) without enforcing a directory separator boundary. An authenticated user with CanShare permission and a BasePath such as /base can submit a sibling path such as /base2/secret.txt, create a share for the out-of-scope file, and use the public share download or list handlers to read data outside the assigned directory. This issue is fixed in version 4.2.4.
Title OpenList: Arbitrary File Read via Path Prefix Confusion in Share Creation API
Weaknesses CWE-639
References
Metrics cvssV3_1

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


Subscriptions

Openlistteam Openlist
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-08-18T18:47:07.385Z

Reserved: 2026-08-03T15:47:09.655Z

Link: CVE-2026-69160

cve-icon Vulnrichment

Updated: 2026-08-18T18:46:44.723Z

cve-icon NVD

Status : Received

Published: 2026-08-18T18:19:28.493

Modified: 2026-08-18T19:17:02.867

Link: CVE-2026-69160

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-18T20:15:04Z

Weaknesses
  • CWE-639

    Authorization Bypass Through User-Controlled Key