{"id":"CVE-2026-104139","state":"PUBLISHED","title":"OpenEMR: Missing Authorization on Document Template Download Endpoint Allows Any Authenticated User to Read Another Patient's PHI","description":"OpenEMR is a free and open source electronic health records and medical practice management application. Prior to 8.3.0, library/ajax/set_pt.php allows any authenticated user to set an arbitrary patient identifier in the active session without an ACL check, and interface/patient_file/download_template.php trusts that session value while enforcing only CSRF validation. A low-privilege user can select another patient and download a rendered document template containing the patient's demographics, encounter information, allergies, medications, and problem list despite lacking patients/docs access. This issue is fixed in version 8.3.0.","publishedAt":"2026-11-05T19:55:24.266Z","updatedAt":"2026-11-09T18:10:11.383Z","severity":{"score":6.5,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["openemr openemr"],"affected":[{"vendor":"openemr","product":"openemr","versions":[{"version":"< 8.3.0","status":"affected"}]}],"references":["https://github.com/openemr/openemr/security/advisories/GHSA-r3q3-p493-95x8","https://github.com/openemr/openemr/pull/13200","https://github.com/openemr/openemr/commit/7973cab3fe3f2fd2374ed71c02605e3c93491c36","https://github.com/openemr/openemr/releases/tag/v8_3_0"],"weaknesses":["CWE-862"],"ingestedAt":"2026-11-09T18:30:06.327Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/104xxx/CVE-2026-104139.json","commit":"d60ea880d6adf9ea9b875ec227123f6920b099ad","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-104139","state":"PUBLISHED","datePublished":"2026-11-05T19:55:24.266Z","dateUpdated":"2026-11-09T18:10:11.383Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-10-01T18:47:30.994Z"},"containers":{"cna":{"title":"OpenEMR: Missing Authorization on Document Template Download Endpoint Allows Any Authenticated User to Read Another Patient's PHI","descriptions":[{"lang":"en","value":"OpenEMR is a free and open source electronic health records and medical practice management application. Prior to 8.3.0, library/ajax/set_pt.php allows any authenticated user to set an arbitrary patient identifier in the active session without an ACL check, and interface/patient_file/download_template.php trusts that session value while enforcing only CSRF validation. A low-privilege user can select another patient and download a rendered document template containing the patient's demographics, encounter information, allergies, medications, and problem list despite lacking patients/docs access. This issue is fixed in version 8.3.0."}],"affected":[{"vendor":"openemr","product":"openemr","versions":[{"version":"< 8.3.0","status":"affected"}]}],"references":[{"url":"https://github.com/openemr/openemr/security/advisories/GHSA-r3q3-p493-95x8","name":"https://github.com/openemr/openemr/security/advisories/GHSA-r3q3-p493-95x8","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/openemr/openemr/pull/13200","name":"https://github.com/openemr/openemr/pull/13200","tags":["x_refsource_MISC"]},{"url":"https://github.com/openemr/openemr/commit/7973cab3fe3f2fd2374ed71c02605e3c93491c36","name":"https://github.com/openemr/openemr/commit/7973cab3fe3f2fd2374ed71c02605e3c93491c36","tags":["x_refsource_MISC"]},{"url":"https://github.com/openemr/openemr/releases/tag/v8_3_0","name":"https://github.com/openemr/openemr/releases/tag/v8_3_0","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":6.5,"baseSeverity":"MEDIUM","confidentialityImpact":"HIGH","integrityImpact":"NONE","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-862","lang":"en","description":"CWE-862: Missing Authorization","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-11-05T19:55:24.266Z"},"source":{"advisory":"GHSA-r3q3-p493-95x8","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/openemr/openemr/security/advisories/GHSA-r3q3-p493-95x8","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-11-09T18:08:27.233161Z","id":"CVE-2026-104139","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-11-09T18:10:11.383Z"}}]}}}