Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2024-40836 Overview
CVE-2024-40836 is an information disclosure vulnerability in Apple's Shortcuts application affecting iOS, iPadOS, macOS Sonoma, and watchOS. A logic issue in Shortcuts action handling allowed a shortcut to access sensitive data with certain actions without prompting the user for consent. Apple addressed the issue with improved checks and released fixes in iOS 16.7.9, iPadOS 16.7.9, iOS 17.6, iPadOS 17.6, macOS Sonoma 14.6, and watchOS 10.6. The flaw is categorized under [CWE-200] (Exposure of Sensitive Information to an Unauthorized Actor).
Critical Impact
A locally installed or shared shortcut could bypass the user consent prompt and access sensitive data on the device, resulting in unintended disclosure of user information.
Affected Products
- Apple iOS and iPadOS (prior to 16.7.9 and 17.6)
- Apple macOS Sonoma (prior to 14.6)
- Apple watchOS (prior to 10.6)
Discovery Timeline
- 2024-07-29 - CVE-2024-40836 published to NVD
- 2026-06-17 - Last updated in NVD database
Technical Details for CVE-2024-40836
Vulnerability Analysis
The vulnerability resides in the Shortcuts framework, Apple's user-facing automation system. Shortcuts execute chained actions that can read files, query system data, access clipboard content, and interact with installed applications. Apple enforces a consent model that prompts the user when a shortcut attempts to access sensitive resources such as location, contacts, health data, or photos.
CVE-2024-40836 breaks this consent model. Certain actions failed to trigger the required user prompt, allowing a shortcut to read sensitive data silently. An attacker who convinces a user to install or run a crafted shortcut can harvest data that the user never authorized the shortcut to access.
Root Cause
The root cause is a logic error in the code path that determines whether a Shortcuts action requires user authorization. Apple's advisory states the issue was addressed with improved checks, indicating that the pre-patch code failed to enforce the consent gate for a specific class of actions. This aligns with [CWE-200] — sensitive information is exposed because the authorization decision is incorrect rather than absent.
Attack Vector
Exploitation requires local access with low privileges and no user interaction beyond running the malicious shortcut. Typical attack scenarios include distributing a shortcut through iCloud sharing links, embedding one in a phishing message, or bundling a malicious shortcut inside a legitimate-looking automation. Once executed, the shortcut can query protected data sources through the vulnerable actions and exfiltrate results using network-capable actions such as URL requests. Confidentiality impact is high; integrity and availability are not affected. No public proof-of-concept or in-the-wild exploitation has been reported.
See the Apple Support Document HT214116 and related advisories for vendor technical details.
Detection Methods for CVE-2024-40836
Indicators of Compromise
- Unexpected shortcuts appearing in the Shortcuts app that the user did not create or install
- Outbound network requests from the Shortcuts process to unfamiliar domains, particularly following shortcut execution
- Shortcuts referencing sensitive data actions (contacts, location, health, photos, clipboard) shared from external sources
Detection Strategies
- Audit installed shortcuts across managed Apple devices using Mobile Device Management (MDM) inventory queries and flag shortcuts originating from outside the organization
- Inspect the Shortcuts app's iCloud sync and shared shortcut sources for entries received through messaging, email, or web links
- Correlate endpoint telemetry with process activity from com.apple.shortcuts and com.apple.WorkflowKit to identify shortcuts executing sensitive data actions
Monitoring Recommendations
- Track macOS and iOS build versions across the fleet and alert on devices still running vulnerable releases below 14.6, 17.6, or 16.7.9
- Monitor network egress from Apple endpoints for anomalous data transfers immediately following user interaction with the Shortcuts app
- Enable and review unified logging on macOS for subsystem == "com.apple.shortcuts" events tied to sensitive resource access
How to Mitigate CVE-2024-40836
Immediate Actions Required
- Update all Apple devices to iOS 17.6, iPadOS 17.6, iOS 16.7.9, iPadOS 16.7.9, macOS Sonoma 14.6, or watchOS 10.6 or later
- Enforce the minimum OS version through MDM compliance policies and block non-compliant devices from corporate resources
- Instruct users not to install shortcuts received from untrusted sources such as unsolicited links, forums, or messaging apps
Patch Information
Apple released fixes in the following updates: iOS 16.7.9 and iPadOS 16.7.9, iOS 17.6 and iPadOS 17.6, macOS Sonoma 14.6, and watchOS 10.6. Refer to the vendor advisories: Apple Support Document HT214116, Apple Support Document HT214117, Apple Support Document HT214119, and Apple Support Document HT214124.
Workarounds
- Disable the Shortcuts app or restrict its use through MDM configuration profiles until patching is complete
- Prevent installation of shortcuts from third parties by disabling the "Allow Untrusted Shortcuts" setting under Settings → Shortcuts
- Review and remove any previously installed shortcuts of unknown provenance, especially those requesting broad data access
# Example MDM configuration restriction (Apple Configuration Profile)
# Disallow adding shortcuts from shared sources on managed devices
<key>allowSharedDeviceTemporarySession</key>
<false/>
<key>allowUntrustedShortcuts</key>
<false/>
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

