{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:nodejs:node.js:*:*:*:*:-:*:*:*",
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "last_affected": "20.20.1"
              },
              {
                "introduced": "22.0.0"
              },
              {
                "last_affected": "22.22.1"
              },
              {
                "introduced": "24.0.0"
              },
              {
                "last_affected": "24.14.0"
              },
              {
                "introduced": "25.0.0"
              },
              {
                "last_affected": "25.8.1"
              }
            ],
            "source": "CPE_RANGE"
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "eb5334341594489a54d99812a227d921c0221304"
            },
            {
              "introduced": "12fb157f79da8c094a54bc99370994941c28c235"
            },
            {
              "last_affected": "b4acf0c9393e4b31c4937564f059c672967161d8"
            },
            {
              "introduced": "c5349f43cd66d2aa02d86414c9ed426f71d3ae48"
            },
            {
              "last_affected": "f657bb8ed86365ff3fdbe32e27563e778b41486a"
            },
            {
              "introduced": "0b3a10d4c8ba5e15429287e725d22615be896e95"
            },
            {
              "last_affected": "2ea7a7b67c3d698a0e80d2591365e2dc5c5f7a81"
            }
          ],
          "repo": "https://github.com/nodejs/node",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "hackerone",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/21xxx/CVE-2026-21716.json",
    "unresolved_ranges": [
      {
        "extracted_events": [
          {
            "introduced": "20.20.1"
          },
          {
            "last_affected": "20.20.1"
          },
          {
            "introduced": "22.22.1"
          },
          {
            "last_affected": "22.22.1"
          },
          {
            "introduced": "24.14.0"
          },
          {
            "last_affected": "24.14.0"
          },
          {
            "introduced": "25.8.1"
          },
          {
            "last_affected": "25.8.1"
          }
        ],
        "source": "AFFECTED_FIELD"
      }
    ]
  },
  "details": "An incomplete fix for CVE-2024-36137 leaves `FileHandle.chmod()` and `FileHandle.chown()` in the promises API without the required permission checks, while their callback-based equivalents (`fs.fchmod()`, `fs.fchown()`) were correctly patched.\r\n\r\nAs a result, code running under `--permission` with restricted `--allow-fs-write` can still use promise-based `FileHandle` methods to modify file permissions and ownership on already-open file descriptors, bypassing the intended write restrictions.\r\n\r\nThis vulnerability affects **20.x, 22.x, 24.x, and 25.x** processes using the Permission Model where `--allow-fs-write` is intentionally restricted.",
  "id": "CVE-2026-21716",
  "modified": "2026-08-21T03:30:31.733046754Z",
  "published": "2026-03-30T19:07:28.538Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/21xxx/CVE-2026-21716.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-21716"
    },
    {
      "type": "ARTICLE",
      "url": "https://nodejs.org/en/blog/vulnerability/march-2026-security-releases"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N",
      "type": "CVSS_V3"
    }
  ]
}