{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2026-134020 in the wild and no public exploit code.","exposure":"An affected version is exposed as installed. No special setting or call is needed.","fix":"Upgrade openemr to 8.5.0 or later. The advisory says that version fixes it.","what":"CVE-2026-134020 is a medium-severity missing authorization vulnerability in openemr, published on 23 Nov 2026. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-134020 and fix it if it is affected.\n\nWhat it is: CVE-2026-134020 is a medium-severity missing authorization vulnerability in openemr, published on 23 Nov 2026. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-134020 in the wild and no public exploit code.\nExposure: An affected version is exposed as installed. No special setting or call is needed.\n\nAffected product: openemr. No package-level version data is available, so check the vendor advisory linked from the reference page.\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-134020/ (Markdown: https://insights.sbomify.com/CVE-2026-134020/index.md)","id":"CVE-2026-134020","markdown":"https://insights.sbomify.com/CVE-2026-134020/index.md","name":"CVE-2026-134020","record":{"aliases":["GHSA-9f97-gqgj-wr6g"],"analysis":{"component_type":"web_application","exploitable_when_present":false,"fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"health records application","requires_auth":"low_privilege","requires_specific_call":false,"summary":"Any authenticated OpenEMR staff can read patient demographics and Social Security numbers via the portal activity view API.","user_interaction":"not_required","vuln_class":"missing_authorization","vulnerable_functions":["OnsiteActivityViewController::Query()","OnsiteActivityViewController::Read()","OnsiteActivityViewReporter::GetCustomQuery()"]},"analysis_generated_by":"sbomify/insights-2b-fp8","assigner":"GitHub_M","component":null,"cpe":[],"cvss":{"score":6.5,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-862","name":"Missing Authorization"}],"description":"OpenEMR is a free and open source electronic health records and medical practice management application. Prior to 8.5.0, the staff-facing portal endpoints GET api/onsiteactivityviews and GET api/onsiteactivityview/{id}, mapped to OnsiteActivityView.Query and OnsiteActivityView.Read with p_acl = p_none in portal/patient/_app_config.php, are handled without an authorization check for an authenticated staff session whose bootstrap_pid is empty. portal/patient/_machine_config.php admits that authenticated staff session, and portal/patient/fwk/libs/verysimple/Phreeze/GenericRouter.php applies the route ACL only when bootstrap_pid is nonempty, so the staff request bypasses the p_none check. OnsiteActivityViewController::Query() returns records without patient scoping, and OnsiteActivityViewController::Read() loads a record by identifier without checking ACL or ownership; OnsiteActivityViewReporter::GetCustomQuery() joins portal activity to patient demographics and includes names, dates of birth, addresses, and Social Security numbers. Any authenticated staff account, including one without the patients/demo permission, can therefore read sensitive demographics for patients represented by an existing onsite_portal_activity row; at least one such row must exist for the endpoint to return patient data. This issue is fixed in version 8.5.0.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Missing authorization in openemr","id":"CVE-2026-134020","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"missing_authorization","year":"2026"},"main_cpe":null,"main_fixed":[],"main_package":null,"n_packages":0,"n_references":4,"n_vendor_status":0,"next":{"headline":"Business logic in TastyIgniter","id":"CVE-2026-134021"},"nickname":null,"packages":[],"prev":{"headline":"PyTables: Remote code execution via auto-unpickled HDF5 attributes","id":"CVE-2026-134019"},"products":["openemr"],"published":"2026-11-23","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","text_fixes":["8.5.0"],"updated":"2026-11-23","vendor_status":[],"vendors":["openemr"]},"summary":"Any authenticated OpenEMR staff can read patient demographics and Social Security numbers via the portal activity view API.","url":"https://insights.sbomify.com/CVE-2026-134020/"}