Skip to content
Misconfiguration Disclosed report Intermediate CVE-2026-6763

Downloaded .search-ms files not treated as executable on Windows, unlike .library-ms / .appref-ms

Firefox on Windows did not apply its stronger executable/dangerous-file warning to downloaded .search-ms files, even though it already did so for comparable shell file types such as .library-ms and .appref-ms. An attacker could deliver a crafted .search-ms file that, once opened from the downloads panel, makes Windows Explorer show attacker-controlled remote content as if it were a local search result, luring the user into running malicious files.

Tomoya Nakanishi Follow

Originally disclosed on Mozilla

  • Fixed in 19 days
  • Paid in 25 days
  • Disclosed after 19 days
Text
Created attachment 9550740
demo.mp4

Product: Firefox
Component: File Handling
Platform: Desktop (Windows)
Version: Firefox 148.0 (Release) / Firefox 150.0a1 (2026-03-06) (Nightly), Windows 11

Description:
On Windows, downloaded `.search-ms` files do not trigger the same executable/dangerous-file warning that Firefox already applies to comparable Windows shell file types (`.library-ms`, `.appref-ms`).

This is the same class of gap that was previously fixed for:
- `.appref-ms`: Bug 1840777
- `.library-ms`: Bug 1921458

Like `.library-ms`, `.search-ms` is a Windows shell file type that can redirect Windows Explorer to attacker-controlled remote content. It has been weaponized by nation-state APT groups as a malware delivery vector:
- https://www.proofpoint.com/us/blog/threat-insight/malware-must-not-be-named-suspected-espionage-campaign-delivers-voldemort
- https://www.ibm.com/think/x-force/itg05-leverages-malware-arsenal

Chromium already classifies `.search-ms` in the same protection tier as `.library-ms` (ALLOW_ON_USER_GESTURE + DISALLOW_AUTO_OPEN):
- https://chromium.googlesource.com/chromium/src/+/refs/heads/main/components/safe_browsing/content/resources/download_file_types.asciipb

Steps to reproduce:
1. Use a clean Firefox profile on Windows 11.
2. Download the attached `demo.search-ms`
3. Open the file from the downloads panel.
4. Observe: no executable/dangerous-file warning is shown.
5. For comparison, repeat with a `.library-ms` file — Firefox shows the stronger warning.

Actual result:
Firefox opens a downloaded `.search-ms` file without the stronger warning/open-protection flow.

Expected result:
Firefox should treat `.search-ms` the same as `.library-ms` / `.appref-ms` and route it through the executable warning path.

Impact:
A remote attacker can deliver a crafted `.search-ms` file that, when opened from the downloads panel without the stronger warning, causes Windows Explorer to display attacker-controlled remote content (e.g. a WebDAV/SMB share) as if it were a local search result. This can lure the user into executing malicious files (LNK, executable disguised as PDF, etc.) placed on the remote share.

Technical detail:
`.search-ms` is present in `kBinaryFileExtensions[]` (ApplicationReputation.cpp) but not in `sExecutableExts[]` (nsLocalFileCommon.cpp). As a result, `IsExecutable()` returns false for `.search-ms`, and the stronger download/open warning path is not triggered.

The original report as published on Mozilla's Bugzilla, by Tomoya Nakanishi. Images and videos are our own copies; raw HTML is shown as text. View it on Mozilla's Bugzilla.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the .search-ms extension was added to the binary-file reputation list but not to the executable-extension list, so the browser's IsExecutable() check returned false and the stronger warning path was skipped.

Impact

A remote attacker could deliver a crafted .search-ms file that, when opened without the stronger warning, causes Windows Explorer to display attacker-controlled remote content as if it were a local search result, which could lure the user into executing malicious files from the remote share.

What the attacker needed

Windows victim; victim downloads and opens the file; attacker-controlled remote share

The fix

Firefox should treat .search-ms the same as .library-ms and .appref-ms and route it through the executable warning path.

How it was found

  1. Use a clean Firefox profile on Windows 11.
  2. Download the attached .search-ms file.
  3. Open the file from the downloads panel.
  4. Observe that no executable/dangerous-file warning is shown.
  5. Repeat with a .library-ms file to see the stronger warning for comparison.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

Some file types on Windows are not ordinary documents: opening them can make Windows Explorer fetch and display content from a remote server chosen by whoever made the file. Browsers keep a list of such dangerous types and show a strong warning before opening them. Here Firefox had added two of these types to its warning list but missed a third, so a downloaded file of that type opened with no strong warning.

What is Misconfiguration?

Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.

More by Tomoya Nakanishi

View all

4 more disclosed reports, best first.

More from Mozilla

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Security misconfiguration

The lesson behind this report.

Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.