{"id":"CVE-2026-25059","aliases":["CVE-2026-25059","GHSA-qmj2-8r24-xxcq","GO-2026-4396"],"related":[],"kind":"vulnerability","state":"published","title":"OpenList affected by Path Traversal in file copy and remove handlers","summary":"OpenList Frontend is a UI component for OpenList. Prior to 4.1.10, the application contains path traversal vulnerability 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. 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. This vulnerability is fixed in 4.1.10.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"OpenList Frontend is a UI component for OpenList. Prior to 4.1.10, the application contains path traversal vulnerability 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. 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. This vulnerability is fixed in 4.1.10.","source":"cvelist"},{"lang":"en","text":"### Summary\nThe 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.\n\n### Details\nThe 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.\n\n[FsRemove](https://github.com/OpenListTeam/OpenList/blob/5db2172ed681346b69ed468c73c1f01b6ed455ea/server/handles/fsmanage.go#L284-L285):\n~~~\nfunc FsRemove(c *gin.Context) {\n\t// ...\n\tfor _, name := range req.Names {\n\t\terr := fs.Remove(c, stdpath.Join(reqDir, name))\n~~~\n\n[FsCopy](https://github.com/OpenListTeam/OpenList/blob/5db2172ed681346b69ed468c73c1f01b6ed455ea/server/handles/fsmanage.go#L163-L164):\n~~~\nfunc FsCopy(c *gin.Context) {\n\t// ...\n\tif !req.Overwrite {\n\t\tfor _, name := range req.Names {\n\t\t\tif res, _ := fs.Get(c.Request.Context(), stdpath.Join(dstDir, name), &fs.GetArgs{NoLog: true}); res != nil {\n~~~\n\n\n### PoC\nScenario:​ A normal user (\"alice\") bypasses directory restrictions to read files outside her authorized path.\n\nEnvironment setup:\n- Local storage mount as '/local'.\n- An admin file \"adminsecret.txt\" is placed under /local\n- Alice has base path '/local/alice'.\n\n\nhttps://github.com/user-attachments/assets/5d73bbec-29e5-4c52-8af3-4c70b26d9d0e\n\n\n\n### Impact\nThis 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.\n\nAttack Requirements:\n- Authenticated user account (not guest)\n- Basic file operation permissions (remove/copy)\n- Multi-user environment within the same storage mount\n- Knowledge (or ability to guess) the target file's name and path\n\nConsequences:\n- Unauthorised data access: Read, copy, and exfiltrate files from other users' directories\n- Data destruction: Delete files belonging to other users\n\n### Note\n\nThis vulnerability was discovered by:\n- XlabAI Team of Tencent Xuanwu Lab\n- Atuin Automated Vulnerability Discovery Engine\n\nCVE and credit are preferred.\n\nIf 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).\n\nThe 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.","format":"markdown","source":"ghsa"},{"lang":"en","text":"OpenList vulnerable to Path Traversal in file copy and remove handlers in github.com/OpenListTeam/OpenList","format":"markdown","source":"go"},{"lang":"es","text":"OpenList Frontend es un componente de UI para OpenList. Antes de la 4.1.10, la aplicación contiene una vulnerabilidad de salto de ruta en múltiples manejadores de operaciones de archivo en server/handles/fsmanage.go. Los componentes de nombre de archivo en req.Names se concatenan directamente con directorios validados usando stdpath.Join. Esto permite que las secuencias '..' evadan las restricciones de ruta, permitiendo a los usuarios acceder a los archivos de otros usuarios dentro del mismo montaje de almacenamiento y realizar acciones no autorizadas como la eliminación, el cambio de nombre o la copia de archivos. Un atacante autenticado puede evadir la autorización a nivel de directorio inyectando secuencias de salto de ruta en los componentes de nombre de archivo, permitiendo la eliminación y copia de archivos no autorizadas entre límites de usuario dentro del mismo montaje de almacenamiento. Esta vulnerabilidad está corregida en la 4.1.10.","source":"nvd"}],"published":"2026-02-02T20:01:30.000Z","modified":"2026-06-17T10:24:03.673Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"}],"cwes":["CWE-22"],"affected":[{"ranges":[{"version":"< 4.1.10","status":"affected"}],"vendor":"OpenListTeam","product":"OpenList","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"4.1.10"}],"ecosystem":"Go","package":"github.com/OpenListTeam/OpenList/v4","purl":"pkg:golang/github.com/OpenListTeam/OpenList/v4","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"github.com/OpenListTeam/OpenList","purl":"pkg:golang/github.com/OpenListTeam/OpenList","source":"go"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"github.com/OpenListTeam/OpenList/v3","purl":"pkg:golang/github.com/OpenListTeam/OpenList/v3","source":"go"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"4.1.10"}],"ecosystem":"Go","package":"github.com/OpenListTeam/OpenList/v4","purl":"pkg:golang/github.com/OpenListTeam/OpenList/v4","source":"go"},{"ranges":[{"status":"affected","fixed":"4.1.10"}],"vendor":"oplist","product":"openlist","cpe":"cpe:2.3:a:oplist:openlist:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/OpenListTeam/OpenList/security/advisories/GHSA-qmj2-8r24-xxcq","tags":["advisory","exploit","vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/OpenListTeam/OpenList/commit/7b78fed106382430c69ef351d43f5d09928fff14","tags":["fix","patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/OpenListTeam/OpenList/releases/tag/v4.1.10","tags":["release-notes","web","x-refsource-misc"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-25059","tags":["advisory"],"sources":["ghsa","go"]},{"url":"https://github.com/OpenListTeam/OpenList","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/OpenListTeam/OpenList/blob/5db2172ed681346b69ed468c73c1f01b6ed455ea/server/handles/fsmanage.go#L163-L164","tags":["web"],"sources":["ghsa","go"]},{"url":"https://github.com/OpenListTeam/OpenList/blob/5db2172ed681346b69ed468c73c1f01b6ed455ea/server/handles/fsmanage.go#L284-L285","tags":["web"],"sources":["ghsa","go"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-02-04T15:54:29.932Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-25059","url":"https://www.cve.org/CVERecord?id=CVE-2026-25059","licence":"CVE Terms of Use","modified":"2026-02-04T16:53:37.480Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-qmj2-8r24-xxcq","url":"https://github.com/advisories/GHSA-qmj2-8r24-xxcq","licence":"CC-BY-4.0","modified":"2026-02-05T08:56:06.445Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2026-4396","url":"https://pkg.go.dev/vuln/GO-2026-4396","licence":"CC-BY-4.0","modified":"2026-02-05T08:56:06.445Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-25059","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-25059","licence":"Public domain","modified":"2026-06-17T10:24:03.673Z"}],"updatedAt":"2026-11-25T22:59:13.377Z","epss":{"score":0.0065,"percentile":0.52479,"date":"2026-12-01T12:00:22.000Z"}}