ENGINEERING

We disabled winget's default and Store sources, and fonts still installed from winget-font

Marc Borer 5 min
WHERE ATTESTREE FITS
Lock down winget sources
Turn the public source off on every endpoint, and keep it off.

On November 3, 2026 we checked a test VM whose winget Attestree had locked to our private source. The policy values EnableDefaultSource and EnableMicrosoftStoreSource were 0, and EnableAllowedSources was 1. winget source list showed our source and one more, winget-font.

A font package installed from that source with exit code 0, and no agreement was required. The user-scope install wrote no Uninstall key, so Programs and Features has nothing to show for it.

To check a machine, run winget source list. If winget-font is in the list, the font source is open. The policy value EnableFontSource, set to 0, closes it.

The finding is an install path that the lockdown left open, and fonts that Programs and Features does not show. We found nothing harmful in the source. Our search returned Microsoft.FluentFonts, under the MIT licence and downloaded from download.microsoft.com. We do not claim a vulnerability or code execution.

Everything below comes from one VM running winget v1.29.380 (DesktopAppInstaller 1.29.379.0), and from three public sources we read on November 18: the source code of that winget version, winget’s Group Policy templates, and Microsoft’s policy page.

What winget 1.29.380 ships

SourceList.cpp in the winget-cli source at tag v1.29.380 defines winget-font besides winget and msstore:

  • Name: winget-font
  • Argument: https://cdn.winget.microsoft.com/fonts
  • Identifier: Microsoft.Winget.Fonts.Source_8wekyb3d8bbwe

SourcePolicy.cpp at the same tag gives each of the three its own policy, and GroupPolicy.cpp names the values:

Source Policy value
winget EnableDefaultSource
msstore EnableMicrosoftStoreSource
winget-font EnableFontSource

EnableAllowedSources applies only to sources a user adds. A lockdown that sets the first two values and an allowed-sources list therefore closes two of these three sources and leaves winget-font configured.

The setting, and where it is missing

The Group Policy setting is “Enable Windows Package Manager Font Source”. Its value is EnableFontSource under HKLM\SOFTWARE\Policies\Microsoft\Windows\AppInstaller.

The policy templates of v1.29.380 explain it in these words: “If you do not configure this setting, the Font source for the Windows Package manager will be available and can be removed.” And further down: “If you disable this setting the Font source for the Windows Package Manager will not be available.”

So on a winget version that ships the font source, a machine where nobody configured the setting has it, unless someone removed it.

On November 18 we also read the templates of two older releases. The setting is in the v1.12.340 templates and missing from the v1.11.430 templates. The font source itself is absent from the v1.11.430 source code and present at v1.12.340. A central store that still holds the older templates does not show the setting at all.

Microsoft’s DesktopAppInstaller Policy CSP page carried the date October 14, 2026 when we read it on November 18. It lists EnableDefaultSource, EnableMicrosoftStoreSource and EnableAllowedSources among its policies. It lists no font-source policy.

What the test VM did

These were the policy values on the VM on November 3:

Value Data
EnableDefaultSource 0
EnableMicrosoftStoreSource 0
EnableAllowedSources 1
EnableFontSource not set

winget source list showed our source and winget-font, which it marked as explicit. msstore and winget were absent.

winget search --source winget-font Font

It returned Microsoft.FluentFonts 1.0.0.0. winget show gave its installer type as font (zip), its download host as download.microsoft.com and its licence as MIT.

The install

winget install --source winget-font --id Microsoft.FluentFonts --exact --disable-interactivity

The command exited 0 and printed “Successfully installed”. We had left out --accept-package-agreements. With --disable-interactivity winget cannot prompt, and the install still succeeded, so no agreement was required. winget verified the hash, downloaded through Delivery Optimization and applied Mark of the Web.

The install did not need the experimental setting for fonts. The policy value EnableSettings at 0 did not stop it.

Where the fonts landed

Scope Files Registration
User Eight TTF files under %LOCALAPPDATA%\Microsoft\Windows\Fonts, in a Microsoft.FluentFonts\1.0.0.0 folder. Nothing in C:\Windows\Fonts. Registered.
Machine (--scope machine, elevated) Eight TTF files in C:\Windows\Fonts. Eight values under HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts.

What listed them

The user-scope install wrote no Uninstall key, so Programs and Features has nothing to show for it. We did not check the key after the machine-scope install.

winget list showed FONT\User\Microsoft.FluentFonts after the user-scope install and FONT\Machine\Microsoft.FluentFonts after the machine-scope one, both at 1.0.0.0. The two installs ran one after the other, never together.

winget list --id Microsoft.FluentFonts did not show the package. It printed “Skipping explicit source reference winget-font”.

Removing the package

winget uninstall --source winget-font --id Microsoft.FluentFonts --exact

The command exited 0 and left no files.

Closing the source

With EnableFontSource set to 0 on the VM, our source was the only one left. A command with --source winget-font failed with 0x8A150012. AppInstallerErrors.h at v1.29.380 names that code APPINSTALLER_CLI_ERROR_SOURCE_NAME_DOES_NOT_EXIST.

What we got wrong

  • Before platform 26.11.400, a box that Attestree had locked to one private source read “applied” in the console while the font source was open.
  • We judged “applied” from what the lock itself writes. What winget’s own source list showed was not part of the check.

Platform 26.11.400, released on November 4, closes winget-font. “Applied” now also requires that winget’s own source list shows nothing besides the lock’s source. A source that winget adds in future then shows as drifted. The fix is in the endpoint agent, so a box shows as drifted until the new agent has run its next maintenance pass. The changelog has the wording under Fixed, where the lock is called the winget fence.

What we did not test

  • Other winget versions. Every run used winget v1.29.380 with DesktopAppInstaller 1.29.379.0.
  • A second machine. All the observations come from one test VM.
  • More of the font source. Our record holds one search, with the term Font, on November 3.
  • Other template versions. We read three: v1.29.380, v1.12.340 and v1.11.430.
  • Programs and Features itself. We read the Uninstall key after the user-scope install and did not open the dialog.

Checking your own machines

The commands and values below are the ones from winget 1.29.380.

List the sources. winget source list shows what is configured, and winget source export prints names and identifiers. The font source is winget-font, with the identifier Microsoft.Winget.Fonts.Source_8wekyb3d8bbwe.

Read the policy value.

reg query HKLM\SOFTWARE\Policies\Microsoft\Windows\AppInstaller /v EnableFontSource

On our VM the value was not set, and the source was open.

Close it. Set “Enable Windows Package Manager Font Source” to Disabled. The setting needs the templates from 1.12.340 or later. You can also write the value EnableFontSource as 0 under the same key. Afterwards a command with --source winget-font answers 0x8A150012.

Find fonts already installed this way. Run winget list and look for rows that start with FONT\. Programs and Features will not show them.

The other policy values a private-source lockdown needs are on our winget source lockdown page.

SUBSCRIBE

Get the next field note by email.

Signing up adds you to the waitlist: we send each new post, and may write to you about early access.