GHSA-8gwq-33fg-g56p: Extractor writes outside chroot through existing symbolic link in github.com/saracen/fastzip
Published 2026-11-23 · Updated 2026-11-23 · Also known as GO-2026-6984
Summary
A path traversal vulnerability in github.com/saracen/fastzip allows extracted files to be written outside the intended destination chroot via pre-existing symbolic links. Developers using fastzip packages prior to version 0.2.1 should update to the patched version.
Who is affected
Applications extracting archives into target directories containing existing symbolic links are vulnerable to unintended file writes and metadata changes outside the destination path. The flaw occurs because Extractor.Extract performs lexical path checks against the chroot but uses path-based os calls that follow pre-existing symlinks. Deployments extracting untrusted archives into environments with local symbolic links are primarily affected.
Exploitability
CVSS metrics and EPSS scores are currently not provided or not yet available for this vulnerability. CISA Known Exploited Vulnerabilities catalog indicates that there is no documented active exploitation for this issue.
Remediation
- Upgrade the github.com/saracen/fastzip dependency to version 0.2.1 or later.
- Update your project's go.mod file and run go mod tidy to ensure the vulnerable version is replaced.
How to check your project
- Check your project's go.mod and go.sum files to verify if github.com/saracen/fastzip is resolved to a version prior to 0.2.1.
- Execute Go vulnerability scanners like govulncheck to identify vulnerable versions of github.com/saracen/fastzip in your build dependencies.
Automated analysis of the published advisory data, generated 2026-11-23. Not human-reviewed; verify against the official advisory. How this works.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | Upgrade |
|---|---|---|---|---|
| Go | github.com/saracen/fastzip |
>= 0, < 0.2.1 | 0.2.1 | go get github.com/saracen/[email protected] |
FAQ
What is the root cause of this vulnerability?
Extractor.Extract checks archive entry paths lexically against the target directory, but relies on path-based os calls that follow symbolic links already present in the chroot directory.
Which versions of github.com/saracen/fastzip are fixed?
Version 0.2.1 resolves this issue.
Is there active exploitation reported for this flaw?
No active exploitation is documented as CISA Known Exploited Vulnerabilities marks this issue as 'no'.
Original advisory description
References
- ADVISORY https://github.com/saracen/fastzip/security/advisories/GHSA-8gwq-33fg-g56p
- FIX https://github.com/saracen/fastzip/commit/99c2a5cf69d769da532c6ebb6a26a67a817f6101
- WEB https://github.com/saracen/fastzip/releases/tag/v0.2.1
- WEB https://gitlab.com/gitlab-org/gitlab-runner/-/merge_requests/7500
- WEB https://gitlab.com/gitlab-org/gitlab-runner/-/work_items/39687
Source records: GO-2026-6984 (OSV.dev).