Skip to main content
VulnerabilityPublished

CVE-2026-40942: datasharingframework dsf · Always-Incorrect Control Flow Implementation

Affects datasharingframework dsfSource CVE Database V5

0
Compare

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

CVSS 4.0 base score
6.3Medium
How severe the flaw is on the 0–10 CVSS scale.
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:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 21 Apr 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
datasharingframeworkdsfAffected
  • <2.1.0
Fixed in
  • 2.1.0
dev.dsfdsf-bpe-process-api-v2Affected
  • <2.1.0
Fixed in
  • 2.1.0
dev.dsfdsf-bpe-serverAffected
  • <2.1.0
Fixed in
  • 2.1.0
GitHubdatasharingframework/dsfpkg:github/datasharingframework/dsfOther threatsAffected
  • <2.1.0
Fixed in
  • 2.1.0

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

Community reviews

Loading reviews…