Local file exfiltration through Power BI’s query engine

Microsoft Power BI · CVE-2025-59240 (listed under Excel) · Fixed in the November 2025 security update · Rated Important · Original write-up: February 9, 2026

Summary

A malicious Power BI file could silently read files on the user’s computer and send their contents out through DNS lookups, bypassing the privacy-level protection meant to stop data from reaching external sources. Microsoft fixed the issue in the November 2025 security update.

Impact

Any file readable by the user, such as an SSH private key, could be exfiltrated simply by getting the user to open the file.

Root cause

The query engine checked a file path, which makes the operating system resolve it (including over the network), before evaluating whether the privacy level allowed it. Filtering a folder listing on a crafted name was enough to trigger that resolution. The fix evaluates the privacy scope of a path before attempting to resolve it.

Attack path (simplified)

  1. The victim opens a crafted Power BI file.
  2. A query reads a local file the user can access.
  3. The content is encoded into a string that is safe to use in a DNS name.
  4. The query builds a network path that places this string in a host name controlled by the attacker.
  5. A folder filter makes the engine check that path, and the resulting DNS lookup delivers the data to the attacker’s name server.

Lessons

Timeline

Original post (blog)