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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| OpenListTeam | OpenList | < 4.2.4 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Go | github.com/OpenListTeam/OpenList | all versions | — | GO-2026-6109 |
| Go | github.com/OpenListTeam/OpenList/v3 | all versions | — | GO-2026-6109 |
| Go | github.com/OpenListTeam/OpenList/v4 | < 4.2.4 | 4.2.4 | GHSA-86cx-wwf4-phq4 |