CVE-2024-45599
Beskrivelse
Cursor is an artificial intelligence code editor. Prior to version 0.41.0, if a user on macOS has granted Cursor access to the camera or microphone, any program that is run on the machine is able to access the camera or the microphone without explicitly being granted access, through a DyLib Injection using DYLD_INSERT_LIBRARIES environment variable. The usage of `com.apple.security.cs.allow-dyld-environment-variables` and `com.apple.security.cs.disable-library-validation` allows an external dynamic library to be injected into the application using DYLD_INSERT_LIBRARIES environment variable. Moreover, the entitlement `com.apple.security.device.camera` allows the application to use the host camera and `com.apple.security.device.audio-input` allows the application to use the microphone. This means that untrusted code that is executed on the user's machine can access the camera or the microphone, if the user has already given permission for Cursor to do so. In version 0.41.0, the entitlements have been split by process: the main process gets the camera and microphone entitlements, but not the DyLib entitlements, whereas the extension host process gets the DyLib entitlements but not the camera or microphone entitlements. As a workaround, do not explicitly give Cursor the permission to access the camera or microphone if untrusted users can run arbitrary commands on the affected machine.
Beskrivelsen gjengis slik kilden har publisert den, på engelsk.
Nøkkelfakta
- Publisert
- 2024-09-25
- Sist endret
- 2026-06-17
- Tildelt av
- security-advisories@github.com
- CVSS-vektor
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N- Scoret av
- security-advisories@github.com
- Sannsynlighet for utnyttelse
-
0.2 %
høyere enn 7 %
av alle kjente sårbarheter
EPSS, neste 30 dager, modell v2026.06.15 - Rettelse finnes
- Ikke registrert hos kildene
Berørte produkter
| Leverandør | Produkt | Versjoner | Status |
|---|---|---|---|
| getcursor | cursor | < 0.41.0 | Berørt |
Svakhetstype
-
CWE-277: Insecure Inherited Permissions
A product defines a set of insecure permissions that are inherited by objects that are created by the program.
Referanser
Relatert hos Berigo
Artikler
-
Cursor kan kjøre ondsinnet fil fra et kodelager
Samme produkt
2026-07-14
Mindgard har vist at Cursor på Windows kan kjøre en ondsinnet git.exe som ligger i rota av et kodelager, uten å spørre brukeren.
-
AI brukt til å utvikle og teste skadevare mot EDR
Samme produkt
2026-06-02
Sophos beskriver hvordan en trusselaktør brukte AI-verktøy til å bygge og teste skadevare og teknikker for å unngå deteksjon, med mennesker fortsatt …
-
CursorJack: dyplenker utnyttet til uønskede handlinger i Cursor
Samme produkt
2026-03-17
Proofpoint beskriver CursorJack, en teknikk som misbruker dyplenker og egne URI-håndterere i utviklingsverktøyet Cursor til å utløse handlinger bruke…
-
AI-kodeverktøy anbefaler utvidelser som kan forfalskes
Samme produkt
2026-01-05
Koi fant at Windsurf, Cursor og Google Antigravity anbefaler VSCode-utvidelser som ikke finnes i OpenVSX, slik at navnene kan kapres av andre.
Berører dette dere?
En sårbarhet betyr bare noe hvis dere kjører produktet, i en berørt versjon, et sted en angriper kommer til.