CVE-2024-40842: Apple macOS · Information Exposure
Affects Apple macOSSource CVE Database V5
Not known to be exploited · CVSS 5.5 Medium.
Data as of 26 Oct 2026, 10:12 UTC
- EPSS
- 0.2% chance of exploitation in 30 days – higher than 13% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:NExploitation evidence
Disclosed: evidence found.
CVE published 16 Sep 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| Apple macOS | Affected
| Fixed in– |
AI-suggested
To mitigate CVE-2024-40842, organizations and users should promptly update to macOS Sequoia 15 or later, where the vulnerability has been fixed by improved validation of environment variables. Beyond patching, organizations should enforce strict application control policies to limit installation and execution of untrusted or unnecessary local applications, reducing the risk of local exploitation. Employ endpoint security solutions that monitor and restrict suspicious local process behavior and environment variable manipulations. Implement least privilege principles to minimize the number of users and applications with local access rights. Regularly audit and monitor local user accounts and installed applications for signs of compromise or unauthorized changes. Educate users about the risks of installing untrusted software and the importance of maintaining updated systems. For environments with shared or multi-user systems, consider additional isolation mechanisms such as sandboxing or containerization to limit data exposure between users. Finally, maintain robust logging and alerting to detect potential exploitation attempts involving environment variable abuse or unauthorized data access.
Description
An issue was addressed with improved validation of environment variables. This issue is fixed in macOS Sequoia 15. An app may be able to access user-sensitive data.