Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-41641

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2021-41641
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 08:49 UTC · Revision 1

Source evidence

CVE-2021-41641

core-osv · Original source

Published 12 Jun 2022, 13:15 UTC

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.

osv:CVE-2021-41641
Complete source record
{
  "id": "a8b46639c6f59b84da947ddfa26231919b6d8744a0fbaaabe4d1d06c6e95fd80",
  "url": "https://osv.dev/vulnerability/CVE-2021-41641",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-41641",
    "summary": "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.",
    "evidence": "osv:CVE-2021-41641",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2021-41641",
      "aliases": [
        "CVE-2021-41641",
        "GHSA-67hm-27mx-9cg7"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/denoland/deno",
              "type": "GIT",
              "events": [
                {
                  "introduced": "1567c1013cc8ff12cf039137792da66a1d0015b5"
                },
                {
                  "last_affected": "f92cc66f0dbf8e9753f2e98d4469190f3b561eb0"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:deno:deno:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "1.10.3"
                      },
                      {
                        "last_affected": "1.14.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-41641.json"
          }
        }
      ],
      "modified": "2026-10-24T10:50:25.754529755Z",
      "provider": "osv",
      "references": [
        "https://github.com/denoland/deno/issues/12152",
        "https://hackers.report/report/614876917a7b150012836bb8"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:a:deno:deno:*:*:*:*:*:*:*:*"
            ],
            "vendor_product": "deno:deno",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "1.10.3"
                  },
                  {
                    "last_affected": "1.14.0"
                  }
                ],
                "source": "CPE_RANGE"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2021-41641",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 442159,
  "published_at": "2022-06-12T13:15:07.747+00:00"
}