The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2024-32986

CVE-2024-32986: PWAsForFirefox RCE Vulnerability

CVE-2024-32986 is a remote code execution flaw in PWAsForFirefox affecting Linux and PortableApps.com users. Improper sanitization allows malicious web apps to execute arbitrary code. This article covers technical details, affected versions, impact, and mitigation.

Published: April 15, 2026

CVE-2024-32986 Overview

CVE-2024-32986 is a critical code injection vulnerability in PWAsForFirefox, a tool designed to install, manage, and use Progressive Web Apps (PWAs) in Mozilla Firefox. Due to improper sanitization of web app properties (such as name, description, and shortcuts), malicious web apps can inject additional lines into XDG Desktop Entries on Linux systems and AppInfo.ini on PortableApps.com deployments. This injection vulnerability allows attackers to introduce keys like Exec, which can execute arbitrary code when the affected web app is launched.

Critical Impact

Remote attackers can achieve arbitrary code execution on victim systems by crafting malicious Progressive Web Apps that inject executable commands into desktop entry files, compromising system integrity when users launch the affected PWA.

Affected Products

  • PWAsForFirefox versions prior to 2.12.0 on Linux systems
  • PWAsForFirefox versions prior to 2.12.0 on PortableApps.com
  • XDG Desktop Entry files generated by vulnerable PWAsForFirefox installations

Discovery Timeline

  • 2024-05-03 - CVE-2024-32986 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2024-32986

Vulnerability Analysis

This vulnerability is classified under CWE-74 (Improper Neutralization of Special Elements in Output Used by a Downstream Component), commonly known as Injection. The core issue stems from PWAsForFirefox's failure to properly sanitize user-controllable web app properties before writing them to system configuration files.

On Linux systems, XDG Desktop Entry files (.desktop files) define how applications are launched and displayed in desktop environments. These files use a key-value format where the Exec key specifies the command to run when the application is launched. Similarly, PortableApps.com uses AppInfo.ini files for application configuration. By injecting newlines and additional key-value pairs through unsanitized web app properties, attackers can introduce malicious Exec entries that execute arbitrary commands with the privileges of the user launching the PWA.

The attack requires user interaction—specifically, the victim must install a malicious PWA and subsequently launch it. However, given the network-accessible nature of PWAs and the social engineering potential, this represents a significant threat vector.

Root Cause

The root cause of CVE-2024-32986 lies in the insufficient input validation and output encoding of web app metadata fields. When PWAsForFirefox processes properties like the application name, description, or shortcuts from a web app manifest, it writes these values directly to configuration files without neutralizing special characters such as newlines (\n). This allows an attacker-controlled web app to break out of the intended field context and inject arbitrary configuration directives.

Attack Vector

The attack vector is network-based, requiring user interaction. An attacker can host a malicious Progressive Web App on any web server or compromise an existing legitimate PWA. When a user installs this malicious PWA through PWAsForFirefox, the crafted properties containing injection payloads are written to the desktop entry file. Upon launching the PWA, the injected Exec command executes, providing the attacker with arbitrary code execution on the victim's system.

The attack flow proceeds as follows: the attacker crafts a malicious web app manifest with specially formatted name or description fields containing newline characters followed by malicious key-value pairs. When the user installs and launches the PWA, the operating system's desktop environment parses the corrupted .desktop file and executes the attacker's payload instead of or in addition to the legitimate application.

Detection Methods for CVE-2024-32986

Indicators of Compromise

  • Presence of unusual Exec entries in .desktop files under ~/.local/share/applications/ or system application directories
  • XDG Desktop Entry files containing multiple Exec keys or unexpected command sequences
  • AppInfo.ini files in PortableApps installations with anomalous or duplicate configuration entries
  • Evidence of recently modified .desktop files correlating with PWA installation activity

Detection Strategies

  • Monitor file integrity of XDG Desktop Entry files and AppInfo.ini configurations for unauthorized modifications
  • Implement file content scanning rules to detect .desktop files with multiple Exec directives or suspicious command patterns
  • Review PWAsForFirefox installation logs for web apps with unusual or excessively long property values
  • Deploy endpoint detection rules to identify process execution chains originating from .desktop file launches with anomalous parent-child relationships

Monitoring Recommendations

  • Configure file integrity monitoring (FIM) on directories containing desktop entry files (~/.local/share/applications/, /usr/share/applications/)
  • Establish baseline monitoring for PWA installation events and correlate with subsequent desktop entry file changes
  • Monitor process execution for commands launched via desktop files that exhibit unusual behavior patterns or connect to unexpected network destinations

How to Mitigate CVE-2024-32986

Immediate Actions Required

  • Update PWAsForFirefox to version 2.12.0 or later immediately on all Linux and PortableApps.com installations
  • Audit existing .desktop files in user and system application directories for signs of injection
  • Review and remove any PWAs from untrusted sources that were installed prior to the update
  • Windows and macOS users should also update to benefit from additional property sanitization improvements

Patch Information

The vulnerability has been fixed in commit 9932d4b which is included in PWAsForFirefox v2.12.0. The main fix is implemented in the native component of PWAsForFirefox, with the browser extension containing additional sanitization improvements. Users can verify the fix by reviewing the commit details and the GitHub Security Advisory GHSA-jmhv-m7v5-g5jq.

Workarounds

  • There are no known workarounds for this vulnerability according to the vendor advisory
  • Users who cannot immediately update should consider temporarily uninstalling PWAsForFirefox until the update can be applied
  • Avoid installing new PWAs from untrusted sources until the patched version is deployed
  • Manually inspect .desktop files before launching PWAs installed from external sources
bash
# Verify PWAsForFirefox version and update
# Check current installed version
firefoxpwa --version

# Update PWAsForFirefox to patched version 2.12.0 or later
# For Linux users (example using package manager or manual update)
# Refer to official installation instructions for your distribution

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechPwaforfirefox

  • SeverityCRITICAL

  • CVSS Score9.6

  • EPSS Probability0.16%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityHigh
  • AvailabilityHigh
  • CWE References
  • CWE-74
  • Technical References
  • GitHub Commit Update

  • GitHub Release v2.12.0

  • GitHub Security Advisory GHSA-jmhv-m7v5-g5jq
  • Latest CVEs
  • CVE-2026-43328: Linux Kernel Use-After-Free Vulnerability

  • CVE-2026-43329: Linux Kernel Netfilter DoS Vulnerability

  • CVE-2026-43330: Linux Kernel Buffer Overflow Vulnerability

  • CVE-2026-43331: Linux Kernel DOS Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English