# GHSA-9cp7-j3f8-p5jx: Daptin has Unauthenticated Path Traversal and Zip Slip

- Severity: Critical 10.0 (CVSS:3.1, scored by GitHub) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2026-04-10T22:11:04.000Z
- Modified: 2026-06-25T19:56:39.829Z
- Also known as: GO-2026-5285
- Weaknesses: CWE-22

## 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.

(As written by GitHub Advisory Database.)

## Affected

- github.com/daptin/daptin (Go): before 0.12.0

## References

- <https://github.com/daptin/daptin/security/advisories/GHSA-9cp7-j3f8-p5jx> (advisory, web)
- <https://github.com/daptin/daptin/commit/8d626bbb14f82160a08cbca53e0749f475f5742c> (fix, web)
- <https://github.com/daptin/daptin> (package)

## Sources

- GitHub Advisory Database: [GHSA-9cp7-j3f8-p5jx](https://github.com/advisories/GHSA-9cp7-j3f8-p5jx), CC-BY-4.0, modified 2026-06-25
- Go Vulnerability Database: [GO-2026-5285](https://pkg.go.dev/vuln/GO-2026-5285), CC-BY-4.0, modified 2026-06-25

---

Page: https://cve.day/GHSA-9cp7-j3f8-p5jx · Whole record: https://cve.day/GHSA-9cp7-j3f8-p5jx.json · Rebuilt by cve.day 2026-11-25T22:56:24.772Z
