CVE-2026-49241Angular: Multiple Remote Code Execution Vulnerabilities in Angular Language Service VS…
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.
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
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.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | angular.js | Fix pending | UBUNTU-CVE-2026-49241 | |
| Ubuntu 26.04 | angular.js | Under investigation | UBUNTU-CVE-2026-49241 | |
| Ubuntu 25.10 | angular.js | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2026-49241 | |
| Ubuntu 24.04 | angular.js | Under investigation | UBUNTU-CVE-2026-49241 | |
| Ubuntu 22.04 | angular.js | Under investigation | UBUNTU-CVE-2026-49241 | |
| Ubuntu 20.04 | angular.js | Fix pending | UBUNTU-CVE-2026-49241 | |
| Ubuntu 18.04 | angular.js | Fix pending | UBUNTU-CVE-2026-49241 | |
| Ubuntu 16.04 | angular.js | Fix pending | UBUNTU-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.
- angular: affected: < 21.2.4
References
- https://github.com/angular/angular/security/advisories/GHSA-ccq4-xmxr-8hcq
- https://github.com/angular/angular/pull/68857
- https://github.com/angular/angular/pull/68886
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.