CVE-2026-40942
published medium CVSS 4.0 · 6.3DSF: Inverted Time Comparison in OIDC JWKS and Token Cache
Package status and fixes
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.3 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- 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
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| datasharingframework | dsf | < 2.1.0 (affected) | GitHub_M · cna |
| dev.dsf | dsf-bpe-process-api-v2 | < 2.1.0 (affected) | GitHub_M · cna |
| dev.dsf | dsf-bpe-server | < 2.1.0 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-670 CWE-670: Always-Incorrect Control Flow Implementation
References
3Provider assertions
2GitHub_M · cna
DSF: Inverted Time Comparison in OIDC JWKS and Token Cache
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- b0c253d66a8f644c02aeb5e0cb2c7a358dedacbc291d23aaf8c60b5d8cc3be7d
- Ingested
- 23 Sep 2026, 09:13:21 UTC
- Source record
- Official CVE record