{"cve":"CVE-2026-40942","nvd":{"published":"2026-04-21T22:16:19.700","modified":"2026-10-26T22:10:00.163","status":"Deferred","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.","cvss_v4":{"vector":"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","score":6.3},"cvss_v3":null,"cwes":["CWE-670"],"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"],"products":[],"source":"nvd","synced_at":"2026-10-26T22:26:44.656832877+00:00"},"epss":{"cve":"CVE-2026-40942","score":0.00291,"percentile":0.21518,"date":"2026-10-26"},"kev":null,"osv":[{"id":"GHSA-xmj9-7625-f634","url":"https://osv.dev/vulnerability/GHSA-xmj9-7625-f634","summary":"Data Sharing Framework has an Inverted Time Comparison in OIDC JWKS and Token Cache","modified":"2026-09-10T03:50:44.976919214Z","packages":[{"ecosystem":"Maven","name":"dev.dsf:dsf-bpe-process-api-v2","purl":"pkg:maven/dev.dsf/dsf-bpe-process-api-v2","ranges":["all versions"],"fixed":[]},{"ecosystem":"Maven","name":"dev.dsf:dsf-bpe-server","purl":"pkg:maven/dev.dsf/dsf-bpe-server","ranges":["all versions"],"fixed":[]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}