Daptin has Unauthenticated Path Traversal and Zip Slip
Published 10 Apr 2026 · Updated 25 Jun 2026
Is your project on an affected github.com/daptin/daptin?
Look after several Go apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Affected package
- Affected
- <0.12.0
- Fixed in
- 0.12.0
go get github.com/daptin/daptin@v0.12.0Details
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.
Is GHSA-9cp7-j3f8-p5jx in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected github.com/daptin/daptin, and gives you the command that fixes it.
More advisories for github.com/daptin/daptin
- LowCVE-2026-62160Daptin: ParseAcceptLanguage `_` separator bypass enables >250x CPU amplification via Accept-Language header in LanguageMiddleware in github.com/daptin/daptin · 5 Nov 2026
- HighCVE-2026-62160Daptin: ParseAcceptLanguage `_` separator bypass enables >250x CPU amplification via Accept-Language header in LanguageMiddleware · 29 Oct 2026
- LowCVE-2026-41422Daptin: SQL injection via unvalidated goqu.L() calls in aggregate API in github.com/daptin/daptin · 25 Jun 2026
- LowCVE-2026-44349Daptin fuzzy search injects unvalidated column name into raw SQL in github.com/daptin/daptin · 25 Jun 2026
- LowGO-2026-4991Daptin's Session Management Vulnerability Leads to Insufficient Session Expiration After Password Change in github.com/daptin/daptin · 20 May 2026
- MediumGHSA-258c-965c-p3hcDaptin's Session Management Vulnerability Leads to Insufficient Session Expiration After Password Change · 7 May 2026
References
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.