CVE-2025-26620

Source
https://nvd.nist.gov/vuln/detail/CVE-2025-26620
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-26620.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-26620
Aliases
Published
2025-02-18T18:15:36Z
Modified
2025-02-19T08:58:41.568602Z
Summary
[none]
Details

Duende.AccessTokenManagement is a set of .NET libraries that manage OAuth and OpenId Connect access tokens. Duende.AccessTokenManagement contains a race condition when requesting access tokens using the client credentials flow. Concurrent requests to obtain an access token using differing protocol parameters can return access tokens obtained with the wrong scope, resource indicator, or other protocol parameters. Such usage is somewhat atypical, and only a small percentage of users are likely to be affected. Duende.AccessTokenManagement can request access tokens using the client credentials flow in several ways. In basic usage, the client credentials flow is configured once and the parameters do not vary. In more advanced situations, requests with varying protocol parameters may be made by calling specific overloads of these methods: HttpContext.GetClientAccessTokenAsync() and IClientCredentialsTokenManagementService.GetAccessTokenAsync(). There are overloads of both of these methods that accept a TokenRequestParameters object that customizes token request parameters. However, concurrent requests with varying TokenRequestParameters will result in the same token for all concurrent calls. Most users can simply update the NuGet package to the latest version. Customizations of the IClientCredentialsTokenCache that derive from the default implementation (DistributedClientCredentialsTokenCache) will require a small code change, as its constructor was changed to add a dependency on the ITokenRequestSynchronization service. The synchronization service will need to be injected into the derived class and passed to the base constructor. The impact of this vulnerability depends on how Duende.AccessTokenManagement is used and on the security architecture of the solution. Most users will not be vulnerable to this issue. More advanced users may run into this issue by calling the methods specified above with customized token request parameters. The impact of obtaining an access token with different than intended protocol parameters will vary depending on application logic, security architecture, and the authorization policy of the resource servers.

References

Affected packages

Git / github.com/duendesoftware/foss

Affected ranges

Type
GIT
Repo
https://github.com/duendesoftware/foss
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

1.*

1.0.0
1.0.0-preview.1
1.0.0-preview.2
1.0.0-preview.3
1.0.0-preview.4
1.0.0-preview.5
1.1.0

2.*

2.0.0
2.0.0-preview.1
2.0.0-preview.1.1
2.0.0-preview.1.2
2.0.0-preview.1.3
2.0.1
2.0.2
2.0.3
2.1.0
2.1.0-preview.1
2.1.1
2.1.2
2.10.0
2.11.0
2.12.0
2.13.0
2.14.0
2.15.0
2.16.0
2.16.1
2.2.0
2.2.1
2.2.2
2.3.0
2.3.1
2.4.0
2.5.0
2.5.1
2.6.0
2.7.0
2.8.0
2.8.1
2.9.0
2.9.1

3.*

3.0.0
3.0.0-preview.1
3.0.0-preview.2
3.0.0-preview.3
3.0.1
3.1.0
3.1.0-preview1
3.1.1
3.1.2
3.10.0
3.10.0-arran
3.10.1
3.10.10
3.10.2
3.10.3
3.10.4
3.10.5
3.10.6
3.10.7
3.10.8
3.10.9
3.2.0
3.3.0
3.3.1
3.5.0
3.6.0
3.6.1
3.7.0
3.7.1
3.8.0
3.9.0

4.*

4.0.0
4.0.0-preview.1
4.0.0-preview.2
4.0.0-preview.3
4.0.0-preview.4
4.0.0-preview.5
4.0.0-preview.6
4.0.0-preview.7
4.0.0-preview.8
4.1.0
4.1.1
4.1.2
4.2.0
4.3.0
4.3.1
4.4.0
4.5.0
4.6.0

5.*

5.0.0
5.0.0-preview.1
5.0.0-preview.2
5.0.1
5.0.2
5.1.0
5.1.0-preview.1
5.1.1
5.2.0
5.2.0-preview.1
5.2.1
5.3.0-preview.1

6.*

6.0.0
6.0.0-preview.0
6.0.0-preview.1
6.0.0-preview.2
6.0.0-preview.3
6.1.0
6.1.0-preview.1
6.1.0-preview.2
6.1.0-preview.3
6.1.0-preview.4
6.1.0-preview.5
6.1.0-preview.6
6.2.0

7.*

7.0.0
7.0.0-preview.1
7.0.0-preview.2
7.0.0-preview.3
7.0.0-preview.4

atm-3.*

atm-3.0.0
atm-3.1.0
atm-3.1.0-preview.1
atm-3.1.1

Other

beta1

im-7.*

im-7.0.0
im-7.0.0-preview.1
im-7.0.0-preview.2

it-0.*

it-0.0.1-preview.1