# GHSA-XPF3-P7GM-7756: BBOT's Symlink guard bypass in unarchive module allows planting symlinks during extraction

- Database: GitHub
- Severity: low (stated by ghsa, no CVSS score)
- Published: 2026-10-14
- Modified: 2026-10-14

## Tracked as

- [CVE-2026-14966](https://cve.now/CVE-2026-14966.md): Symlink guard bypass in unarchive module allows planting symlinks during extraction

## Also published as

- [PYSEC-2026-3719](https://cve.now/PYSEC-2026-3719.md) (PyPA)

## Affected versions

- bbot (PyPI): from 2.3.1, fixed in 3.0.0

## Description

BBOT's `unarchive` module rejects archives containing symlink entries before extraction, but for zip and 7z archives it failed to detect symlinks whose listing carries a DOS-attribute prefix before the unix mode, as produced by legacy versions of p7zip. Such an archive, downloaded and extracted during a scan (for example via `filedownload`), bypassed the guard and caused an attacker-controlled symlink to be written into the extraction directory. The effect is limited to planting the symlink (its target is not written through), and only hosts using such a legacy p7zip build are affected; current mainline 7-Zip is not.

## References

- https://github.com/blacklanternsecurity/bbot/security/advisories/GHSA-xpf3-p7gm-7756
- https://nvd.nist.gov/vuln/detail/CVE-2026-14966
- https://github.com/blacklanternsecurity/bbot/commit/3bc8d3a96f34f312853c9fcf8decee2a4e905f26
- https://github.com/blacklanternsecurity/bbot/commit/a3f1a2292e2b0a553827c6175b761abe28807735
- https://github.com/blacklanternsecurity/bbot
- https://github.com/pypa/advisory-database/tree/main/vulns/bbot/PYSEC-2026-3719.yaml

Page: https://cve.now/GHSA-XPF3-P7GM-7756

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
