CVE-2026-48777: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in gtsteffaniak filebrowser
CVE-2026-48777 is a critical path traversal vulnerability in the gtsteffaniak filebrowser product, specifically affecting versions prior to 1.3.3-stable and 1.4.2-beta. The flaw exists in the publicPatchHandler endpoint, where user-controlled path inputs are joined with a trusted base path before sanitization, allowing traversal outside the intended directory. This enables an attacker with a public share link that has AllowModify=true to move, copy, or rename arbitrary files within the share owner's root directory. The issue was fixed in versions 1.3.3-stable and 1.4.2-beta.
AI Analysis
Technical Summary
FileBrowser Quantum versions before 1.3.3-stable and 1.4.2-beta contain a path traversal vulnerability (CWE-22) in the publicPatchHandler in backend/http/public.go. The vulnerability arises because the code joins user-supplied fromPath and toPath fields with a trusted directory path using filepath.Join, which collapses '..' segments before the sanitizer runs. As a result, the sanitizer does not detect traversal attempts, allowing file operations outside the shared directory. This vulnerability is exploitable by anyone with a public share link that has AllowModify=true, enabling unauthorized move, copy, or rename operations on files within the share owner's source root. This issue is related to a previously patched similar flaw in the bulk DELETE endpoint (CVE-2026-44542), but the PATCH handler was not updated until these fixed versions.
Potential Impact
An attacker with access to a public share link that permits modification can exploit this vulnerability to move, copy, or rename arbitrary files outside the intended shared directory within the share owner's root. This can lead to unauthorized file manipulation, potentially compromising data integrity and confidentiality within the affected file system scope. The CVSS 4.0 score is 9.3 (critical), reflecting network attack vector, no required privileges or user interaction, and high impact on confidentiality and integrity.
Mitigation Recommendations
This vulnerability has been fixed in versions 1.3.3-stable and 1.4.2-beta of filebrowser. Users should upgrade to these or later versions to remediate the issue. Since this is a self-hosted product, patching is the primary mitigation. No vendor advisory content contradicts this; therefore, upgrading is the recommended action.
CVE-2026-48777: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in gtsteffaniak filebrowser
Description
CVE-2026-48777 is a critical path traversal vulnerability in the gtsteffaniak filebrowser product, specifically affecting versions prior to 1.3.3-stable and 1.4.2-beta. The flaw exists in the publicPatchHandler endpoint, where user-controlled path inputs are joined with a trusted base path before sanitization, allowing traversal outside the intended directory. This enables an attacker with a public share link that has AllowModify=true to move, copy, or rename arbitrary files within the share owner's root directory. The issue was fixed in versions 1.3.3-stable and 1.4.2-beta.
CVSS v4.0
Score 9.3critical
Affected software
pkg:github/gtsteffaniak/filebrowserRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
FileBrowser Quantum versions before 1.3.3-stable and 1.4.2-beta contain a path traversal vulnerability (CWE-22) in the publicPatchHandler in backend/http/public.go. The vulnerability arises because the code joins user-supplied fromPath and toPath fields with a trusted directory path using filepath.Join, which collapses '..' segments before the sanitizer runs. As a result, the sanitizer does not detect traversal attempts, allowing file operations outside the shared directory. This vulnerability is exploitable by anyone with a public share link that has AllowModify=true, enabling unauthorized move, copy, or rename operations on files within the share owner's source root. This issue is related to a previously patched similar flaw in the bulk DELETE endpoint (CVE-2026-44542), but the PATCH handler was not updated until these fixed versions.
Potential Impact
An attacker with access to a public share link that permits modification can exploit this vulnerability to move, copy, or rename arbitrary files outside the intended shared directory within the share owner's root. This can lead to unauthorized file manipulation, potentially compromising data integrity and confidentiality within the affected file system scope. The CVSS 4.0 score is 9.3 (critical), reflecting network attack vector, no required privileges or user interaction, and high impact on confidentiality and integrity.
Mitigation Recommendations
This vulnerability has been fixed in versions 1.3.3-stable and 1.4.2-beta of filebrowser. Users should upgrade to these or later versions to remediate the issue. Since this is a self-hosted product, patching is the primary mitigation. No vendor advisory content contradicts this; therefore, upgrading is the recommended action.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-05-22T20:18:20.364Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a31a4690b89be68881528ed
Added to database: 06/16/2026, 19:30:49 UTC
Last enriched: 06/24/2026, 16:42:28 UTC
Last updated: 07/31/2026, 19:22:59 UTC
Views: 89
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.