Sunday, October 18, 2026

WhatsApp for Windows Flaw Allowed Remote Code Execution via File Attachments

A critical vulnerability identified as CVE-2025-30401 was recently disclosed, highlighting a major security flaw in WhatsApp for Windows.

This issue, which primarily affects desktop application versions prior to 2.2450.6, allowed attackers to exploit mismatched file metadata to execute arbitrary code on unsuspecting users’ systems.

Technical Details of CVE-2025-30401

According to the Facebook blog, the vulnerability arises from a spoofing issue in how WhatsApp handles file attachments.

Specifically, WhatsApp for Windows displayed incoming attachments based on their MIME type (a descriptor of the file’s content), but it selected the file opening handler based on the attachment’s filename extension.

An attacker could exploit this mismatch to craft a file that appears harmless—such as a document or image file—but executes harmful code when opened.

For example, a malicious actor could send a file pretending to be a .jpeg image (based on its MIME type), but the file’s actual extension might be .exe.

If the victim manually opened the attachment inside WhatsApp, the system would execute the malicious file, enabling remote code execution (RCE).

Scope of Impact and Affected Versions

The vulnerability affected users of WhatsApp Desktop for Windows across all versions before 2.2450.6. Notably:

  • Affected software: WhatsApp Desktop for Windows (Facebook).
  • Unaffected by default: Users running later versions, such as 2.2450.6 or newer, are not impacted. Additionally, users who relied on WhatsApp for mobile or macOS were unaffected.

By exploiting this flaw, attackers could potentially execute arbitrary code on the victim’s device.

This could enable them to take full control of the system, steal sensitive information, or deploy additional malicious software.

The flaw required specific user interaction—namely, manually opening the attachment within the app—making targeted attacks more likely than indiscriminate campaigns.

Patch and Mitigation

WhatsApp acted swiftly upon discovering the flaw, releasing an updated version to address the vulnerability. 

Users are strongly encouraged to update their WhatsApp Desktop for Windows to version 2.2450.6 or later.

Furthermore, users are advised to:

  • Avoid opening file attachments from untrusted or suspicious sources.
  • Regularly update all software to stay protected from known vulnerabilities.

CVE-2025-30401 underscores the importance of vigilance in handling file attachments, even on trusted platforms.

While WhatsApp has patched this vulnerability, the incident serves as a reminder for users to stay proactive in their cybersecurity practices.

If you’re using WhatsApp Desktop for Windows, don’t delay—update your app today to safeguard your system.

Find this News Interesting! Follow us on Google News, LinkedIn, & X to Get Instant Updates!

Divya
Divya
Divya is a Senior Journalist at GBhackers covering Cyber Attacks, Threats, Breaches, Vulnerabilities and other happenings in the cyber world.

Hot this week

How To Access Dark Web Anonymously and know its Secretive and Mysterious Activities

What is Deep Web The deep web, invisible web, or...

How to Build and Run a Security Operations Center (SOC Guide) – 2023

Today’s Cyber security operations center (CSOC) should have everything...

Russian Hackers Bypass EDR to Deliver a Weaponized TeamViewer Component

TeamViewer's popularity and remote access capabilities make it an...

Web Server Penetration Testing Checklist – 2026

Web server pentesting is performed under three significant categories: identity,...

ATM Penetration Testing – Advanced Testing Methods to Find The Vulnerabilities

ATM Penetration testing, Hackers have found different approaches to...

Hackers Use ConnectWise SkyKick Credentials to Access Microsoft 365, Halting Cloud Backups

Attackers abused compromised ConnectWise Cloud Backup credentials to access...

Anthropic’s Claude AI Uncovers Origins of NSA-Provided Cryptographic Keys After 25 Years

Anthropic says an internal Claude research model reconstructed how...

OpenBSD Kernel Flaw Dating Back 37 Years Enables Local Privilege Escalation to Root

A newly disclosed OpenBSD kernel exploitation chain combines a...

GhostAction Hackers Hide Credential-Stealing Malware in Fake Font Files Across 94 GitHub Repositories

GhostAction attackers have expanded their GitHub credential theft campaign...

SideCopy Hackers Target Indian Organizations With ReverseRAT Malware to Steal Data

Indian authorities have warned that SideCopy hackers are targeting...

New GhostBat Android Malware Targets 60 Banking and UPI Apps to Steal PINs

A new GhostBat RAT variant targets 60 Android financial...

New ROMULUS Malware Platform Uses Six Servers to Deliver Multiple Malicious Payloads

ROMULUS, a shared ClickFix delivery platform operating across six...

Related Articles

Recent News