{"answers":{"affected":"6 open source packages ship an affected version, including dev.dsf:dsf-bpe-server, dev.dsf:dsf-common-jetty and dev.dsf:dsf-fhir-server.","exploited":"There is no known exploitation of CVE-2026-40939 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2026-40939 yet. Limit exposure of the affected software until one is available.","what":"CVE-2026-40939 is a medium-severity missing authorization vulnerability in datasharingframework dsf, published on 21 Apr 2026. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-40939 and fix it if it is affected.\n\nWhat it is: CVE-2026-40939 is a medium-severity missing authorization vulnerability in datasharingframework dsf, published on 21 Apr 2026. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-40939 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- dev.dsf:dsf-bpe-server (Maven): affected all versions; no fix listed\n- dev.dsf:dsf-bpe-server (Maven): affected all versions; no fix listed\n- dev.dsf:dsf-common-jetty (Maven): affected all versions; no fix listed\n- dev.dsf:dsf-common-jetty (Maven): affected all versions; no fix listed\n- dev.dsf:dsf-fhir-server (Maven): affected all versions; no fix listed\n- dev.dsf:dsf-fhir-server (Maven): affected all versions; no fix listed\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-40939/ (Markdown: https://insights.sbomify.com/CVE-2026-40939/index.md)","id":"CVE-2026-40939","markdown":"https://insights.sbomify.com/CVE-2026-40939/index.md","name":"CVE-2026-40939","record":{"aliases":["GHSA-gj7p-595x-qwf5"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["account_takeover","security_bypass"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Data Sharing Framework","requires_auth":"none","summary":"Attackers can maintain indefinite access via expired OIDC sessions due to missing inactivity timeouts in the Data Sharing Framework.","user_interaction":"not_required","vuln_class":"missing_authorization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":6.8,"severity":"medium","source":"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","version":"4.0"},"cwes":[{"id":"CWE-613","name":"DEPRECATED: Insufficient Session Expiration"}],"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.","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":false,"headline":"DSF: Missing Session Timeout for OIDC Sessions","id":"CVE-2026-40939","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"missing_authorization","year":"2026"},"n_packages":6,"n_references":4,"next":{"headline":"Cacti: Package Import Signature Validation Bypass Allows Self-Signed Packages","id":"CVE-2026-40941"},"packages":[{"ecosystem":"Maven","fixed":[],"introduced":["0"],"last_affected":[],"package":"dev.dsf:dsf-bpe-server","purl":null,"source":"GHSA-gj7p-595x-qwf5"},{"ecosystem":"Maven","fixed":[],"introduced":["0"],"last_affected":[],"package":"dev.dsf:dsf-bpe-server","purl":"pkg:maven/dev.dsf/dsf-bpe-server","source":"GHSA-gj7p-595x-qwf5"},{"ecosystem":"Maven","fixed":[],"introduced":["0"],"last_affected":[],"package":"dev.dsf:dsf-common-jetty","purl":null,"source":"GHSA-gj7p-595x-qwf5"},{"ecosystem":"Maven","fixed":[],"introduced":["0"],"last_affected":[],"package":"dev.dsf:dsf-common-jetty","purl":"pkg:maven/dev.dsf/dsf-common-jetty","source":"GHSA-gj7p-595x-qwf5"},{"ecosystem":"Maven","fixed":[],"introduced":["0"],"last_affected":[],"package":"dev.dsf:dsf-fhir-server","purl":null,"source":"GHSA-gj7p-595x-qwf5"},{"ecosystem":"Maven","fixed":[],"introduced":["0"],"last_affected":[],"package":"dev.dsf:dsf-fhir-server","purl":"pkg:maven/dev.dsf/dsf-fhir-server","source":"GHSA-gj7p-595x-qwf5"}],"prev":{"headline":"Tekton Pipelines: Git Resolver Unsanitized Revision Parameter Enables git Argument Injection Leading to RCE","id":"CVE-2026-40938"},"products":["dsf","dsf-bpe-server","dsf-common-jetty","dsf-fhir-server"],"published":"2026-04-21","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-04-22","vendors":["datasharingframework","dev.dsf"]},"summary":"Attackers can maintain indefinite access via expired OIDC sessions due to missing inactivity timeouts in the Data Sharing Framework.","url":"https://insights.sbomify.com/CVE-2026-40939/"}