Skip to main content
Mallory
← Back to News
endpoint-software-vulnerabilityopen-source-dependency-vulnerabilitywidely-deployed-product-advisoryinitial-access-method

ExifTool Command Injection Lets Malicious Images Compromise Macs

Vulnerability Disclosure · 3 sources · Updated 5mo ago · First seen May 20, 2026

ExifTool Command Injection Lets Malicious Images Compromise Macs

Kaspersky GReAT disclosed CVE-2026-3102, a command injection flaw in ExifTool that can let a malicious image trigger arbitrary shell commands on macOS. The bug affects ExifTool 13.49 and earlier and was fixed in 13.50. According to the report, the issue lies in the SetMacOSTags function, where an unsanitized date value can reach a system() call that invokes /usr/bin/setfile, allowing shell interpretation of attacker-controlled metadata.

Exploitation requires a crafted workflow in which ExifTool is run with the -n flag, bypassing PrintConvInv date sanitization, and the -tagsFromFile feature is used to copy a malicious value from a permissive source tag such as DateTimeOriginal into FileCreateDate. The vulnerable path is specific to macOS, but successful exploitation can fully compromise the user account processing the image. The February patch replaced string-based command construction with argument-list execution and added a wrapper to preserve prior I/O redirection behavior while removing the shell injection risk.

Do you run this?See affected versions and whether adversaries are exploiting it.
Check your exposure
Event timeline

How this story unfolded

Events from the most recent confirmed update back to the earliest known activity.

2 events · Feb 1, 2026 – May 5, 2026
  1. May 5, 20267mo ago

    Kaspersky discloses CVE-2026-3102 in ExifTool for macOS

    Kaspersky GReAT publicly disclosed CVE-2026-3102, a command injection vulnerability in ExifTool version 13.49 and earlier on macOS. The flaw allows arbitrary shell command execution when attacker-controlled metadata is processed via SetMacOSTags, particularly when ExifTool is used with the -n flag and -tagsFromFile.

  2. Feb 1, 202610mo ago

    ExifTool command injection flaw affecting macOS is patched in version 13.50

    ExifTool fixed CVE-2026-3102 in February 2026 with the release of version 13.50. The patch removed shell-interpreted string command construction in the vulnerable macOS SetMacOSTags code path and replaced it with safer argument-list execution.

Linked entities

Related entities

Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.

Open in app →

Affected products

2 linked
ExiftoolMacos
Do you run this?See whether adversaries are exploiting this yet, and where the affected versions run in your environment.
Check Your Exposure
Mallory platform

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which threat actors are using it right now, and what to deploy next.

Exposure mappingMap indicators from this story to your assets and identify affected systems in minutes.
Threat actor evidenceEvery observed campaign, victim, and pivot linked to actors named in this story.
Associated malwareMalware, exploits, and IOCs connected to the activity described here.
Detection signaturesYARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Scheduled alertsGet matching new stories delivered to your team as they break, not the next morning.
AI threadsAsk questions about this story and take action on the answers.