Cloudreve before 4.16.1 Path Traversal via Remote Download
cloudreve
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| github.com/cloudreve/Cloudreve/v4 Go |
| No fix yet |
| github.com/cloudreve/Cloudreve Go |
| No fix yet |
| github.com/cloudreve/Cloudreve/v3 Go |
cloudreve
| Product | Affected | Fixed in |
|---|---|---|
| github.com/cloudreve/Cloudreve/v4 Go |
| No fix yet |
| github.com/cloudreve/Cloudreve Go |
| No fix yet |
| github.com/cloudreve/Cloudreve/v3 Go |
all versions| No fix yet |
Cloudreve before 4.16.1 fails to properly sanitize file paths returned by remote downloaders, allowing authenticated users to create files outside the selected destination directory. Attackers can exploit path traversal sequences in downloader metadata to write files to unexpected locations within accessible namespaces.
From the CVE record · VulnCheck
Cloudreve before 4.16.1 does not properly sanitize file paths returned by remote downloaders. An authenticated user can use path traversal sequences in downloader metadata to create files outside the selected destination directory, within accessible namespaces.
Operators of Cloudreve before 4.16.1 and users of the listed Go Cloudreve packages should check their deployments; the input lists no fixed package versions.