{"answers":{"affected":"3 open source packages ship an affected version, including github.com/daptin/daptin.","exploited":"There is no known exploitation of GHSA-9cp7-j3f8-p5jx in the wild and no public exploit code.","fix":"Upgrade github.com/daptin/daptin to 0.12.0 or later.","what":"GHSA-9cp7-j3f8-p5jx is a path traversal vulnerability in github.com/daptin/daptin, published on 10 Apr 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for GHSA-9cp7-j3f8-p5jx and fix it if it is affected.\n\nWhat it is: GHSA-9cp7-j3f8-p5jx is a path traversal vulnerability in github.com/daptin/daptin, published on 10 Apr 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of GHSA-9cp7-j3f8-p5jx in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/daptin/daptin (Go): affected all versions; fixed in 0.12.0\n- github.com/daptin/daptin (Go): affected all versions; fixed in 0.12.0\n- github.com/daptin/daptin (Go): affected all versions; fixed in 0.12.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/GHSA-9cp7-j3f8-p5jx/ (Markdown: https://insights.sbomify.com/GHSA-9cp7-j3f8-p5jx/index.md)","id":"GHSA-9cp7-j3f8-p5jx","markdown":"https://insights.sbomify.com/GHSA-9cp7-j3f8-p5jx/index.md","name":"GHSA-9cp7-j3f8-p5jx","record":{"aliases":["GO-2026-5285"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["code_execution","data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"Daptin backend","requires_auth":"none","summary":"Unauthenticated attackers can exploit path traversal and zip slip in Daptin to write arbitrary files and potentially execute remote code.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":null,"cpe":[],"cvss":{"score":null,"severity":null,"source":null,"vector":null,"version":null},"cwes":[],"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.","ecosystems":["Go"],"exploits":{"exploitdb":null,"first_seen":null,"github_poc":null,"max_poc_stars":null,"metasploit":null,"nuclei":null,"refs":[],"tier":null},"has_fix":true,"headline":"Daptin has Unauthenticated Path Traversal and Zip Slip","id":"GHSA-9cp7-j3f8-p5jx","indexable":true,"kev":null,"kind":"advisory","links":{"ecosystem":"Go","product":null,"products":[],"type":"path_traversal","year":"2026"},"n_packages":3,"n_references":null,"packages":[{"ecosystem":"Go","fixed":["0.12.0"],"introduced":["0"],"last_affected":[],"package":"github.com/daptin/daptin","purl":null,"source":"GHSA-9cp7-j3f8-p5jx"},{"ecosystem":"Go","fixed":["0.12.0"],"introduced":["0"],"last_affected":[],"package":"github.com/daptin/daptin","purl":"pkg:golang/github.com/daptin/daptin","source":"GHSA-9cp7-j3f8-p5jx"},{"ecosystem":"Go","fixed":["0.12.0"],"introduced":["0"],"last_affected":[],"package":"github.com/daptin/daptin","purl":"pkg:golang/github.com/daptin/daptin","source":"GO-2026-5285"}],"products":null,"published":"2026-04-10","related":[],"sources":[{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":null,"updated":null,"vendors":null},"summary":"Unauthenticated attackers can exploit path traversal and zip slip in Daptin to write arbitrary files and potentially execute remote code.","url":"https://insights.sbomify.com/GHSA-9cp7-j3f8-p5jx/"}