# GHSA-jf2q-463c-6f52: androidqf: Zip entry Name Injection in APK bundle (Zip Slip for zip consumers)

> A compromised Android device can inject path traversal sequences into forensic acquisition bundles, allowing arbitrary file writes when extracted by vulnerable tools.

- **Severity:** Not scored
- **Exploited in the wild:** Not known
- **Login needed:** Not needed
- **Attackable:** Local or same network only
- **Victim action needed:** A user has to click or open something
- **Fix available:** Yes
- **Published:** 21 May 2026
- **Also known as:** GO-2026-5464

## What is GHSA-jf2q-463c-6f52?

GHSA-jf2q-463c-6f52 is a path traversal vulnerability in github.com/mvt-project/androidqf, published on 21 May 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

### Official description

### Summary
`generateZipPath()` constructs zip entry names for collected APKs using device controlled content from `extractFileName()`. Since `extractFileName()` does not reject traversal sequences, the resulting zip entry name can contain `../`. AndroidQF itself does not extract the zip it creates, but any forensic tool that extracts the acquisition bundle without zip-slip protection could write files to attacker chosen paths.

### Impact
A compromised device could inject path traversal sequences into the acquisition bundle's zip entry names. When a forensic analyst or forensic tooling extracts the bundle without entry name validation, files could be written outside the intended extraction directory.

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

## Which versions are affected by GHSA-jf2q-463c-6f52?

3 open source packages ship an affected version, including github.com/mvt-project/androidqf.


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `github.com/mvt-project/androidqf` | Go | All versions | 1.8.3 |
| `github.com/mvt-project/androidqf` | Go | All versions | 1.8.3 |
| `github.com/mvt-project/androidqf` | Go | All versions | 1.8.3 |

## How do I fix GHSA-jf2q-463c-6f52?

Upgrade github.com/mvt-project/androidqf to 1.8.3 or later.

## Is GHSA-jf2q-463c-6f52 being exploited?

There is no known exploitation of GHSA-jf2q-463c-6f52 in the wild and no public exploit code.

## Fix prompt for AI coding agents

```text
Check this codebase for GHSA-jf2q-463c-6f52 and fix it if it is affected.

What it is: GHSA-jf2q-463c-6f52 is a path traversal vulnerability in github.com/mvt-project/androidqf, published on 21 May 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Exploitation: There is no known exploitation of GHSA-jf2q-463c-6f52 in the wild and no public exploit code.

Affected packages and fixed versions:
- github.com/mvt-project/androidqf (Go): affected all versions; fixed in 1.8.3
- github.com/mvt-project/androidqf (Go): affected all versions; fixed in 1.8.3
- github.com/mvt-project/androidqf (Go): affected all versions; fixed in 1.8.3

Task:
1. 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.
2. 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.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/GHSA-jf2q-463c-6f52/ (Markdown: https://insights.sbomify.com/GHSA-jf2q-463c-6f52/index.md)
```

## Sources

- OSV: https://osv.dev/vulnerability/GHSA-jf2q-463c-6f52

---
From sbomify Insights: https://insights.sbomify.com/GHSA-jf2q-463c-6f52/
Summaries are generated and may contain mistakes; the official description above is the record.
