IpadosOperating system · Apple

CVE-2024-40787

HIGH · 7.1 CVSS v3.1 Published 2024-07-29
Fix available
A fix is available. Upgrade to 10.6 / 12.7.6 or later.
See remediation →
73/100
Remediation priority · Elevated
Zero-click

Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.

NVD · unedited
This issue was addressed by adding an additional prompt for user consent. This issue is fixed in iOS 17.6 and iPadOS 17.6, macOS Monterey 12.7.6, macOS Sonoma 14.6, macOS Ventura 13.6.8, watchOS 10.6. A shortcut may be able to bypass Internet permission requirements.

Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.

dbcve analysis · high confidence

The Apple Shortcuts application had a permission bypass vulnerability where shortcuts could access the Internet without proper user consent checks. This allowed potentially malicious shortcuts to bypass Internet permission requirements. The fix adds an additional user consent prompt before allowing Internet access from shortcuts.

MitigationApply the available OS updates: iOS 17.6, iPadOS 17.6, macOS Monterey 12.7.6, macOS Sonoma 14.6, macOS Ventura 13.6.8, and watchOS 10.6. Ensure Shortcuts are not allowed to bypass permission prompts.

Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.

Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.

NVD · CPE data
IpadosOperating system
Affected:< 17.6
Iphone OsOperating system
Affected:< 17.6
macOSOperating system
Affected:< 12.7.6>= 13.0, < 13.6.8>= 14.0, < 14.6
WatchosOperating system
Affected:< 10.6

CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.

From the vector
Attack vector
Local
Complexity
Low
Privileges
Low
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N

Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.

dbcve checks

Work through these to decide whether this CVE applies to you.

  1. Check iOS/iPadOS version
    Go to Settings > General > About and note the version number shown (e.g., 17.5, 16.7)
    Affected if The version is below 17.6 (for iOS or iPadOS)
  2. Check macOS version
    Click Apple menu > About This Mac and note the version number (e.g., 14.5, 13.5, 12.6)
    Affected if The version is below 12.7.6, or between 13.0-13.6.7, or between 14.0-14.5
  3. Check watchOS version
    On iPhone, open Watch app > My Watch > General > About and note the watchOS version
    Affected if The version is below 10.6
  4. Verify Shortcuts app is present
    Search for the Shortcuts app in the device app library or Applications folder
    Affected if The Shortcuts app exists and internet-connected shortcuts could be run

A device is affected if it runs iOS, iPadOS, macOS, or watchOS versions below the fixed releases AND has the Shortcuts application installed.

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.

dbcve · scoped
Upgrade available Upgrade to 10.6 / 12.7.6 / 13.6.8 or later
Fixed in 10.612.7.613.6.8
Interim mitigation

Apply the available OS updates: iOS 17.6, iPadOS 17.6, macOS Monterey 12.7.6, macOS Sonoma 14.6, macOS Ventura 13.6.8, and watchOS 10.6. Ensure Shortcuts are not allowed to bypass permission prompts.

Recommended fix High confidence

iOS 17.6, iPadOS 17.6, macOS Monterey 12.7.6, macOS Ventura 13.6.8, macOS Sonoma 14.6, watchOS 10.6

  1. 1. Identify the current OS version on the affected device (iPhone, iPad, Mac, or Apple Watch)
  2. 2. Back up the device using iCloud or Finder/iTunes before performing the upgrade
  3. 3. For iPhone/iPad: Go to Settings > General > Software Update and install iOS 17.6/iPadOS 17.6 or later
  4. 4. For Mac: Open System Settings > General > Software Update and install the appropriate macOS version (Monterey 12.7.6, Ventura 13.6.8, or Sonoma 14.6)
  5. 5. For Apple Watch: Open the Watch app on iPhone, go to General > Software Update, and install watchOS 10.6 or later
  6. 6. After updating, test existing Shortcuts to ensure they still function as expected with the new consent prompt
Caveat Shortcuts that relied on bypassing Internet permission may require user re-consent after the update; older devices may not support the listed OS versions

Generated from the published advisory — verify against the referenced sources before acting.

Fix this in Ipados Scoped from the published advisory
  • Consultation2.0 h
  • Implementation3.0 h
  • Testing2.0 h
  • Review / QA1.0 h
8.0 hours of engineering $1,420
Get the upgrade done

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $2,272.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2024-40787 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.

References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.

Primary sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2024-40787 in production — separate from our analysis above.

No notes yet

Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.

What this is

A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.

What belongs here
  • Verified mitigations, workarounds, and config changes
  • Version or environment caveats, and links to real fixes
  • No weaponised exploit code, or anything meant to cause harm
  • No spam, self-promotion, credentials, or personal data