DSF: Inverted Time Comparison in OIDC JWKS and Token Cache
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- Present
- Impact type
- —
- Confidentiality · integrity · availability
- None · None · Low
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| datasharingframework | dsf | before 2.1.0 | 2.1.0 | Patch available | CNA |
| dev.dsf | dsf-bpe-process-api-v2 | before 2.1.0 | 2.1.0 | Patch available | CNA |
| dev.dsf | dsf-bpe-server | before 2.1.0 | 2.1.0 | Patch available | CNA |
| — | dev.dsf:dsf-bpe-process-api-v2 (Maven) | all versions | — | No fix listed | GHSA-xmj9-7625-f634 |
| — | dev.dsf:dsf-bpe-server (Maven) | all versions | — | No fix listed | GHSA-xmj9-7625-f634 |
- dsf Vendordatasharingframework Affected before 2.1.0 Fixed in 2.1.0 Patch available CNA
- dsf-bpe-process-api-v2 Vendordev.dsf Affected before 2.1.0 Fixed in 2.1.0 Patch available CNA
- dsf-bpe-server Vendordev.dsf Affected before 2.1.0 Fixed in 2.1.0 Patch available CNA
- dev.dsf:dsf-bpe-process-api-v2 (Maven) Vendor— Affected all versions Fixed in — No fix listed GHSA-xmj9-7625-f634
- dev.dsf:dsf-bpe-server (Maven) Vendor— Affected all versions Fixed in — No fix listed GHSA-xmj9-7625-f634
Remediation
- Fix · CNA dsf (datasharingframework) Fixed in 2.1.0
- Fix · CNA dsf-bpe-process-api-v2 (dev.dsf) Fixed in 2.1.0
- Fix · CNA dsf-bpe-server (dev.dsf) Fixed in 2.1.0
Timeline
- 2026-10-02 Threatist record created from CVE-2026-40942
- 2026-10-03 Alias added: GHSA-xmj9-7625-f634
References
Other 4
- https://github.com/datasharingframework/dsf/security/advisories/GHSA-xmj9-7625-f634
- https://github.com/datasharingframework/dsf/commit/31c2e974dfd4351756104ee8c53dbcd666192fef
- https://github.com/datasharingframework/dsf/commit/d3ca59b4daccde16a006fedeccce28fd1f826908
- https://github.com/datasharingframework/dsf
More datasharingframework vulnerabilities
- TI-2026-29591 DSF: Missing Session Timeout for OIDC Sessions CVSS 4.0MEDIUM 6.8
Sources
- CVE-2026-40942 · CVE Program
- CVE-2026-40942 · NVD
- FIRST EPSS
- GHSA-xmj9-7625-f634 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences