You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
AI template AppHost restore fails with NU1903 for Aspire.Hosting.AppHost 13.4.6 #7942
Template execution tests for the Aspire aichatweb configurations fail on both CI legs (e.g. build 1677102 for #7933). Restore of the generated *.AppHost.csproj fails because of the new Aspire advisory GHSA-f7vh-h5g3-7jrh, which affects Aspire.Hosting and Aspire.Hosting.AppHost< 13.6.5.
The template references Aspire.Hosting.AppHost 13.4.6, which brings in Aspire.Hosting 13.4.6, so projects created from the template get the same warning.
Reproduction Steps
Run AIChatWebExecutionTests.TestAllSupportedConfigurations from test/ProjectTemplates/Microsoft.Extensions.AI.Templates.IntegrationTests on current main.
Expected behavior
Generated AppHost projects restore without vulnerability warnings and the tests pass.
Actual behavior
All --aspire=true cases and CreateRestoreAndBuild_AspireProjectName fail:
error NU1903: Warning As Error: Package 'Aspire.Hosting.AppHost' 13.4.6 has a known high severity vulnerability, https://github.com/advisories/GHSA-f7vh-h5g3-7jrh
Regression?
Yes. Nothing changed in the repo, the advisory was published on 2026-11-10.
Known Workarounds
Bump Aspire.Hosting.AppHost to 13.6.5. It depends on Aspire.Hosting 13.6.5, which depends on MessagePack 2.5.307, the version the template already pins since #7853.
Configuration
Windows and Ubuntu CI, .NET SDK 11.0.100-rc.3.26522.148, Aspire.Hosting.AppHost 13.4.6.
Activity