Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2025-26620

MEDIUM 6.3EPSS 46%

Duende.AccessTokenManagement race condition when concurrently retrieving customized Client Credentials Access Tokens

Also known as GHSA-qxj7-2x7w-3mpp

Mitigation

  • Upgrade Duende.AccessTokenManagement to 3.2.0 or later.

Who should check

  • Projects that depend on NuGet package Duende.AccessTokenManagement (< 3.2.0)
  • Anyone running DuendeSoftware foss < 3.2.0

Vulnerability facts

Affected
Duende.AccessTokenManagement < 3.2.0
Fixed in
3.2.0
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, no login needed
CVSS
6.3 (v4.0, CNA)CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:L/SI:L/SA:NOpen in CVSS calculator
Show all 11 CVSS metrics
  • Attack vector: Network
  • Attack complexity: Low
  • Attack requirements: Present
  • Privileges required: None
  • User interaction: None
  • Confidentiality impact: Low
  • Integrity impact: Low
  • Availability impact: None
  • Confidentiality impact on other systems: Low
  • Integrity impact on other systems: Low
  • Availability impact on other systems: None
EPSS
0.66% chance of exploitation in 30 days (percentile 46, 2026-11-26)
CWE
CWE-367
Published
Modified

Description

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.

Affected and fixed versions

Package / productAffectedFixedSource
NuGet Duende.AccessTokenManagement< 3.2.03.2.0osv
DuendeSoftware foss< 3.2.0—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-2025-26620. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-26620.md
Affected: Duende.AccessTokenManagement < 3.2.0
Fixed in: 3.2.0

Steps:
1. Search this machine and project for Duende.AccessTokenManagement (NuGet), DuendeSoftware foss: 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

FAQ

Is CVE-2025-26620 being exploited?

There is no confirmed exploitation: CVE-2025-26620 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.66% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2025-26620?

Medium: CVSS 6.3 (v4.0, scored by CNA). Remote, no login needed.

Which versions are affected by CVE-2025-26620?

Duende.AccessTokenManagement < 3.2.0.

Is there a fix for CVE-2025-26620?

Yes. Fixed in 3.2.0. Upgrade Duende.AccessTokenManagement to 3.2.0 or later.

How do I check if I'm affected by CVE-2025-26620?

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.

Sponsors