SecPod

Learn Search

Search across all Learn content

← Back to Security Research
Microsoft Uncovers Sploitlight: How a Spotlight Plugin Flaw Evades macOS TCC Protections

Microsoft Uncovers Sploitlight: How a Spotlight Plugin Flaw Evades macOS TCC Protections

Microsoft Threat Intelligence recently disclosed a serious macOS vulnerability dubbed Sploitlight. It tracked as CVE-2025-31199 that leverages Spotlight importer plugins to bypass Apple’s Transparency, Consent, and Control (TCC) framework and exfiltrate files normally off-limits, including Apple Int...

Jul 28, 2025By Moulik Arora4 min read

Microsoft Threat Intelligence recently disclosed a serious macOS vulnerability dubbed Sploitlight. It tracked as CVE-2025-31199 that leverages Spotlight importer plugins to bypass Apple’s Transparency, Consent, and Control (TCC) framework and exfiltrate files normally off-limits, including Apple Intelligence caches. Apple addressed the issue in macOS Sequoia 15.4, released on March 31, 2025, but any systems still on older Sequoia builds (or earlier macOS versions) remain at risk. This post breaks down the technical flaw, real-world impact, attacker techniques, and steps you can take to protect your data.

Background: Spotlight Importers & TCC

Spotlight uses .mdimporter bundles (“Spotlight importers”) to index specific file types from Mail attachments to Photos databases to make the search fast and comprehensive. These plugins run in sandboxed helper processes (the mdworker tasks) but retain privileged file-read access to the content they index.

To protect user privacy, Apple’s Transparency, Consent, and Control (TCC) framework usually blocks arbitrary code from reading sensitive directories (Downloads, Pictures, Desktop, etc.) without explicit user consent via system prompts.

Technical Details of “Sploitlight”

  1. Plugin ManipulationAttackers modify the Info.plist and accompanying schema files of an unsigned .mdimporter, declaring new UTIs (Uniform Type Identifiers) for protected directories. Because unsigned importers can still be loaded locally, there’s no code-signing requirement, significantly lowering the bar for exploit development.
  2. Loading the Malicious ImporterThe attacker places the manipulated .mdimporter into ~/Library/Spotlight and forces Spotlight to reload plugins via: mdimport -r A recursive scan then triggers the plugin in the mdworker Sandbox, which reads and logs file contents—even those in TCC-protected locations—into the unified log: mdimport -i <path>
  3. Data ExfiltrationThe attacker recovers file bytes from directories like DownloadsPictures, and Apple Intelligence caches by parsing unified log entries. Apple Intelligence cache files include Photos.sqlite and other AI-generated summary databases, exposing metadata, geolocation, face-recognition clusters, and more.

Potential Impact

  • Personal Privacy Risks: Exposed geolocation trails, photo/video metadata (timestamps, device info), face/person recognition data, and deleted content—even clipboard histories could be at risk.
  • Stalking & Harassment: Precise location data and photo album context could enable physical stalking or targeted harassment.
  • iCloud-Linked Devices: Because TCC permissions sync across devices on the same iCloud account, compromising one Mac could leak metadata from an iPhone or iPad linked to that account.

Security Affairs also warns that Apple Intelligence caches, such as email summaries and AI-written notes, are at risk, exposing further private data.

Moreover, since Apple devices linked to the same iCloud account automatically sync specific data, an attacker who compromises a user’s Mac could potentially access synced metadata and Apple Intelligence-tagged content originating from the user’s iPhone or iPad.

Attacker Tactics (MITRE ATT&CK Mappings)

  • TA0001 – Initial Access: Social-engineering the user into installing a malicious Spotlight importer.
  • T1203 – Exploitation for Client Execution: Loading the manipulated .mdimporter via mdimport.
  • TA0006 – Credential Access: Bypassing TCC to read protected data.
  • T1189 – Drive-by Compromise: Distributing the exploit in seemingly benign bundles on third-party download sites.
  • T1555 – Credentials from Password Stores: Accessing Apple Intelligence caches that may store password-manager data or summary snippets.

Mitigation & Recommendations

  1. Update ImmediatelyApply macOS Sequoia 15.4 (and corresponding iOS/iPadOS/VisionOS patches) to ensure CVE-2025-31199 is patched.
  2. Harden Spotlight UsageRestrict write access ~/Library/Spotlight via FileVault and endpoint-security policies, preventing malicious plugin drops. Monitor for unexpected .mdimporter installations with your EDR solution.
  3. Audit Unified LogsConfigure log-management solutions to flag large binary dumps in the unified log, which can indicate exfiltration attempts via Sploitlight.
  4. User AwarenessTrain users to avoid installing unsigned plugins and to question any unusual prompts or “helper” installers claiming to enhance Spotlight performance.

Instantly Fix Risks with Saner Patch Management

Saner patch management is a continuous, automated, and integrated software that instantly fixes risks exploited in the wild. The software supports major operating systems like Windows, Linux, and macOS, as well as 550+ third-party applications.

It also allows you to set up a safe testing area to test patches before deploying them in a primary production environment. Saner patch management additionally supports a patch rollback feature in case of patch failure or a system malfunction.

Experience the fastest and most accurate patching software here.

Featured Posts

Open Operation CameraSwarm: Inside the Toolkit Behind 14,530 Compromised Dahua Cameras
Operation CameraSwarm: Inside the Toolkit Behind 14,530 Compromised Dahua Cameras

CVE Research

Operation CameraSwarm: Inside the Toolkit Behind 14,530 Compromised Dahua Cameras

A single operator compromised 14,530+ Dahua cameras across Ukraine and Russia in 35 days, chaining credential brute-force, a CVE-2021-33044/33045 authentication bypass, and P2P relay abuse to plant a persistent backdoor and harvest transferable admin access.

Aug 21, 2026

Open Critical GitLab Flaw Exposes Public Projects to Deletion — Two CVEs Patched, Including High-Severity CSRF
Critical GitLab Flaw Exposes Public Projects to Deletion — Two CVEs Patched, Including High-Severity CSRF

CVE Research

Critical GitLab Flaw Exposes Public Projects to Deletion — Two CVEs Patched, Including High-Severity CSRF

CVE-2026-19478 is a critical code injection vulnerability in GitLab CE/EE that allows an unauthenticated attacker to modify or delete public projects and user data by abusing a GraphQL directive. A second high-severity issue, CVE-2026-19650, involves cross-site request forgery in the GraphQL multiplex query handler. This article examines how the critical vulnerability works, the availability of a public proof-of-concept, the potential impact on self-managed instances, the affected versions, and the security updates released to remediate both issues.

Aug 19, 2026

Open No Password Needed: macOS Screen Sharing Flaw (CVE-2026-65400) Used to Deploy Monero Miners
No Password Needed: macOS Screen Sharing Flaw (CVE-2026-65400) Used to Deploy Monero Miners

CVE Research

No Password Needed: macOS Screen Sharing Flaw (CVE-2026-65400) Used to Deploy Monero Miners

Aug 19, 2026

Open Evooo1Bot: Mirai-Based Linux Botnet Turns Edge Devices Into SOCKS5 Proxies
Evooo1Bot: Mirai-Based Linux Botnet Turns Edge Devices Into SOCKS5 Proxies

CVE Research

Evooo1Bot: Mirai-Based Linux Botnet Turns Edge Devices Into SOCKS5 Proxies

Aug 19, 2026