Microsoft Windows Notepad
Windows Notepad App Remote Code Execution Vulnerability
Improper neutralization of special elements used in a command ('command injection') in Windows Notepad App allows an unauthorized attacker to execute code locally.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 11.0.0, < 11.2512.26.0
Fixed in 11.2512.26.0
Mitigation
Upgrade Windows Notepad to 11.2512.26.0 or later.
References
- Vendor advisory msrc.microsoft.com/update-guide/vulnerability/CVE-2026…
Timeline
Days relative to CVE publicationFirst public PoC 21 h after publication; not in CISA KEV. First PoC: tangent65536/CVE-2026-20841 (created 11 Feb 2026, found by us: backfilled).
PoC repositories
Found on GitHub.2 PoCs · 7 informational · 7 suspicious or fake
PoCs 2
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| tangent65536/CVE-2026-20841 | 11 Feb 2026 +21 h | 2 | PoC |
| uky007/CVE-2026-20841_notepad_analysis | 12 Feb 2026 +1.5 d | 3 | PoC |
Informational 7
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| BTtea/CVE-2026-20841-PoC | 11 Feb 2026 +9 h | 142 | Informational · write-up |
| RajaUzairAbdullah/CVE-2026-20841 | 11 Feb 2026 +18 h | 0 | Informational · write-up
Flags · score 25
Below the suspicion threshold (50); does not change the assessment. |
| patchpoint/CVE-2026-20841 | 12 Feb 2026 +1.4 d | 12 | Informational · write-up |
| dogukankurnaz/CVE-2026-20841-PoC | 12 Feb 2026 +1.8 d | 2 | Informational · write-up |
| SecureWithUmer/CVE-2026-20841 | 12 Feb 2026 +1.9 d | 2 | Informational · write-up |
| EleniChristopoulou/PoC-CVE-2026-20841 | 17 Feb 2026 +6.6 d | 0 | Informational · write-up |
| whiskeylab/notepad_CVE_2026_20841 | 7 Apr 2026 +56 d | 0 | Informational · write-up |
Suspicious or fake 7
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| hamzamalik3461/CVE-2026-20841 | 22 Sep 2024 −1.4 y | 2 | Fake
Flags · score 30
Below the suspicion threshold (50); does not change the assessment. |
| atiilla/CVE-2026-20841 | 12 Feb 2026 +1.7 d | 5 | Fake |
| hackfaiz/CVE-2026-20841-PoC | 12 Feb 2026 +2 d | 1 | Fake |
| heaker12/CVE-POC | 28 Feb 2026 +17 d | 0 | Fake |
| 0xBlackash/CVE-2026-20841 | 1 Jun 2026 +111 d | 1 | Fake |
| 0xredash/CVE-2026-20841 | 1 Jun 2026 +111 d | 1 | Fake |
| ashrafzaryouh/CVE-2026-20841 | 1 Jun 2026 +111 d | 1 | Fake |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.
PoC characteristics
What to hunt for in your logs · from 2 PoC reposPOST /api/GetFiles
- Body markers
type=urlurl=https://apps.microsoft.com/detail/9msmlrh6lzf3ring=Retailinapplication/x-www-form-urlencoded- Seen in
- 1 repo: uky007/CVE-2026-20841_notepad_analysis
- Evidence
- uky007/CVE-2026-20841_notepad_analysis/binary_collection_guide.md:142
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
(?i)^/api/GetFiles(?:[?#].*)?$
Suricata
Template generated from PoC characteristics. Review before deploying.
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2026-20841 Microsoft Windows Notepad exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/api/GetFiles"; http.request_body; content:"type=url"; http.request_body; content:"url=https://apps.microsoft.com/detail/9msmlrh6lzf3"; http.request_body; content:"ring=Retail"; reference:url,poc.griffinguard.io/cve/CVE-2026-20841; classtype:web-application-attack; sid:9581161; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
title: Microsoft Windows Notepad exploit attempt (CVE-2026-20841)
id: gg-pocmon-cve-2026-20841-9581161
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-20841. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-20841
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/api/GetFiles'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2026.20841