3.1low
Symlink guard bypass in unarchive module allows planting symlinks during extraction
- Severity
- 3.1low CVSS:3.1 by BLSOPS
- Exploit likelihood
- 0.38% (higher than 24% of CVEs)
- Published
- Last changed
- Assigned by
- BLSOPS
- Also known as
- GHSA-xpf3-p7gm-7756PYSEC-2026-3719
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Black Lantern Security BBOT | from 2.3.1 up to 2.8.6 | CVE List |
| bbot (PyPI) | from 2.3.1 before 3.0.0 | GitHub Advisory Database, PyPA Advisory Database |
| blacklanternsecurity bbot | from 2.3.1 up to 2.8.6, 3.0.0.0, 3.0.0.647, 3.0.0.649, 3.0.0.652, 3.0.0.654, 3.0.0.659, 3.0.0.669 and 42 more | NVD |
All scores
| BLSOPS | 3.1low CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:N |
| GitHub | 3.1low CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:N |
| PyPA Advisory Database | 3.1low CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:N |
Classification
What each source says
CVE List
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.
GitHub Advisory Database
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.
NVD (es)
El módulo de desarchivado de BBOT rechaza archivos que contienen entradas de enlaces simbólicos antes de la extracción, pero para archivos zip y 7z no logró detectar enlaces simbólicos cuyo listado lleva un prefijo de atributo DoS antes del modo Unix, como los producidos por versiones antiguas de p7zip. Dicho archivo, descargado y extraído durante un escaneo (por ejemplo, a través de filedownload), eludió la protección y provocó que un enlace simbólico controlado por el atacante se escribiera en el directorio de extracción. El efecto se limita a la creación del enlace simbólico (su destino no se escribe a través de él), y solo los hosts que utilizan una compilación antigua de p7zip se ven afectados; la versión principal actual de 7-Zip no lo está.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-14966 changed 2026-07-08 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-xpf3-p7gm-7756 changed 2026-10-14 | CC-BY-4.0 |
| NVD | CVE-2026-14966 changed 2026-10-25 | Public domain |
| PyPA Advisory Database | PYSEC-2026-3719 changed 2026-10-15 | CC-BY-4.0 |