{"id":"GHSA-763j-3p5v-jfc6","aliases":["GHSA-763j-3p5v-jfc6","GO-2026-5206"],"related":[],"kind":"vulnerability","state":"published","title":"androidqf: APK download Path Traversal in device APK paths","summary":"### Summary\nDuring device acquisition, `getPathToLocalCopy()` constructs local filesystem paths for downloaded APKs using a filename component extracted by `extractFileName()`. The extraction splits on `==/` and takes the remainder without sanitization. If a compromised device returns a crafted APK path containing traversal sequences, `filepath.Join` resolves them, allowing the file to be written outside the intended `apks/` directory.\n\nPractical exploitability is limited because Android enforces strict package path formats under `/data/app/` and does not allow apps to register paths containing traversal sequences. Rated Informational as a defense-in-depth concern.\n\n### Impact\nAn attacker with control of the connected device could potentially write files outside the expected output directory on the acquisition workstation, leading to arbitrary file overwrite with attacker-controlled content.\n\n### Patched version\n[1.8.3](https://github.com/mvt-project/androidqf/releases/tag/v1.8.3)\n\n### Credits\n- This issue was identified during a security assessment conducted by 0xche. \n- An additional vulnerability was independently identified by @0x0v1","summaryFormat":"markdown","summarySource":"ghsa","descriptions":[{"lang":"en","text":"### Summary\nDuring device acquisition, `getPathToLocalCopy()` constructs local filesystem paths for downloaded APKs using a filename component extracted by `extractFileName()`. The extraction splits on `==/` and takes the remainder without sanitization. If a compromised device returns a crafted APK path containing traversal sequences, `filepath.Join` resolves them, allowing the file to be written outside the intended `apks/` directory.\n\nPractical exploitability is limited because Android enforces strict package path formats under `/data/app/` and does not allow apps to register paths containing traversal sequences. Rated Informational as a defense-in-depth concern.\n\n### Impact\nAn attacker with control of the connected device could potentially write files outside the expected output directory on the acquisition workstation, leading to arbitrary file overwrite with attacker-controlled content.\n\n### Patched version\n[1.8.3](https://github.com/mvt-project/androidqf/releases/tag/v1.8.3)\n\n### Credits\n- This issue was identified during a security assessment conducted by 0xche. \n- An additional vulnerability was independently identified by @0x0v1","format":"markdown","source":"ghsa"},{"lang":"en","text":"androidqf: APK download Path Traversal in device APK paths in github.com/mvt-project/androidqf","format":"markdown","source":"go"}],"published":"2026-05-21T17:11:47.000Z","modified":"2026-06-25T19:56:40.658Z","severity":{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:U","rating":"LOW"},"severities":[{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:U","rating":"LOW"}],"cwes":["CWE-22"],"affected":[{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.8.3"}],"ecosystem":"Go","package":"github.com/mvt-project/androidqf","purl":"pkg:golang/github.com/mvt-project/androidqf","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.8.3"}],"ecosystem":"Go","package":"github.com/mvt-project/androidqf","purl":"pkg:golang/github.com/mvt-project/androidqf","source":"go"}],"references":[{"url":"https://github.com/mvt-project/androidqf/security/advisories/GHSA-763j-3p5v-jfc6","tags":["advisory","web"],"sources":["ghsa","go"]},{"url":"https://github.com/mvt-project/androidqf","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/mvt-project/androidqf/releases/tag/v1.8.3","tags":["web"],"sources":["ghsa","go"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-763j-3p5v-jfc6","url":"https://github.com/advisories/GHSA-763j-3p5v-jfc6","licence":"CC-BY-4.0","modified":"2026-06-25T19:56:40.658Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2026-5206","url":"https://pkg.go.dev/vuln/GO-2026-5206","licence":"CC-BY-4.0","modified":"2026-06-25T19:45:15.192Z"}],"updatedAt":"2026-11-25T22:56:24.724Z"}