# CVE-2024-39694: Duende IdentityServer Open Redirect vulnerability

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 4.7
- **CVSS:** 4.7 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:N/A:N`
- **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
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.82% (percentile 54, 2026-11-26)
- **CWE:** CWE-601
- **Aliases:** GHSA-ff4q-64jc-gx98
- **Published:** 2024-07-31T15:28:54.000Z
- **Modified:** 2026-06-17T07:42:29.117Z

## 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

## 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

- NuGet `Duende.IdentityServer`: affected \>= 7.0.0-preview.1, \< 7.0.6; fixed 7.0.6, 6.3.10, 6.2.5, 6.1.8, 6.0.5 (osv)
- NuGet `IdentityServer4`: affected \<= 4.1.2; fixed no fix listed yet (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)

## 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).

## Check your systems with an agent

Paste this into a coding agent:

```text
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.
```

## 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.

## References

- vendor: <https://github.com/DuendeSoftware/IdentityServer/security/advisories/GHSA-ff4q-64jc-gx98>
- vendor: <https://github.com/IdentityServer/IdentityServer4/security/advisories/GHSA-55p7-v223-x366>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2024-39694>
- patch: <https://github.com/DuendeSoftware/IdentityServer/commit/269ca2171fe1e901c87f2f0797bbc7c230db87c6>
- patch: <https://github.com/DuendeSoftware/IdentityServer/commit/765116a2d4fb0671b6eba015e698533900c61c8e>
- patch: <https://github.com/DuendeSoftware/IdentityServer/commit/d0d8eab35ad9183b14925496803ed8b36658d0a1>
- patch: <https://github.com/DuendeSoftware/IdentityServer/commit/f04cf0be859b93f43563f8f812eb92206ad94011>
- patch: <https://github.com/DuendeSoftware/IdentityServer/commit/fe817b499933d6ed6141b153492d7335c28b184a>
- other: <https://github.com/DuendeSoftware/IdentityServer>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-39694>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-ff4q-64jc-gx98> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2024-39694> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-39694>
