# CVE-2024-45599: TCC Bypass in Cursor's macOS Application

- Severity: Low 3.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.18%, higher than 7% of CVEs (2026-12-01)
- Published: 2024-09-24T18:02:18.777Z
- Modified: 2026-06-17T07:54:32.693Z
- Weaknesses: CWE-277
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- getcursor cursor: < 0.41.0

## References

- <https://github.com/getcursor/cursor/security/advisories/GHSA-x352-xv29-r74m>

## Sources

- CVE List: [CVE-2024-45599](https://www.cve.org/CVERecord?id=CVE-2024-45599), CVE Terms of Use, modified 2024-09-24
- NVD: [CVE-2024-45599](https://nvd.nist.gov/vuln/detail/CVE-2024-45599), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-45599 · Whole record: https://cve.day/CVE-2024-45599.json · Rebuilt by cve.day 2026-11-25T22:58:45.703Z
