# CVE-2021-41641: Link Following in Deno

- Severity: High 8.4 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/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.39%, higher than 35% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2022-06-12T12:12:08.000Z
- Modified: 2026-06-17T04:08:45.243Z
- Also known as: GHSA-67hm-27mx-9cg7
- Weaknesses: CWE-59
- Assigned by: mitre

## Description

Deno <=1.14.0 file sandbox does not handle symbolic links correctly. When running Deno with specific write access, the Deno.symlink method can be used to gain access to any directory.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- deno (crates.io): before 1.16.0
- deno deno: from 1.10.3 up to 1.14.0

## Every score

- GitHub: CVSS:3.1 8.4 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N`
- NVD: CVSS:3.1 8.4 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N`
- NVD: CVSS:2.0 3.6 Low `AV:L/AC:L/Au:N/C:P/I:P/A:N`

## References

- <https://hackers.report/report/614876917a7b150012836bb8> (exploit, third-party-advisory, web)
- <https://github.com/denoland/deno/issues/12152> (exploit, issue-tracking, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-41641> (advisory)
- <https://github.com/denoland/deno/pull/12554> (web)
- <https://github.com/denoland/deno/commit/d44011a69e0674acfa9c59bd7ad7f0523eb61d42> (web)

## Sources

- CVE List: [CVE-2021-41641](https://www.cve.org/CVERecord?id=CVE-2021-41641), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-67hm-27mx-9cg7](https://github.com/advisories/GHSA-67hm-27mx-9cg7), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2021-41641](https://nvd.nist.gov/vuln/detail/CVE-2021-41641), Public domain, modified 2026-06-17

---

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