{"id":"GHSA-9cp7-j3f8-p5jx","summary":"Daptin has Unauthenticated Path Traversal and Zip Slip","details":"### Impact\nThe `cloudstore.file.upload` action in `server/actions/action_cloudstore_file_upload.go` writes user-supplied filenames directly to disk without proper validation. \n\nThis allows unauthenticated attackers to perform path traversal and zip slip attacks, leading to arbitrary file write and potential remote code execution.\n\n**CVSS Score:** 10.0 Critical\n**CVSS Vector:** CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:H\n**CWE:** CWE-22 (Path Traversal)\n\n### Patches\n\nUpgrade to a patched version once released. The vulnerability affects all versions \u003c= v0.11.3 (latest).\n\n### Workarounds\n\nRestrict access to the cloudstore.file.upload action through authentication and authorization controls until a patch is available.","aliases":["GO-2026-5285"],"modified":"2026-06-25T19:56:39.829847604Z","published":"2026-04-10T22:11:04Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2026-04-10T22:11:04Z","nvd_published_at":null,"cwe_ids":["CWE-22"],"severity":"CRITICAL"},"references":[{"type":"WEB","url":"https://github.com/daptin/daptin/security/advisories/GHSA-9cp7-j3f8-p5jx"},{"type":"WEB","url":"https://github.com/daptin/daptin/commit/8d626bbb14f82160a08cbca53e0749f475f5742c"},{"type":"PACKAGE","url":"https://github.com/daptin/daptin"}],"affected":[{"package":{"name":"github.com/daptin/daptin","ecosystem":"Go","purl":"pkg:golang/github.com/daptin/daptin"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.12.0"}]}],"database_specific":{"last_known_affected_version_range":"\u003c= 0.11.3","source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/04/GHSA-9cp7-j3f8-p5jx/GHSA-9cp7-j3f8-p5jx.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:H"}]}