NetSight
medium6.5

CVE-2026-69160

OpenList: Arbitrary File Read via Path Prefix Confusion in Share Creation API

Impact

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.

Affected packages

EcosystemPackageAffectedFixed in
gogithub.com/OpenListTeam/OpenList/v4<= 4.2.34.2.4

Weakness classification

References