Daptin has Unauthenticated Path Traversal and Zip SlipGHSA-9cp7-j3f8-p5jx
CRITICALFix: daptin/daptin@8d626bbGHSA-9cp7-j3f8-p5jx is a critical-severity (CVSS 10) remote code execution vulnerability in github.com/daptin/daptin. A fix is available for github.com/daptin/daptin — see the affected versions and patch details below.
Real-World Exposure
github.com/daptin/daptinReal-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
Impact
The cloudstore.file.upload action in server/actions/action_cloudstore_file_upload.go writes user-supplied filenames directly to disk without proper validation.
This allows unauthenticated attackers to perform path traversal and zip slip attacks, leading to arbitrary file write and potential remote code execution.
CVSS Score: 10.0 Critical CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:H CWE: CWE-22 (Path Traversal)
Patches
Upgrade to a patched version once released. The vulnerability affects all versions <= v0.11.3 (latest).
Workarounds
Restrict access to the cloudstore.file.upload action through authentication and authorization controls until a patch is available.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 🐹Go | github.com/daptin/daptin | all versions | 0.12.0go get github.com/daptin/daptin@v0.12.0 |
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for github.com/daptin/daptin, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update github.com/daptin/daptin to 0.12.0 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-9cp7-j3f8-p5jx 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-9cp7-j3f8-p5jx in your dependencies?
Find it across Go, including transitive dependencies.