Live threats

All CVEs / DuendeSoftware

CVE-2024-39694DuendeSoftware IdentityServer

Medium 4.7 No auth needed

Priority
43
CVSS 3.1
4.7
EPSS
0.8%
probability of exploitation in 30 days · percentile 54
Auth required
No
Published
Jul 31, 2024
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-601
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:N/A:N

What happens

Duende IdentityServer is an OpenID Connect and OAuth 2.x framework for ASP.NET Core. It is possible for an attacker to craft malicious Urls that certain functions in IdentityServer will incorrectly treat as local and trusted. If such a Url is returned as a redirect, some browsers will follow it to a third-party, untrusted site. Note: by itself, this vulnerability does **not** allow an attacker to obtain user credentials, authorization codes, access tokens, refresh tokens, or identity tokens. An attacker could however exploit this vulnerability as part of a phishing attack designed to steal user credentials. This vulnerability is fixed in 7.0.6, 6.3.10, 6.2.5, 6.1.8, and 6.0.5. Duende.IdentityServer 5.1 and earlier and all versions of IdentityServer4 are no longer supported and will not be receiving updates. If upgrading is not possible, use `IUrlHelper.IsLocalUrl` from ASP.NET Core to validate return Urls in user interface code in the IdentityServer host.

Original NVD text.

What to do

  1. Apply the vendor's security update for IdentityServer.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
NuGet Duende.IdentityServer ≥ 7.0.0-preview.1 < 7.0.6 7.0.6 dotnet add package Duende.IdentityServer --version 7.0.6
NuGet Duende.IdentityServer ≥ 6.3.0-preview.1 < 6.3.10 6.3.10 dotnet add package Duende.IdentityServer --version 6.3.10
NuGet Duende.IdentityServer ≥ 6.2.0-preview.1 < 6.2.5 6.2.5 dotnet add package Duende.IdentityServer --version 6.2.5
NuGet Duende.IdentityServer ≥ 6.1.0-preview.1 < 6.1.8 6.1.8 dotnet add package Duende.IdentityServer --version 6.1.8
NuGet Duende.IdentityServer ≥ 6.0.0-preview.1 < 6.0.5 6.0.5 dotnet add package Duende.IdentityServer --version 6.0.5
NuGet IdentityServer4 ≤ 4.1.2 no fixed version —

Per OSV / GitHub Advisories (GHSA-ff4q-64jc-gx98). Check the version in your lockfile before upgrading.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official sources

References

Links published by the sources. Open them with care.