CVE-2026-40942: datasharingframework dsf · Always-Incorrect Control Flow Implementation
Affects datasharingframework dsfSource CVE Database V5
Not known to be exploited · CVSS 6.3 Medium : upgrade to 2.1.0 when convenient.
Data as of 30 Oct 2026, 11:52 UTC
- EPSS
- 0.2% chance of exploitation in 30 days – higher than 21% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 2.1.0
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 21 Apr 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Oct 2026.
What to do
Upgrade dsf and dsf-bpe-process-api-v2 and dsf-bpe-server and datasharingframework/dsf to 2.1.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| datasharingframeworkdsf | Affected
| Fixed in
|
| dev.dsfdsf-bpe-process-api-v2 | Affected
| Fixed in
|
| dev.dsfdsf-bpe-server | Affected
| Fixed in
|
GitHubdatasharingframework/dsfpkg:github/datasharingframework/dsfOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade the Data Sharing Framework to version 2.1.0 or later, where this caching logic flaw is fixed. No other mitigation or workaround is indicated. Patch status is not explicitly stated but the fix is included in version 2.1.0, so upgrading to this version or newer is the recommended remediation.
Description
CVE-2026-40942 affects the Data Sharing Framework (DSF) versions prior to 2.1.0. The vulnerability arises from incorrect time comparison logic in caching mechanisms for OIDC JWKS and Metadata Document as well as OIDC token cache. Specifically, inverted time comparisons cause the OIDC metadata and keys cache to never return cached values, resulting in unnecessary HTTP fetches, and the OIDC token cache to never invalidate, causing expired tokens to be reused. This issue is fixed in version 2.1.0.
References
- github.com/datasharingframework/dsf/security/advisories/GHSA-xmj9-7625-f634 (opens in a new tab)
- github.com/datasharingframework/dsf/commit/31c2e974dfd4351756104ee8c53dbcd666192fef (opens in a new tab)
- github.com/datasharingframework/dsf/commit/d3ca59b4daccde16a006fedeccce28fd1f826908 (opens in a new tab)