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
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| go | github.com/OpenListTeam/OpenList/v4 | <= 4.2.3 | 4.2.4 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/advisories/GHSA-86cx-wwf4-phq4
- https://github.com/OpenListTeam/OpenList/security/advisories/GHSA-86cx-wwf4-phq4
- https://github.com/OpenListTeam/OpenList/commit/59bd3431408578f420895457554700cc9a52375a
- https://github.com/OpenListTeam/OpenList/releases/tag/v4.2.4