JLSEC-2026-105

Source
https://github.com/JuliaLang/SecurityAdvisories.jl/blob/main/advisories/published/2026/JLSEC-2026-105.md
Import Source
https://github.com/JuliaLang/SecurityAdvisories.jl/tree/generated/osv/2026/JLSEC-2026-105.json
JSON Data
https://api.osv.dev/v1/vulns/JLSEC-2026-105
Upstream
  • EUVD-2024-0957
Published
2026-04-14T13:10:46.494Z
Modified
2026-04-14T13:31:35.198554095Z
Severity
  • 8.8 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
Summary
Deno's deno_runtime vulnerable to interactive permission prompt spoofing via improper ANSI stripping
Details

Summary

A maliciously crafted permission request can show the spoofed permission prompt by inserting a broken ANSI escape sequence into the request contents.

Details

In the patch for CVE-2023-28446, Deno is stripping any ANSI escape sequences from the permission prompt, but permissions given to the program are based on the contents that contain the ANSI escape sequences.

For example, requesting the read permission with /tmp/hello\u001b[/../../etc/hosts as a path will display the /tmp/hellotc/hosts in the permission prompt, but the actual permission given to the program is /tmp/hello\u001b[/../../etc/hosts, which is /etc/hosts after the normalization.

This difference allows a malicious Deno program to spoof the contents of the permission prompt.

PoC

Run the following JavaScript and observe that /tmp/hellotc/hosts is displayed in the permission prompt instead of /etc/hosts, although Deno gives access to /etc/hosts.

const permission = { name: "read", path: "/tmp/hello\u001b[/../../etc/hosts" };
await Deno.permissions.request(permission);
console.log(await Deno.readTextFile("/etc/hosts"));

Expected prompt

┌ ⚠️  Deno requests read access to "/etc/hosts".
├ Requested by `Deno.permissions.query()` API
├ Run again with --allow-read to bypass this prompt.
└ Allow? [y/n/A] (y = yes, allow; n = no, deny; A = allow all read permissions) >

Actual prompt

┌ ⚠️  Deno requests read access to "/tmp/hellotc/hosts".
├ Requested by `Deno.permissions.query()` API
├ Run again with --allow-read to bypass this prompt.
└ Allow? [y/n/A] (y = yes, allow; n = no, deny; A = allow all read permissions) >

Impact

Any Deno program can spoof the content of the interactive permission prompt by inserting a broken ANSI code, which allows a malicious Deno program to display the wrong file path or program name to the user.

Database specific
{
    "sources": [
        {
            "id": "CVE-2024-27936",
            "imported": "2026-04-14T12:58:55.046Z",
            "url": "https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2024-27936",
            "html_url": "https://nvd.nist.gov/vuln/detail/CVE-2024-27936",
            "modified": "2025-01-03T19:27:46.510Z",
            "published": "2024-03-21T02:52:22.813Z"
        },
        {
            "id": "GHSA-m4pq-fv2w-6hrw",
            "imported": "2026-04-14T12:59:07.571Z",
            "url": "https://api.github.com/advisories/GHSA-m4pq-fv2w-6hrw",
            "html_url": "https://github.com/advisories/GHSA-m4pq-fv2w-6hrw",
            "modified": "2024-06-10T12:32:57Z",
            "published": "2024-03-05T20:54:14Z"
        },
        {
            "id": "EUVD-2024-0957",
            "imported": "2026-04-14T12:58:57.176Z",
            "url": "https://euvdservices.enisa.europa.eu/api/enisaid?id=EUVD-2024-0957",
            "html_url": "https://euvd.enisa.europa.eu/vulnerability/EUVD-2024-0957",
            "modified": "2024-08-02T00:41:55Z",
            "published": "2024-03-06T21:05:59Z"
        }
    ],
    "license": "CC-BY-4.0"
}
References
Credits

Affected packages

Julia / Deno_jll

Package

Name
Deno_jll
Purl
pkg:julia/Deno_jll?uuid=04572ae6-984a-583e-9378-9577a1c2574d

Affected ranges

Type
SEMVER
Events
Introduced
1.33.4+0
Fixed
2.0.0+0

Database specific

source
"https://github.com/JuliaLang/SecurityAdvisories.jl/tree/generated/osv/2026/JLSEC-2026-105.json"