@angular/cli 21.2.x and 20.3.x depend on @modelcontextprotocol/[email protected] which is vulnerable to CVE-2026-111767, CVE-2026-111768, CVE-2026-111769 and CVE-2026-111771
Maintainer thường phản hồi trong vòng 1 ngày
@florimond-collette đang làm issue này rồi.
Từ ngày 20/10/2026.
- #34456 của @florimond-collette — đang mở
Đánh giá
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- node.js, typescript
Hướng nghiên cứu
The issue identifies the exact dependency and affected Angular CLI branches, and links an open pull request (#34456). Read the dependency declarations for the v20 and v21 branches and compare them with the fix described in #34263. Done means the dependency is updated to a patched version on both branches and the reported npm audit vulnerability no longer applies.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Command
other
Is this a regression?
- Yes, this behavior used to work in the previous version
The previous version in which this bug was not present was
No response
Description
@modelcontextprotocol/sdk versions before 1.32.0 are affected by four advisories published on 2026-10-20, all patched in 1.32.0:
- https://github.com/advisories/GHSA-22jm-h49p-29qw (CVE-2026-111767, CVSS 8.6): "MCP TypeScript SDK: Experimental tasks were not tied to the session that created them", affected
>= 1.24.0, < 1.32.0 - https://github.com/advisories/GHSA-46jr-4wx8-v453 (CVE-2026-111768, CVSS 7.5): "MCP TypeScript SDK: One HTTP request within the default size limit could exhaust server memory during validation", affected
>= 1.3.0, < 1.32.0 - https://github.com/advisories/GHSA-6prh-2h8m-c8cw (CVE-2026-111769, CVSS 6.5): "MCP TypeScript client SDK: HTTP client transports and OAuth requests followed cross-origin redirects and re-sent custom headers and request bodies", affected
< 1.32.0 - https://github.com/advisories/GHSA-rvq5-wwqv-78pq (CVE-2026-111771, CVSS 6.8): "MCP TypeScript SDK: Server bearer authentication accepted tokens issued for another service", affected
>= 1.6.0, < 1.32.0
Both LTS branches pin a vulnerable version exactly (locked on, no update allowed):
- v21 LTS:
@angular/cli21.2.26 through 21.2.27 (latest) depend on@modelcontextprotocol/[email protected](earlier 21.2.x pinned 1.26.0 and 1.30.0, also affected) - v20 LTS:
@angular/cli20.3.39 through 20.3.40 (latest) depend on@modelcontextprotocol/[email protected](earlier 20.3.x pinned 1.17.3, 1.24.0, 1.25.2, 1.26.0 and 1.30.0, also affected)
v22 (22.2.x) is not affected: it depends on @modelcontextprotocol/server instead, pinned to the patched 2.3.1 since 22.2.2 (22.2.0 and 22.2.1 pinned 2.0.0, updated in #34266).
The CLI only uses McpServer over stdio, so these do not look reachable through ng mcp, but the exact pin makes npm audit flag every install. npm's advisory feed only has GHSA-22jm-h49p-29qw and GHSA-6prh-2h8m-c8cw so far, so the audit output below lists those two.
The fix would be bumping @modelcontextprotocol/sdk to 1.32.1 (latest, same code as 1.32.0) on both branches, as was done for #34263 (#34264 / #34265).
Minimal Reproduction
- npm install @angular/cli@21 (or @angular/cli@20)
- npm audit
Exception or Error
# npm audit report
@modelcontextprotocol/sdk <=1.31.0
Severity: high
MCP TypeScript SDK: Experimental tasks were not tied to the session that created them - https://github.com/advisories/GHSA-22jm-h49p-29qw
MCP TypeScript client SDK: HTTP client transports and OAuth requests followed cross-origin redirects and re-sent custom headers and request bodies - https://github.com/advisories/GHSA-6prh-2h8m-c8cw
fix available via `npm audit fix --force`
Will install @angular/[email protected], which is a breaking change
node_modules/@modelcontextprotocol/sdk
@angular/cli 20.3.13 - 20.3.40 || 21.0.2 - 22.2.0-rc.0
Depends on vulnerable versions of @modelcontextprotocol/sdk
node_modules/@angular/cli
Your Environment
Angular CLI : 21.2.27 / 20.3.40
Package Manager : npm
Anything else relevant?
No response
- Ngôn ngữ chính
- TypeScript
- Star
- 27k
- Fork
- 11.8k
- Merge trung bình
- 1 ngày 6 giờ
- Pull request đã merge (30 ngày)
- 216
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của angular/angular-cli
-
Can't use an array of hostnames in --allowedHosts cli parameter in @angular/build:dev-serverĐang mởarea: @angular/build gemini-triaged
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
angular/angular-cli#33955 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area: @angular/cli gemini-triaged
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
angular/angular-cli#33055 · 1 bình luận · 3 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
@angular/build 22.2.x, 21.2.x and 20.3.x depend on [email protected] / [email protected] which are vulnerable to CVE-2026-112943Có thể đã có người làm @florimond-collette đã nhận hôm nay. Đang mởarea: @angular/build
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 25/100
angular/angular-cli#34452 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
`ng generate app-shell` and `ng generate module --route` produce broken imports when a component `type` is configuredCó thể đã có người làm @MeAkib đã nhận hôm nay. Đang mởarea: @schematics/angular
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
angular/angular-cli#34449 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
`ng generate component/directive --module` declares a class that doesn't exist when `addTypeToClassName` is `false`Có thể đã có người làm @MeAkib đã nhận hôm nay. Đang mởarea: @schematics/angular
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 25/100
angular/angular-cli#34447 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của angular/angular-cli
Issue tương tự
-
frontend
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 86/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
ranxianglei/billion-context#4172 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
awslabs/threat-composer#362 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Area/Cloud Needs Triage Type/Bug
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 86/100
wso2/product-integrator#2847 ·
Maintainer thường phản hồi trong vòng 1 ngày