CVEfocus › CVE database › CVE-2026-49241

CVE-2026-49241Angular: Multiple Remote Code Execution Vulnerabilities in Angular Language Service VS…

CVSS 8.7 HighEPSS 0.2% (higher than 9% of CVEs)Published 2026-06-22Updated 2026-06-23Assigner: GitHub_M

The Angular Language Service VS Code Extension provides a rich editing experience for Angular templates. Prior to 21.2.4, the client-side Angular Language Service VS Code extension reads the custom TypeScript SDK paths typescript.tsdk and js/ts.tsdk.path directly from workspace configurations (.vscode/settings.json) without verifying VS Code Workspace Trust state or asking for user consent (located in client/src/client.ts). The client-side extension then passes the parsed settings path as a command-line argument (--tsdk) to the background Node.js language server process. During server initialization, the background language server resolves and dynamically imports (via standard Node.js require()) the module library tsserverlibrary.js relative to the workspace-specified custom directory path. An attacker can exploit this behavior by committing a repository containing a local malicious tsserverlibrary.js script inside a custom folder, and a crafted .vscode/settings.json file pointing to that folder. When a developer opens the repository folder in VS Code, the extension automatically attempts to initialize and load the server, which dynamically resolves, loads, and executes the malicious script silently in the background. This vulnerability is fixed in 21.2.4.

CWE-427CWE-494CWE-79CWE-94

What to do

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

4Fix pending
3Under investigation
1Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10angular.jsFix pendingUBUNTU-CVE-2026-49241
Ubuntu 26.04angular.jsUnder investigationUBUNTU-CVE-2026-49241
Ubuntu 25.10angular.jsWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2026-49241
Ubuntu 24.04angular.jsUnder investigationUBUNTU-CVE-2026-49241
Ubuntu 22.04angular.jsUnder investigationUBUNTU-CVE-2026-49241
Ubuntu 20.04angular.jsFix pendingUBUNTU-CVE-2026-49241
Ubuntu 18.04angular.jsFix pendingUBUNTU-CVE-2026-49241
Ubuntu 16.04angular.jsFix pendingUBUNTU-CVE-2026-49241

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.