GitHub Advisoryadvisory · PyPI

GHSA-xpf3-p7gm-7756 BBOT's Symlink guard bypass in unarchive module allows planting symlinks during extraction

LOW Published 2026-10-14 Modified 2026-10-14 Official page ↗
Aliases
CVE-2026-14966
Ecosystem
PyPI
Packages
bbot
Severity
Low
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:N
Weaknesses
CWE-22, CWE-59
Reviewed
2026-10-14

Affected packages

• PyPI bbot: >= 2.3.1, < 3.0.0 → 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.

Related

Alias · CVE (1)

  • CVE-2026-14966 BBOT's unarchive module rejects archives containing symlink entries before extraction, but for zip and 7z archives it failed to detect… vulnerability

Weakness · CWE (2)

  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness
  • CWE-59 Improper Link Resolution Before File Access weakness

References