# CVE-2021-32825: ZipSlip vulnerability in bblfshd

- Severity: Low 2.7 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.92%, higher than 61% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-08-16T19:00:13.000Z
- Modified: 2026-06-17T03:53:42.477Z
- Weaknesses: CWE-23, CWE-59
- Assigned by: GitHub_M

## Description

bblfshd is an open source self-hosted server for source code parsing. In bblfshd before commit 4265465b9b6fb5663c30ee43806126012066aad4 there is a "zipslip" vulnerability. The unsafe handling of symbolic links in an unpacking routine may enable attackers to read and/or write to arbitrary locations outside the designated target folder. This issue may lead to arbitrary file write (with same permissions as the program running the unpack operation) if the attacker can control the archive file. Additionally, if the attacker has read access to the unpacked files, he may be able to read arbitrary system files the parent process has permissions to read. For more details including a PoC see the referenced GHSL-2020-258.

(As written by CVE List.)

## Affected

- bblfsh bblfshd: < 4265465b9b6fb5663c30ee43806126012066aad4
- bblfshd_project bblfshd: before 2021-08-11

## Every score

- GitHub_M: CVSS:3.1 2.7 Low `CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:L/I:N/A:N`
- NVD: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- NVD: CVSS:2.0 5.5 Medium `AV:N/AC:L/Au:S/C:P/I:P/A:N`

## References

- <https://securitylab.github.com/advisories/GHSL-2020-258-zipslip-bblfshd/> (exploit, third-party-advisory)
- <https://github.com/bblfsh/bblfshd/pull/341> (patch, third-party-advisory)
- <https://github.com/bblfsh/bblfshd/commit/4265465b9b6fb5663c30ee43806126012066aad4> (patch, third-party-advisory)

## Sources

- CVE List: [CVE-2021-32825](https://www.cve.org/CVERecord?id=CVE-2021-32825), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2021-32825](https://nvd.nist.gov/vuln/detail/CVE-2021-32825), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-32825 · Whole record: https://cve.day/CVE-2021-32825.json · Rebuilt by cve.day 2026-11-25T22:58:03.261Z
