What’s Vulnerable › Vulnerabilities
CVE-2026-40942: DSF: Inverted Time Comparison in OIDC JWKS and Token Cache
- Severity: medium (CVSS 6.3 v4.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-04-21 · updated 2026-10-26
- Weakness: CWE-670
Description
The Data Sharing Framework (DSF) implements a distributed process engine based on the BPMN 2.0 and FHIR R4 standards. Prior to 2.1.0, The OIDC JWKS and Metadata Document caches used an inverted time comparison (isBefore instead of isAfter), causing the cache to never return cached values. Every incoming request triggered a fresh HTTP fetch of the OIDC Metadata Document and JWKS keys from the OIDC provider. The OIDC token cache for the FHIR client connections used an inverted time comparison (isBefore instead of isAfter), causing the cache to never invalidate. Every incoming request returned the same OIDC token even if expired. This vulnerability is fixed in 2.1.0.
Affected products
- datasharingframework dsf: before 2.1.0
- dev.dsf dsf-bpe-process-api-v2: before 2.1.0
- dev.dsf dsf-bpe-server: before 2.1.0
References
- https://github.com/datasharingframework/dsf/commit/31c2e974dfd4351756104ee8c53dbcd666192fef
- https://github.com/datasharingframework/dsf/commit/d3ca59b4daccde16a006fedeccce28fd1f826908
- https://github.com/datasharingframework/dsf/security/advisories/GHSA-xmj9-7625-f634
Get alerted when CVE-2026-40942 or the next vulnerability affects your stack