{"id":"CVE-2026-49983","revision":"7c789c6bf4824fa1b6c40fa0a5ea2b16","records":[{"revision":"7c789c6bf4824fa1b6c40fa0a5ea2b16","observedAt":"2026-10-27T13:11:58.28+00:00","statement":{"source":"nvd","id":"CVE-2026-49983","aliases":[],"title":"Deno is a JavaScript, TypeScript, and WebAssembly runtime. Prior to 2.8.1, environment access is gated by the env permission. You can deny it with --deny-env, or restrict it to a specific allowlist with --allow-env=FOO,BAR. The expectation …","description":"Deno is a JavaScript, TypeScript, and WebAssembly runtime. Prior to 2.8.1, environment access is gated by the env permission. You can deny it with --deny-env, or restrict it to a specific allowlist with --allow-env=FOO,BAR. The expectation is that a program running without env permission cannot change process.env. process.loadEnvFile() (the Node-compatible API for loading variables from a .env file) does not honor this. It only checks that the program has read permission for the dotenv file, then writes every key in that file into the process environment — even when env access is denied. In effect, --allow-read plus a writable or attacker-controlled .env file is enough to defeat --deny-env. This vulnerability is fixed in 2.8.1.","state":0,"publishedAt":"2026-06-23T18:18:04.19+00:00","modifiedAt":"2026-10-25T23:10:00.167+00:00","affected":[],"metrics":[{"system":"CVSS 3.1 · security-advisories@github.com · Secondary","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N","score":5.2,"severity":"MEDIUM"}],"references":["https://github.com/denoland/deno/security/advisories/GHSA-4c8g-jvcx-v4hv"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-49983","license":"NIST NVD usage terms; underlying source attribution retained","enrichment":{"sourceStatus":"Analyzed","weaknesses":["CWE-863"],"productCriteria":["cpe:2.3:a:deno:deno:*:*:*:*:*:*:*:*"],"sourceDates":{"published":"2026-06-23T18:18:04.190","lastModified":"2026-10-25T23:10:00.167"},"relatedAdvisories":[],"note":"NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON."},"key":"nvd:CVE-2026-49983","identifiers":["CVE-2026-49983"]},"retained":false,"historicalAffected":[]}],"coverage":[]}