Skip to main content
Mallory
LowPublic exploitVulnerability

CVE-2026-3102: OS Command Injection in ExifTool SetMacOSTags on macOS

Published Feb 24, 2026 · Updated 2 months ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS2.1Low · v4
EPSS3.3%89th percentile
CISA KEVNoNot listed
In the wildNonePublic exploit, no exploitation reported
Vendor
Exiftool Project
IdentifiersCVE-2026-3102CWE-78 · Improper Neutralization of Special…

CVE-2026-3102 is an OS command injection vulnerability in ExifTool 13.49 and earlier on macOS. The flaw is in the SetMacOSTags function in lib/Image/ExifTool/MacOS.pm, where an attacker-controlled metadata value used for macOS file creation date handling reaches a system() invocation without proper neutralization. The vulnerable path is triggered when ExifTool processes macOS creation-date tags such as MDItemFSCreationDate / FileCreateDate and invokes /usr/bin/setfile. Direct writes to FileCreateDate are normally validated, but an attacker can place a malicious raw value in a more permissive source tag such as DateTimeOriginal and then use -tagsFromFile to copy it into FileCreateDate. Exploitation requires the -n flag so ExifTool accepts raw machine-readable values and bypasses the normal PrintConvInv date validation. A crafted metadata value containing shell metacharacters, including injected quotes, can break the constructed command string and cause arbitrary shell command execution.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation results in arbitrary shell command execution in the security context of the user running ExifTool. In automated image-processing or metadata-ingestion workflows on macOS, this can allow remote compromise through a crafted image file, leading to malware deployment, data theft, persistence, and potential lateral movement depending on the privileges and surrounding environment. The issue is limited to the affected macOS-specific code path.

Mitigation

If you can’t patch tonight, do this now.

Until patching is complete, avoid processing untrusted images with vulnerable ExifTool versions on macOS, especially in workflows that use -n and metadata-copy operations such as -tagsFromFile. Isolate ExifTool execution in a sandboxed or otherwise restricted environment, run it with the lowest practical privileges, and restrict automated pipelines that ingest externally supplied files. Audit scripts and applications for embedded ExifTool instances and disable or constrain macOS metadata-writing paths where feasible.

Remediation

Patch, then assume compromise.

Upgrade ExifTool to version 13.50 or later. The upstream fix replaces string-based system command construction with argument-list invocation, eliminating shell interpretation of attacker-controlled metadata values. Where relevant, apply upstream patch e9609a9bcc0d32bd252a709a562fb822d6dd86f7 and verify that bundled or embedded ExifTool copies in third-party software are also updated.

Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
Exiftool ProjectExiftoolapplication
FAQ

Frequently asked questions

Is CVE-2026-3102 exploited in the wild?
As of Sep 25, 2026, Mallory has no reports of CVE-2026-3102 being exploited in the wild. It is not listed in CISA KEV.
Is there a public exploit for CVE-2026-3102?
Yes. Mallory tracks 1 public exploit or proof of concept for CVE-2026-3102, the earliest disclosed May 22, 2026.
Is there a patch for CVE-2026-3102?
Upgrade ExifTool to version 13.50 or later. The upstream fix replaces string-based system command construction with argument-list invocation, eliminating shell interpretation of attacker-controlled metadata values.
What products are affected by CVE-2026-3102?
Exiftool Project Exiftool.
How severe is CVE-2026-3102?
CVE-2026-3102 has a CVSS v4 score of 2.1 (Low) and an EPSS score of 3.3% (89th percentile) as of Sep 25, 2026.
Activity feed

Recent activity

42 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
+4 more in the timeline. Sign up to see them
Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malware2Malware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity34Community discussion across Reddit, Mastodon, and other social sources.