GHSA-qmj2-8r24-xxcq is a high-severity (CVSS 8.8) Path Traversal vulnerability in github.com/OpenListTeam/OpenList/v4. A fix is available for github.com/OpenListTeam/OpenList/v4 — see the affected versions and patch details below.
OpenList vulnerable to Path Traversal in file copy and remove handlers
Exploitation Status
No confirmed exploitation observed yet
- A successful exploit gives an attacker total control of the affected component, not partial access.
- CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.
Exploitation and automatability from CISA’s SSVC triage for GHSA-qmj2-8r24-xxcq.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
GHSA-qmj2-8r24-xxcq by exploitation likelihood (EPSS) against impact (CVSS). Outside the shaded patch-first corner.
Where this sits among everything scored
Of 379,842 CVEs with a current EPSS score, this one falls in the < 10% band (highlighted). Counts from FIRST.org, log-scaled.
Real-World Exposure
github.com/OpenListTeam/OpenList/v4Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects Go packages — download data is not available via public APIs for these ecosystems.
Description
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.
func FsRemove(c *gin.Context) {
// ...
for _, name := range req.Names {
err := fs.Remove(c, stdpath.Join(reqDir, name))
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 [email protected].
The security industry standard 90+30 disclosure policy is followed. Should the aforementioned vulnerabilities remain unfixed after 90 days of submission, all information about the issues will be publicly disclosed.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 🐹Go | github.com/OpenListTeam/OpenList/v4 | all versions | 4.1.10go get github.com/OpenListTeam/OpenList/v4@v4.1.10 |
Affected Products
openlistoplistDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for github.com/OpenListTeam/OpenList/v4, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update github.com/OpenListTeam/OpenList/v4 to 4.1.10 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-qmj2-8r24-xxcq is resolved across your whole dependency graph.
Workarounds
Resolve every user-supplied path to its canonical form and reject anything that escapes the intended directory, and run the component under an account that has no read or write access outside the directory it legitimately serves.
Frequently Asked Questions
Is GHSA-qmj2-8r24-xxcq in your dependencies?
Find it across Go, including transitive dependencies.