{"id":"GHSA-9cp7-j3f8-p5jx","aliases":["GO-2026-5285"],"status":"published","title":"Daptin has Unauthenticated Path Traversal and Zip Slip","description":"### 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.","severity":{"version":"3.1","score":10,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:H","level":"critical","from":"ghsa"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-22"],"published":"2026-04-10T22:11:04Z","modified":"2026-06-25T19:56:39Z","fixes":[{"ecosystem":"Go","package":"github.com/daptin/daptin","fixed_in":["0.12.0"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Go","package":"github.com/daptin/daptin","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"0.11.3"},{"fixed":"0.12.0"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/daptin/daptin","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.12.0"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/daptin/daptin","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.12.0"}]}]}],"references":[{"url":"https://github.com/daptin/daptin/security/advisories/GHSA-9cp7-j3f8-p5jx","tags":["web","advisory"]},{"url":"https://github.com/daptin/daptin/commit/8d626bbb14f82160a08cbca53e0749f475f5742c","tags":["web","fix"]},{"url":"https://github.com/advisories/GHSA-9cp7-j3f8-p5jx"},{"url":"https://github.com/daptin/daptin","tags":["package"]}],"sources":{"ghsa":[{"id":"GHSA-9cp7-j3f8-p5jx","title":"Daptin has Unauthenticated Path Traversal and Zip Slip","description":"### 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.","status":"published","published":"2026-04-10T22:11:04Z","modified":"2026-04-10T22:11:07Z","cvss":[{"version":"3.1","score":10,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:H","level":"critical"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:39:53.087746Z"}],"osv":[{"id":"GHSA-9cp7-j3f8-p5jx","title":"Daptin has Unauthenticated Path Traversal and Zip Slip","description":"### 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.","status":"published","published":"2026-04-10T22:11:04Z","modified":"2026-06-25T19:56:39.829847604Z","cvss":[{"version":"3.1","score":10,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:H","level":"critical"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T15:46:43.524801Z"},{"id":"GO-2026-5285","title":"Daptin has Unauthenticated Path Traversal and Zip Slip in github.com/daptin/daptin","description":"Daptin has Unauthenticated Path Traversal and Zip Slip in github.com/daptin/daptin","status":"published","published":"2026-06-25T18:43:19Z","modified":"2026-06-25T19:45:26.328733727Z","updated_at":"2026-11-02T15:47:02.556545Z"}]}}
