Loading...
Skip to main content

CVE-2026-25059 — OpenList vulnerable to Path Traversal in...

HIGH

OpenList vulnerable to Path Traversal in file copy and remove handlers

Published February 2, 2026Updated February 5, 2026Source: osv

Summary

### Summary The application contains a Path Traversal vulnerability (CWE-22) in multiple file operation handlers. An authenticated attacker can bypass directory-level authorisation by injecting traversal sequences into filename components, enabling unauthorised file removal and copying across user boundaries within the same storage mount. ### Details The application contains a Path Traversal vulnerability (CWE-22) in multiple file operation handlers in *server/handles/fsmanage.go*. Filename components in `req.Names` are directly concatenated with validated directories using `stdpath.Join`. This allows ".." sequences to bypass path restrictions, enabling users to access other users' files within the same storage mount and perform unauthorized actions such as deletion, renaming, or copying of files. [FsRemove](https://github.com/OpenListTeam/OpenList/blob/5db2172ed681346b69ed468c73c1f01b6ed455ea/server/handles/fsmanage.go#L284-L285): ~~~ func FsRemove(c *gin.Context) { // ... for _, name := range req.Names { err := fs.Remove(c, stdpath.Join(reqDir, name)) ~~~ [FsCopy](https://github.com/OpenListTeam/OpenList/blob/5db2172ed681346b69ed468c73c1f01b6ed455ea/server/handles/fsmanage.go#L163-L164): ~~~ func FsCopy(c *gin.Context) { // ... if !req.Overwrite { for _, name := range req.Names { if res, _ := fs.Get(c.Request.Context(), stdpath.Join(dstDir, name), &fs.GetArgs{NoLog: true}); res != nil { ~~~ ### PoC Scenario: A normal user ("alice") bypasses directory restrictions to read files outside her authorized path. Environment setup: - Local storage mount as '/local'. - An admin file "adminsecret.txt" is placed under /local - Alice has base path '/local/alice'. https://github.com/user-attachments/assets/5d73bbec-29e5-4c52-8af3-4c70b26d9d0e ### Impact This vulnerability enables privilege escalation within shared storage environments. An authenticated attacker with basic file operation permissions (remove/copy) can bypass directory-level authorisation controls when multiple users exist within the same storage mount. Attack Requirements: - Authenticated user account (not guest) - Basic file operation permissions (remove/copy) - Multi-user environment within the same storage mount - Knowledge (or ability to guess) the target file's name and path Consequences: - Unauthorised data access: Read, copy, and exfiltrate files from other users' directories - Data destruction: Delete files belonging to other users ### Note This vulnerability was discovered by: - XlabAI Team of Tencent Xuanwu Lab - Atuin Automated Vulnerability Discovery Engine CVE and credit are preferred. If users have any questions regarding the vulnerability details, please feel free to reach out for further discussion. Email [xlabai@tencent.com](mailto:xlabai@tencent.com). The security industry standard [90+30 disclosure policy](https://googleprojectzero.blogspot.com/p/vulnerability-disclosure-policy.html) is followed. Should the aforementioned vulnerabilities remain unfixed after 90 days of submission, all information about the issues will be publicly disclosed.

Advisory Timeline

  • First published February 2, 2026 (252 days ago).
  • Last revised February 5, 2026 — 3 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Go
Update github.com/OpenListTeam/OpenList/v4 to 4.1.10 or later
go get github.com/OpenListTeam/OpenList/v4@v4.1.10

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (1)

Affects 1 ecosystem: go (1).

PackageEcosystemAffectedFixed In
github.com/OpenListTeam/OpenList/v4
go
All versions4.1.10

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 8.8 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Frequently Asked Questions

What is CVE-2026-25059?
OpenList vulnerable to Path Traversal in file copy and remove handlers This vulnerability has been assigned a severity rating of HIGH (CVSS score: 8.8/10).
How do I check if my project is affected by CVE-2026-25059?
CVE-2026-25059 affects github.com/OpenListTeam/OpenList/v4. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-25059 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
8.8

High exploitability or significant impact. Prioritize remediation within days.

Also Known As

GHSA-qmj2-8r24-xxcq
GO-2026-4396

Related CVEs

  • CVE-2026-107809
    HIGH

    Nginx-UI AuthRequired token cookie fallback enables CSRF against management APIs

  • CVE-2026-107813
    HIGH

    Nginx UI: Incomplete fix of CVE-2026-84315 - the api/cluster router was not - wrapped in RequireSecureSession, so those sensitive mutations run without OTP step-up

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies