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

- Severity: Medium 4.7 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.53%, higher than 46% of CVEs (2026-12-01)
- Published: 2024-07-31T15:28:54.000Z
- Modified: 2026-06-17T07:42:29.117Z
- Also known as: GHSA-ff4q-64jc-gx98
- Weaknesses: CWE-601
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- 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
- Duende.IdentityServer (NuGet): from 7.0.0-preview.1 before 7.0.6; from 6.3.0-preview.1 before 6.3.10; from 6.2.0-preview.1 before 6.2.5; from 6.1.0-preview.1 before 6.1.8; from 6.0.0-preview.1 before 6.0.5
- IdentityServer4 (NuGet): up to 4.1.2

## Every score

- GitHub_M: CVSS:3.1 4.7 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:N/A:N`
- GitHub: CVSS:3.1 4.7 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:N/A:N`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:L/VI:N/VA:N/SC:L/SI:N/SA:N`

## References

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

## Sources

- CVE List: [CVE-2024-39694](https://www.cve.org/CVERecord?id=CVE-2024-39694), CVE Terms of Use, modified 2024-07-31
- GitHub Advisory Database: [GHSA-ff4q-64jc-gx98](https://github.com/advisories/GHSA-ff4q-64jc-gx98), CC-BY-4.0, modified 2024-07-31
- NVD: [CVE-2024-39694](https://nvd.nist.gov/vuln/detail/CVE-2024-39694), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-39694 · Whole record: https://cve.day/CVE-2024-39694.json · Rebuilt by cve.day 2026-11-25T22:58:43.478Z
