News for hackers. Stuff that matters.
Re:Cursor 0day: When Full Disclosure Becomes the Only Protec... by jjcm on Tuesday July 14, 2026 @05:31PM (#48913179)
I'm not sure I fully agree with this being a major vuln. There's a lot of up front scary text which was raising a lot of red flags until it actually discussed the "what".

An actor has to place a malicious .exe in the user's code folder, named git.exe, for this to take place.

I see this akin to something like saying "replacing their .bashrc with an alias that says `ls` instead executes `/tmp/mega-big-virus.sh` is a vuln".

Yes it's a vector, but if they've placed something in your filesystem like that already, you've already been compromised.

Re:Cursor 0day: When Full Disclosure Becomes the Only Protec... by shitter on Tuesday July 14, 2026 @05:35PM (#48913217)
The user's code folder? You mean the code I frequently pull from untrusted sources, unlike my .bashrc? Opening a GitHub project for review should not mean arbitrary code execution.

Of course, that ship has long sailed, for all major IDEs. Heck, VSCode SSH and devcontainer remotes allow RCE by design.

Re:Cursor 0day: When Full Disclosure Becomes the Only Protec... by paxys on Tuesday July 14, 2026 @07:49PM (#48914448)
The entire point of Cursor is to run autonomous coding agents. You are giving it a random untrusted repo, saying "hey it might have a virus, go crazy" and then getting mad that it caused harm?

Check (and double check and triple check) your sources. If a malicious executable made it to your computer it is already too late.

Re:Cursor 0day: When Full Disclosure Becomes the Only Protec... by shitter on Tuesday July 14, 2026 @08:22PM (#48914693)
? Doesn’t the code exec happen upon merely launching Cursor against a repository, without giving an agent any tasks? That’s clearly an issue at the Cursor application level, not some inevitable risk caused by the non-deterministic nature of LLMs. You can’t use the latter fact to excuse the former mistake

Not to mention that Cursor has an agent permissions model that this presumably sidesteps!

Re:Cursor 0day: When Full Disclosure Becomes the Only Protec... by cute_boi on Tuesday July 14, 2026 @11:18PM (#48915843)
I agree cursor can fix the issue, but the main issue is downloading anything from untrusted source. The repo may have AGENTS.md which can tell please install npm package from random repo and run pnpm start etc...

We should never ever download any pdf or excel macros etc.. from untrusted source.

Re:Cursor 0day: When Full Disclosure Becomes the Only Protec... by iainmerrick on Wednesday July 15, 2026 @08:23AM (#48919732)
If you can’t download anything safely, the web can’t exist.
Re:Cursor 0day: When Full Disclosure Becomes the Only Protec... by hnfong on Wednesday July 15, 2026 @09:38AM (#48920671)
If we take your logic to the extreme, then there are never any legitimate code execution vulnerabilities in web browsers since the user is not supposed to visit untrusted websites.
Re:Cursor 0day: When Full Disclosure Becomes the Only Protec... by cute_boi on Friday July 17, 2026 @02:26PM (#48950586)
Correct, we shouldn't visit untrusted website unless it is from trusted source like banks etc.. There is reason why scamming is billion dollar industry.
Re:Cursor 0day: When Full Disclosure Becomes the Only Protec... by thewhitetulip on Tuesday July 14, 2026 @10:03PM (#48915392)
Cursor is used for vibe coding. There are people who used Cursor to build a webapp where passwords are printed on the front page

So yeah, this is a major issue

Re:Cursor 0day: When Full Disclosure Becomes the Only Protec... by brookst on Wednesday July 15, 2026 @12:32AM (#48916329)
Different layers, different risks.

You do not expect an agent-level app to run untrusted binaries. You expect prompt injection, etc.

And I don't at all agree that a malicious executable landing in some directory is already game over. Plenty of zip files have malicious executables, it doesn't mean you say "oh, my zip extractor should just run every executable because if one's bad I'm already toast".

Re:Cursor 0day: When Full Disclosure Becomes the Only Protec... by xeyownt on Wednesday July 15, 2026 @05:06AM (#48918135)
Ok, so you download the repo, launch Cursor, it compiles code and run it (if not, why do you even use Cursor at the first place?). Same effect.
Re:Cursor 0day: When Full Disclosure Becomes the Only Protec... by taneq on Tuesday July 14, 2026 @06:38PM (#48913832)
I’ve never got my head around how it’s apparently the done thing these days to just copy a bash command from a website and run it (sometimes with sudo! O.o ) to install software. I somewhat naively hope that this is because everyone is pushing single purpose VMs for that kind of install, but really I know better.
Re:Cursor 0day: When Full Disclosure Becomes the Only Protec... by petalmind on Tuesday July 14, 2026 @07:23PM (#48914238)
> to just copy a bash command from a website and run it (sometimes with sudo! O.o ) to install software.

how is that different from the good old days of

    wget ftp://ftp.something.org/software-2.10.tar.gz
    tar zxfv 
    ./configure
    make
    sudo make install

?
Re:Cursor 0day: When Full Disclosure Becomes the Only Protec... by Terr_ on Tuesday July 14, 2026 @07:44PM (#48914416)
Training people (esp. what passes for non-techies on Linux) to regularly copy-paste into the terminal is massively riskier than "click this URL". Just for starters, consider how easily you can make a web-page where you highlight X to copy it, but instead Y is delivered to your clipboard. Then on execute it could even redraw the terminal to pretend you pasted X all along.

Also, there's a convention or social-contract that everyone who downloads 2.10 ought to get precisely the same thing. This provides a foundation for other facets of security, like "it must have an expected hash" or "it must validate as signed by this public key". Also investigative actions like discovering when something suspicious got added, or detecting that the installer is trying to access the internet when it really shouldn't be.

Re:Cursor 0day: When Full Disclosure Becomes the Only Protec... by mh- on Tuesday July 14, 2026 @09:34PM (#48915174)
> Then on execute it could even redraw the terminal to pretend you pasted X all along.

Diabolical idea. Anyone know if there's been anything in the wild that did this?

Re:Cursor 0day: When Full Disclosure Becomes the Only Protec... by loa_in_ on Wednesday July 15, 2026 @09:04AM (#48920248)
Agreed, don't train fellow human beings (users) to follow, educate them.

"Make things as simple as possible, but no simpler." - commonly known quote.

We're making things so simple, the users don't get to have a proper chance at learning what's happening. Training people away from giving programs access, makes it opaque and dangerous. Unfortunately at the same time for non technology inclined users even Windows approach of file->Properties->Security visual UI proves challenging.

Re:Cursor 0day: When Full Disclosure Becomes the Only Protec... by taneq on Tuesday July 14, 2026 @08:33PM (#48914779)
They’re both executing unknown code, but hopefully the ftp site here is at least a trusted one, and if you feel paranoid you can verify the archive’s hash to help verify it hasn’t been monkeyed with.

Also the archive probably won’t go and fetch a bunch of other scripts and run them (probably…) while doing so is usually the script’s primary purpose. So you’re not just trusting the people who published the script, at the time they published it. You’re trusting them and everyone they trust to still be good actors now.

That’s different to it being the standard way to install self-published bundles of scripts from all over the internet.

Re:Cursor 0day: When Full Disclosure Becomes the Only Protec... by uecker on Wednesday July 15, 2026 @01:26AM (#48916600)
Not much, and people also should not to do this. One should at least have a check of hash of the download vs some document signed with a key.

In any case, the curl|bash from a website is way worse as it leaves no trace. Here, you have an artifact, and multiple steps, so the probability that an issue can be detected is higher and when someone gets compromises one has a change to figure out what happened and warn others. (so good practice to copy the file somewhere else). People look at this only from purely "can I get compromised" perspective, but overlook this community aspect.

Re:Cursor 0day: When Full Disclosure Becomes the Only Protec... by paxys on Tuesday July 14, 2026 @07:43PM (#48914406)
How is it different from downloading and running the application itself from that website?
Re:Cursor 0day: When Full Disclosure Becomes the Only Protec... by xeyownt on Wednesday July 15, 2026 @05:10AM (#48918157)
The illusion of security.
Re:Cursor 0day: When Full Disclosure Becomes the Only Protec... by preg_match on Wednesday July 15, 2026 @01:49PM (#48924579)
These days I run absolutely everything dev related inside of podman containers, no node or anything on my host. But even that's not enough, because the IDE support for that is lacking and those tools expect host binaries to be available. I can largely get around it with ro mounts and such but it's very annoying.

Containers are really good now, there's zero reason why every extension and LSP isn't containerized.

Also agents inside a container. It's very nice because I have zero trust for harness permission systems. But again, why aren't the tools designed from the ground up to be containerized?

Re:Cursor 0day: When Full Disclosure Becomes the Only Protec... by arcticfox on Tuesday July 14, 2026 @05:37PM (#48913237)
I am not at all a security expert, but isn't this akin to giving a repo-owner RCE if you just clone their repository and open it? I feel like that's not an implied contract for opening a folder in your IDE.
Re:Cursor 0day: When Full Disclosure Becomes the Only Protec... by zeroq on Tuesday July 14, 2026 @05:42PM (#48913288)
This is very similar to 30yo exploit in which you placed an alternative, infected dll inside a folder with mp3s (winamp), or photos (windows picture viewer).
Re:Cursor 0day: When Full Disclosure Becomes the Only Protec... by datakan on Tuesday July 14, 2026 @06:18PM (#48913641)
It’s Windows autorun all over again. What was old is new again.
Re:Cursor 0day: When Full Disclosure Becomes the Only Protec... by inigyou on Tuesday July 14, 2026 @07:19PM (#48914210)
Cloning a repo owns your computer. Is that something you expected?
Re:Cursor 0day: When Full Disclosure Becomes the Only Protec... by xeyownt on Wednesday July 15, 2026 @05:14AM (#48918191)
That's not what's happening.

Using AI tool over that repo does, but you have to launch it before the AV kicks in.

Re:Cursor 0day: When Full Disclosure Becomes the Only Protec... by iainmerrick on Wednesday July 15, 2026 @08:28AM (#48919797)
Only if you think opening Cursor.app counts as “using an AI tool”. Most reasonable people wouldn’t expect an AI-enabled text editor to hack their machine right away -- it should have the common decency to wait until you type something into the AI agent panel, then hack you!
Re:Cursor 0day: When Full Disclosure Becomes the Only Protec... by _AzMoo on Tuesday July 14, 2026 @06:17PM (#48913634)
This attack is exactly why IDE's have a concept of trusted and untrusted locations.
Re:Cursor 0day: When Full Disclosure Becomes the Only Protec... by paxys on Tuesday July 14, 2026 @07:32PM (#48914320)
That is a very recent addition. The exact behavior they are describing was in VS Code for almost a decade.
Re:Cursor 0day: When Full Disclosure Becomes the Only Protec... by _AzMoo on Tuesday July 14, 2026 @08:28PM (#48914729)
Trusted locations were added to VSCode in 2021.

https://code.visualstudio.com/updates/v1_57

Re:Cursor 0day: When Full Disclosure Becomes the Only Protec... by paxys on Tuesday July 14, 2026 @08:29PM (#48914747)
And VS Code was released in 2015.
Re:Cursor 0day: When Full Disclosure Becomes the Only Protec... by ikiris on Wednesday July 15, 2026 @02:01AM (#48916800)
And this is 2026
Re:Cursor 0day: When Full Disclosure Becomes the Only Protec... by cute_boi on Tuesday July 14, 2026 @11:19PM (#48915853)
I think many people gets tired so much they will simply trust all the locations.
Re:Cursor 0day: When Full Disclosure Becomes the Only Protec... by beart on Tuesday July 14, 2026 @05:38PM (#48913245)
This doesn't require anyone placing anything deliberately on your machine (as in, needing to exploit it somehow ahead of time). It could be as simple as checking out a branch to review, where the author of the branch has added the .exe.
Re:Cursor 0day: When Full Disclosure Becomes the Only Protec... by Xirdus on Tuesday July 14, 2026 @06:29PM (#48913753)
I'd say checking out a malicious branch is in the same category as downloading a malicious attachment. By which I mean, it's kinda on you.
Re:Cursor 0day: When Full Disclosure Becomes the Only Protec... by krater23 on Tuesday July 14, 2026 @06:48PM (#48913917)
Downloading this attachement doesn't executes it. Checking out a branch in this case executes the file in the branch. Thats a big difference.
Re:Cursor 0day: When Full Disclosure Becomes the Only Protec... by dev_daftly on Tuesday July 14, 2026 @10:40PM (#48915612)
In this case, if you just run a git command yourself it executes the file as well.
Re:Cursor 0day: When Full Disclosure Becomes the Only Protec... by brookst on Wednesday July 15, 2026 @12:35AM (#48916339)
On windows I guess?

On Linux and MacOS you'd need to run ./git to execute a malicious binary in the cloned repo.

Re:Cursor 0day: When Full Disclosure Becomes the Only Protec... by beart on Tuesday July 14, 2026 @08:30PM (#48914752)
Okay... but when "you" is a junior engineer on your team and now you are suddenly spending your entire weekend dealing with malware, it's kinda on you as well.
Re:Cursor 0day: When Full Disclosure Becomes the Only Protec... by libeclipse on Tuesday July 14, 2026 @07:08PM (#48914107)
Bro thinks cloning a repo means you're already compromised
Re:Cursor 0day: When Full Disclosure Becomes the Only Protec... by spullara on Tuesday July 14, 2026 @08:28PM (#48914730)
I agree, this isn't a vulnerability at all. Now that it's public, I'm not even sure I would do anything about it if I were them.
Re:Cursor 0day: When Full Disclosure Becomes the Only Protec... by jeremyjh on Tuesday July 14, 2026 @08:48PM (#48914866)
You think opening a git repo I just cloned should execute code in that repo?
Re:Cursor 0day: When Full Disclosure Becomes the Only Protec... by x3n0ph3n3 on Tuesday July 14, 2026 @10:52PM (#48915681)
Maybe powershell shouldn't include the current directory in the PATH.
Re:Cursor 0day: When Full Disclosure Becomes the Only Protec... by mort96 on Tuesday July 14, 2026 @10:22PM (#48915512)
The very first paragraph of text presented to the reader on the page start with:

    After loading a project, Cursor attempts to find git binaries
    at various locations including the current workspace.
    By creating a repository with a planted malicious git.exe
    in the root, the IDE will execute it with no user interaction
    and no prompting of the user.
This is a remarkably straightforward 2 sentence explanation of the issue (the "what"). They're not exactly hiding it.
Re:Cursor 0day: When Full Disclosure Becomes the Only Protec... by Shorel on Wednesday July 15, 2026 @02:05AM (#48916827)
It is a very obvious thing in UNIX world. This should not happen, no matter if it's Cursor or VIM or whatever program you are using. So, yes, it is a serious issue, and it's more of a Windows fuckup than Cursor itself. It's basic OS behaviour that's been fixed in UNIX for decades. You want to run a program in the current folder, you write ./program, everyone know this.
Re:Cursor 0day: When Full Disclosure Becomes the Only Protec... by melodyogonna on Wednesday July 15, 2026 @04:37AM (#48917924)
People are offloading a lot of responsibilities to tools. If you pull a repository from Github without doing due diligence then you can't blame Cursor for getting compromised
Re:Cursor 0day: When Full Disclosure Becomes the Only Protec... by iainmerrick on Wednesday July 15, 2026 @08:30AM (#48919825)
What’s due diligence? Reading all the code on GitHub?

That’s not a great interface, you probably want to clone it and open in your IDE so you can inspect the code properly...

Re:Cursor 0day: When Full Disclosure Becomes the Only Protec... by hnfong on Wednesday July 15, 2026 @09:43AM (#48920733)
So I clone a repo from Github and try to do due diligence before compiling and executing the code. I open the project with my IDE/text editor, and boom, I get pwned while doing the due diligence.

Unless it's Cursor's stance that people should use Emacs or whatever to check the repo before opening it, this is "you're holding it wrong" level stupid gaslighting.

Re:Cursor 0day: When Full Disclosure Becomes the Only Protec... by AndrewThrowaway on Wednesday July 15, 2026 @07:32AM (#48919245)
I clone some repo from github, open it with default code editor which happens to be Cursor. I am cooked. That is it.

It is the same as autorun.exe on some CD - I put some CD in my CD-ROM and my Windows are compromised.

You can argue that I should not clone unknown repos, I should inspect each and any file in the repo, look for git.exe or any other suspicious binary and etc. I should not put untrusted CDs or USB sticks into my computer.

However the reality of it is that it will not be the user who inspects USB stick in some contained environment, it will be security policy which disables autorun. Same as Cursor should disable this.