Inefficient Algorithmic Complexity Affecting microsoft.extensions.validation package, versions [11.0.0-rc.1.26425.128, 11.0.0)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
1.08% (66th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DOTNET-MICROSOFTEXTENSIONSVALIDATION-22412169
  • published11 Nov 2026
  • disclosed9 Nov 2026
  • creditAlejandro Pacheco,Artur Stetsko

Introduced: 9 Nov 2026

NewCVE-2026-118749  (opens in a new tab)
CWE-407  (opens in a new tab)

How to fix?

Upgrade Microsoft.Extensions.Validation to version 11.0.0 or higher.

Overview

Affected versions of this package are vulnerable to Inefficient Algorithmic Complexity in the ValidateContext.ValidationErrors getter, which rebuilds the entire validation-error dictionary on every access instead of returning the existing one. An attacker can drive quadratic CPU consumption by submitting a request whose attacker-controlled collection produces many validation errors, and the work continues on the server after the client disconnects. Reaching this requires a Minimal API endpoint that uses the built-in validation feature.

CVSS Base Scores

version 4.0
version 3.1