Microsoft Security Advisory CVE-2026-40400: PowerShell Remote Code Execution Vulnerability
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1時間未満
- 初心者へのやさしさ
- 8/100
- issue の種類
- ドキュメント
- 明瞭さ
- 説明が足りない
- 活発さ
- 静か
- 技術スタック
- powershell
- 領域
- security
調査の方向性
This is a published security advisory in the Announcements repo, not a change request, and the payload names no file, test or code path to edit. The advisory's affected-version table (PowerShell 7.4, 7.5, 7.6 on Windows) and its unfilled TBD comments are the only concrete content. A newcomer should confirm with the maintainers what, if anything, is being requested before starting; no definition of done is given.
索引モデルが issue の本文から書いたものです。
説明
Microsoft Security Advisory CVE-2026-40400: PowerShell Remote Code Execution Vulnerability
Executive Summary
Relative path traversal in PowerShell 7 allows an unauthorized attacker to execute code over a network. It does not affect non-Windows platforms.
System administrators are advised to update PowerShell 7 to an unaffected version (see affected software).
Discussion
Please open a support question to discuss the PowerShell aspects of this advisory.
Affected Software
The vulnerability affects PowerShell 7 prior to the following versions:
| PowerShell 7 Version | Affected version | Patched Version |
|---|---|---|
| 7.6 | <7.6.6 | 7.6.6 |
| 7.5 | <7.5.11 | 7.5.11 |
| 7.4 | <7.4.18 | 7.4.18 |
The vulnerability affects PowerShell when running on the following operating systems:
| Operating System | Affected |
|---|---|
| Windows | Yes |
| macOS | No |
| Linux | No |
Advisory FAQ
How do I know if I am affected?
If all of the following are true:
- Run
pwsh -v, then, check the version in the table in Affected Software to see if your version of PowerShell 7 is affected.
How do I update to an unaffected version?
Follow the instructions at Installing PowerShell 7 to install the latest version of PowerShell 7.
Updating PowerShell 7 using Microsoft Update
Updating PowerShell 7 using Microsoft Update
Other Information
Reporting Security Issues
If you have found a potential security issue in PowerShell 7,
please email details to [email protected].
Support
You can ask questions about this issue on GitHub in the PowerShell organization.
This is located at https://github.com/PowerShell/.
The Announcements repo (https://github.com/PowerShell/Announcements)
will contain this bulletin as an issue and will include a link to a discussion issue where you can ask questions.
Disclaimer
The information provided in this advisory is provided "as is" without warranty of any kind. Microsoft disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. In no event shall Microsoft Corporation or its suppliers be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages, even if Microsoft Corporation or its suppliers have been advised of the possibility of such damages. Some states do not allow the exclusion or limitation of liability for consequential or incidental damages so the foregoing limitation may not apply.
What if the update breaks my script or module?
You can uninstall the newer version of PowerShell 7 and install the previous version of PowerShell 7.
This should be treated as a temporary measure.
Therefore, the script or module should be updated to work with the patched version of PowerShell 7.
Acknowledgments
Microsoft recognizes the efforts of those in the security community who help us protect customers through coordinated vulnerability disclosure.
See acknowledgments for more information.
External Links
CVE-2026-40400
Revisions
V2.0 (September 11, 2026): Advisory re-published.
V1.0 (July 20, 2026): Initial advisory, this affected PowerShell 7.4 where version < 7.4.18 (on Windows platform only)
Version 2.0
Last Updated 2026-09-11
- 主要言語
- 言語のデータがありません
- スター
- 20
- フォーク
- 8
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
PowerShell/Announcements のほかの issue
-
PowerShell Security
難易度 5/5 1週間以上 初心者へのやさしさ 5/100
PowerShell/Announcements#101 ·
-
PowerShell Security
難易度 5/5 1週間以上 初心者へのやさしさ 5/100
PowerShell/Announcements#100 ·
-
PowerShell Security
難易度 3/5 半日 初心者へのやさしさ 8/100
PowerShell/Announcements#98 ·
-
PowerShell Security
難易度 2/5 1時間未満 初心者へのやさしさ 8/100
PowerShell/Announcements#97 ·
-
PowerShell Security
難易度 5/5 1週間以上 初心者へのやさしさ 5/100
PowerShell/Announcements#96 ·
PowerShell/Announcements の issue をすべて見る
似ている issue
-
Insecure Brotli version <1.2.1対応中かも @jamescw19 が今日担当しました。 オープン
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
stac-utils/stac-fastapi-pgstac#438 · リアクション 1 件 ·
-
bug triage
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
cloudnative-pg/plugin-barman-cloud#1187 ·
メンテナーはふだん 1 日以内に返信
-
modernization
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
security
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
IBM/bob-oic-tutorials#24 ·
メンテナーはふだん 1 日以内に返信