CVE-2022-26386
NixOS vulnerability analysis and mitigation

Overview

CVE-2022-26386 is a security vulnerability affecting Firefox and Thunderbird on macOS and Linux systems. The issue was discovered when temporary files were being downloaded to /tmp directory instead of a user-specific directory, making them accessible to other local users. This vulnerability was reported by a researcher known as 'attila' and was fixed in Firefox ESR 91.7 and Thunderbird 91.7, released in March 2022 (Mozilla Advisory).

Technical details

The vulnerability occurred due to a change in behavior where Firefox and Thunderbird would download temporary files directly to the /tmp directory instead of the user-specific directory /tmp/mozilla${USER}0. The original directory had permissions set to 0700, ensuring only the owner could access the files. The change exposed downloaded files to other local users, creating a potential security risk where attackers could predict or monitor file creation ([Mozilla Bug](https://bugzilla.mozilla.org/showbug.cgi?id=1752396)).

Impact

The vulnerability has been classified as having a low security impact. It only affects Firefox and Thunderbird installations on macOS and Linux systems, with Windows being unaffected. The main risk is that local users on the same system could access temporary files downloaded by Firefox or Thunderbird, potentially exposing sensitive information (Mozilla Advisory).

Mitigation and workarounds

The issue was fixed by reverting to the original behavior of storing temporary files in a user-specific directory (/tmp/mozilla_${USER}0) with proper permissions. The fix was implemented in Firefox ESR 91.7 and Thunderbird 91.7. Users should update to these versions or newer to mitigate the vulnerability (Mozilla Advisory).

Additional resources


SourceThis report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-14330CRITICAL9.8
  • NixOSNixOS
  • cpe:2.3:a:mozilla:firefox_esr
NoYesDec 09, 2025
CVE-2025-14329HIGH8.8
  • NixOSNixOS
  • cpe:2.3:a:mozilla:firefox:*:*:*:*:esr:*:*:*
NoYesDec 09, 2025
CVE-2025-14333HIGH8.1
  • NixOSNixOS
  • firefox
NoYesDec 09, 2025
CVE-2025-14332HIGH7.3
  • NixOSNixOS
  • firefox
NoYesDec 09, 2025
CVE-2025-14331MEDIUM6.5
  • NixOSNixOS
  • firefox
NoYesDec 09, 2025

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