logoalt Hacker News

Windows Notepad App Remote Code Execution Vulnerability

527 pointsby riffrafftoday at 6:15 AM320 commentsview on HN

Comments

Fiveplustoday at 8:35 AM

We have officially reached the logical conclusion of the feature-bloat-to-vulnerability pipeline.

For nearly thirty years, notepad.exe was the gold standard for a "dumb" utility which was a simple, win32-backed buffer for strings that did exactly one thing...display text. An 8.8 CVSS on a utility meant for viewing data is a fundamental failure of the principle of least privilege.

At some point, they need to stop asking "can we add this feature?" and start asking "does this text editor need a network-aware rendering stack?"

show 17 replies
mjmastoday at 10:32 AM

It is to do with link handling:

https://msrc.microsoft.com/update-guide/vulnerability/CVE-20...

> An attacker could trick a user into clicking a malicious link inside a Markdown file opened in Notepad, causing the application to launch unverified protocols that load and execute remote files.

show 3 replies
voidUpdatetoday at 8:49 AM

I found a copy of the win98 (I believe) notepad.exe a while back, and it works perfectly on windows 11 (though the "about notepad" dialog shows the windows 11 version for some reason??). I can write text into it, save it, and load text again. What more does notepad need? And it has a very nostalgic font too

show 14 replies
1970-01-01today at 2:56 PM

Let's ask the obvious. There should be zero vulns in notepad. It should be feature complete since XP. Who approved this vulnerability, and how quickly can they be fired? The App store is a joke. At least call it Notepad 2.0 or some other flashy garbage so we can proactively label the bullshit as such.

r2vcaptoday at 9:02 AM

A few days ago, Notepad++ got compromised—apparently by a state actor (or a proxy). And now, today, Windows’ built-in Notepad has a fresh CVE. What a life.

At this point, what am I supposed to do other than uninstall Windows completely? No real sandboxing, a mountain of legacy…

show 5 replies
rmunntoday at 8:32 AM

"An attacker could trick a user into clicking a malicious link inside a Markdown file opened in Notepad, causing the application to launch unverified protocols that load and execute remote files."

I didn't even know Notepad would render Markdown.

show 3 replies
ruhithtoday at 12:02 PM

The funny thing is browsers figured out years ago you need to warn users before launching random protocol handlers. Microsoft added clickable links to Notepad and just skipped that part entirely. It's not even about the feature creep, it's that they reinvented something browsers solved ages ago and somehow forgot why those safeguards existed in the first place.

ubixartoday at 12:53 PM

Notepad had one job, display text. Microsoft decided it needed an attack surface instead.

The year of the Linux desktop doesn't need to arrive - it just needs Windows to keep shipping.

show 1 reply
reddalotoday at 8:32 AM

I miss when the Notepad was doing what the Notepad is supposed to do: show a text file, plain and simple.

show 2 replies
kubobletoday at 8:57 AM

I used notepad as my default, simple text editor for ages.

After they added copilot I finally gave up and uninstalled it and switched to a one of the minimalistic clones of the good old notepad.exe

bstsbtoday at 8:32 AM

i imagine it’s probably something to do with the massive scope creep recently, especially with AI and the Markdown features - they’ve tried to fit some of WordPad’s rich text features following its removal

show 1 reply
VagabundoPtoday at 2:11 PM

Bare with me, but im not again' the new Notepad. Its fairly well done - the markdown - and even the AI dropdown presets seem useful.

but I do wish they had called it something else and kept notepad as txt only.

dkgatoday at 1:30 PM

One of the (not so many) things about Windows that I loved was the zen simplicity of the Notepad. I saw it through Windows 3.1 all the way to the bloated oblivion it was driven to, and I did not like to see that sad, final chapter. (Broader theme, do I miss the simpler computer times!)

jfaganel99today at 8:34 AM

Notepad had one job... Seems like bringing markdown features killed it :)

show 2 replies
consptoday at 8:30 AM

So what this means is every Windows program is now a cve nightmare (or goldmine, depending on view)?

show 2 replies
netsharctoday at 8:34 AM

> An attacker could trick a user into clicking a malicious link inside a Markdown file opened in Notepad, causing the application to launch unverified protocols that load and execute remote files.

From https://msrc.microsoft.com/update-guide/vulnerability/CVE-20... (there are many collapsible elements on this page, and they're also just for term definitions, sigh)

What a fucking terrible page for someone unfamiliar with the site. the "Learn More" links will allow you to learn what the terms "CWE", "CVSS", "Product Status" mean, but not to learn more about this vulnerability...

Anyway, it's not related to CoPilot, but because Notepad makes links clickable now...

show 1 reply
core1024today at 10:08 AM

It looks like, after Microsoft discontinued WordPad, they want to implement more features into Notepad. If you want simple plain text editor you have to use msedit[1].

[1]https://github.com/microsoft/edit

show 1 reply
idoxertoday at 9:05 AM

We got notepad.exe RCE before GTA 6

Stevvotoday at 12:07 PM

Old notepad is still in Windows 11 at C:\Windows\notepad.exe

show 1 reply
feverzsjtoday at 10:27 AM

They could've just implemented it in webview2 with all the AI features they want.

dgxyztoday at 8:49 AM

Seems whatever they do they step in shit. They should stop doing stuff.

They spent the last few years entirely compromising their products rather than improving them.

show 1 reply
self_awarenesstoday at 2:28 PM

This wouldn't happen if they'd use more LLM models to triple-check what previous models did during development!

repelsteeltjetoday at 9:56 AM

I'm frankly amazed that the majority of new laptops still come with Microsoft Windows.

To be fair, over the years there have been sincere efforts to re-architect the OS with a security, privacy, reliability for peristent storage, graphics, multi-tasking, multi-user, networking etc. But those efforts never caught up with the speed at which bloat was added.

At the heart, its design still has remnants that have the naivety of a stand-alone, stateless microcomputer that boots straight off a floppy after BIOS POST.

richardfeytoday at 10:53 AM

I feel like the process of carving out any meaning out of "QA" is complete. It's cathartic, in its twisted way...

lpcvoidtoday at 9:37 AM

8.8 RCE CVE in notepad.exe. Well done microslop

anthktoday at 2:01 PM

If you can use Reactos' Notepad.exe from the daily ISO build (extract reactos.cab with 7zip) the better.

31337Logictoday at 12:12 PM

Actually, the big red flag for me was the removal of "My Computer". Folks, you might still think it's "your computer" but Microsoft clearly doesn't. You've got something they want and they will stop at nothing to take it from you.

This should be treated as an all-out war.

laroditoday at 9:23 AM

use SublimeText, it is perhaps faster now than the stock Notepad

show 3 replies
chrisjjtoday at 10:25 AM

> Product

> Windows Notepad

Disambiguation urgently needed.

hdgvhicvtoday at 9:11 AM

So notepad now renders links, then when clicks execute the code on those links (not just loading a website in a browser for example)?

show 2 replies
reactordevtoday at 1:36 PM

As if you needed another reason to switch to Linux

yellow_leadtoday at 9:22 AM

I'd now like to see a RCE in MS Paint or Calculator, if the exploit finder is reading this.

show 1 reply
phendrenad2today at 1:55 PM

Microsoft is stuck in exactly the same situation Linux is: It has to be all things to all people. It has to be simple enough that grandma can use it, but powerful enough to not alienate their business customers. Putting link-handling (rich text) in Notepad (the plain-text editor) was idiotic, however.

__baxtoday at 8:31 AM

Just now Notepad integrates very useful copilot assistant... What can go wrong

show 1 reply
eur0patoday at 9:17 AM

Good job!

naikrovektoday at 12:04 PM

In the past I would have defended Microsoft for this, somehow.

The Microsoft of 2026 is insane and I have 40,000 ideas to improve things without being anticompetitive but I no longer want to work at that company for any amount of money.

Microsoft have been stagnating and letting business people steer product direction for about 30 years too long. MBAs don't know shit. Stop letting them lead product direction. Stop letting people who are not power-users of a product make decisions about that product. PERIOD. No more PMs who aren't advanced users who lived in the tool 8 hours a day for months in a previous role.

Promote people who think differently, ESPECIALLY IF THEY DO NOT FIT IN THE CULTURE AT MICROSOFT TODAY. Think about ways to innovate. Advance the computing landscape, god dammit. Why are terminals still textual? How the fuck have we not moved past this ancient paradigm? Look at Plan9 and adopt features that Plan9 pioneered, and pay zero attention to what customers will accept while doing it - you can change the shape of these features to make them palatable at a later stage of design (there's no reason these features need to be painful for anyone, but they can be--and should be--very secure and inherent, rather than opt-in.)

Just pull your flippin' head out of your ass, Microsoft. Holy shit.

jmyeettoday at 11:26 AM

I found a simpler explanation for what's going on [1].

To summarize, malicious Markdown files with custom schemes in URLs can trick users into executing arbitrary code. I honestly didn't know this was a "feature" of Notepad.

I guess that's my real problem here. The constant desire for feature bloat inevitably introduces potential vulnerabilities. In no world did I expect Notepad to have the ability under any circumstances to make network requests and execute arbitrary code.

Nor should I.

As an aside, this is why I violently despise Eletron apps and anything that runs its own browser engine for a GUI. I just don't want that level of attack surface in any app that I use.

[1]: https://cybersecuritynews.com/windows-notepad-rce-vulnerabil...

tyiztoday at 1:07 PM

[dead]

DobarDabartoday at 9:05 AM

[dead]

Fuggintoday at 12:37 PM

[flagged]

j1000today at 9:42 AM

use linux

evikstoday at 8:33 AM

What AI great job!

dark-startoday at 8:31 AM

Yeah, clicking unverified links in a markdown document to launch an executable....

Clicking unknown links is always a bad idea, but a CVE for that? I dunno....

show 6 replies
avaertoday at 9:22 AM

You can literally one-shot Opus 4.6 to make a better, faster, safer, more secure notepad.exe than the one that comes with Windows.

This isn't an AI slop problem.

show 2 replies
delducatoday at 2:51 PM

Conglatulations Microslop.