# GHSA-763j-3p5v-jfc6: androidqf: APK download Path Traversal in device APK paths

- Severity: Low (CVSS:4.0, scored by GitHub) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2026-05-21T17:11:47.000Z
- Modified: 2026-06-25T19:56:40.658Z
- Also known as: GO-2026-5206
- Weaknesses: CWE-22

## Description

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

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

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

### Patched version
[1.8.3](https://github.com/mvt-project/androidqf/releases/tag/v1.8.3)

### Credits
- This issue was identified during a security assessment conducted by 0xche. 
- An additional vulnerability was independently identified by @0x0v1

(As written by GitHub Advisory Database.)

## Affected

- github.com/mvt-project/androidqf (Go): before 1.8.3

## References

- <https://github.com/mvt-project/androidqf/security/advisories/GHSA-763j-3p5v-jfc6> (advisory, web)
- <https://github.com/mvt-project/androidqf> (package)
- <https://github.com/mvt-project/androidqf/releases/tag/v1.8.3> (web)

## Sources

- GitHub Advisory Database: [GHSA-763j-3p5v-jfc6](https://github.com/advisories/GHSA-763j-3p5v-jfc6), CC-BY-4.0, modified 2026-06-25
- Go Vulnerability Database: [GO-2026-5206](https://pkg.go.dev/vuln/GO-2026-5206), CC-BY-4.0, modified 2026-06-25

---

Page: https://cve.day/GHSA-763j-3p5v-jfc6 · Whole record: https://cve.day/GHSA-763j-3p5v-jfc6.json · Rebuilt by cve.day 2026-11-25T22:56:24.724Z
