CVE-2024-39694
Duende IdentityServer Open Redirect vulnerability
Also known as GHSA-ff4q-64jc-gx98
Mitigation
- Upgrade Duende.IdentityServer to one of 7.0.6, 6.3.10, 6.2.5, 6.1.8, 6.0.5 (or later in the same release line).
Who should check
- Projects that depend on NuGet package Duende.IdentityServer (>= 7.0.0-preview.1, < 7.0.6)
- Projects that depend on NuGet package IdentityServer4 (<= 4.1.2)
- Anyone running DuendeSoftware IdentityServer < 6.0.5; >= 6.1.0-preview.1, <= 6.1.7; >= 6.2.0-preview.1, <= 6.2.4; >= 6.3.0-preview.1, <= 6.3.9; >= 7.0.0-preview.1, <= 7.0.5
Vulnerability facts
- Affected
- Duende.IdentityServer >= 7.0.0-preview.1, < 7.0.6; IdentityServer4 <= 4.1.2
- Fixed in
- 7.0.6, 6.3.10, 6.2.5, 6.1.8, 6.0.5
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 4.7 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:N/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: Required
- Scope: Changed (impact reaches other components)
- Confidentiality impact: Low
- Integrity impact: None
- Availability impact: None
- EPSS
- 0.82% chance of exploitation in 30 days (percentile 54, 2026-11-26)
- CWE
- CWE-601
- Modified
Description
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| NuGet Duende.IdentityServer | >= 7.0.0-preview.1, < 7.0.6 | 7.0.6, 6.3.10, 6.2.5, 6.1.8, 6.0.5 | osv |
| NuGet IdentityServer4 | <= 4.1.2 | — | osv |
| DuendeSoftware IdentityServer | < 6.0.5; >= 6.1.0-preview.1, <= 6.1.7; >= 6.2.0-preview.1, <= 6.2.4; >= 6.3.0-preview.1, <= 6.3.9; >= 7.0.0-preview.1, <= 7.0.5 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2024-39694. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2024-39694.md Affected: Duende.IdentityServer >= 7.0.0-preview.1, < 7.0.6; IdentityServer4 <= 4.1.2 Fixed in: 7.0.6, 6.3.10, 6.2.5, 6.1.8, 6.0.5 Steps: 1. Search this machine and project for Duende.IdentityServer (NuGet), IdentityServer4 (NuGet), DuendeSoftware IdentityServer: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Patches
- https://github.com/DuendeSoftware/IdentityServer/commit/269ca2171fe1e901c87f2f0797bbc7c230db87c6
- https://github.com/DuendeSoftware/IdentityServer/commit/765116a2d4fb0671b6eba015e698533900c61c8e
- https://github.com/DuendeSoftware/IdentityServer/commit/d0d8eab35ad9183b14925496803ed8b36658d0a1
- https://github.com/DuendeSoftware/IdentityServer/commit/f04cf0be859b93f43563f8f812eb92206ad94011
- https://github.com/DuendeSoftware/IdentityServer/commit/fe817b499933d6ed6141b153492d7335c28b184a
FAQ
Is CVE-2024-39694 being exploited?
There is no confirmed exploitation: CVE-2024-39694 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.82% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2024-39694?
Medium: CVSS 4.7 (v3.1, scored by CNA). Remote, no login needed. A user has to take an action, such as opening a link, for the attack to work.
Which versions are affected by CVE-2024-39694?
Duende.IdentityServer >= 7.0.0-preview.1, < 7.0.6; IdentityServer4 <= 4.1.2.
Is there a fix for CVE-2024-39694?
Yes. Fixed in 7.0.6, 6.3.10, 6.2.5, 6.1.8, 6.0.5. Upgrade Duende.IdentityServer to one of 7.0.6, 6.3.10, 6.2.5, 6.1.8, 6.0.5 (or later in the same release line).
How do I check if I'm affected by CVE-2024-39694?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.