SEVERITY NOT PROVIDED

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

How to check your project

Automated analysis of the published advisory data, generated 2026-11-23. Not human-reviewed; verify against the official advisory. How this works.

Affected packages

EcosystemPackageAffected versionsFixed inUpgrade
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
Extractor.Extract checks archive entry paths lexically against the destination chroot and then creates files, directories, and symbolic links using path-based os calls that follow symbolic links already present under the chroot, allowing writes and metadata changes outside the destination directory.

References

Source records: GO-2026-6984 (OSV.dev).