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.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-862"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/104xxx/CVE-2026-104139.json"
}{
"extracted_events": [
{
"cpe": "cpe:2.3:a:open-emr:openemr:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "8.3.0"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "7973cab3fe3f2fd2374ed71c02605e3c93491c36"
}
],
"source": "REFERENCES_COMMIT"
},
{
"original_tag": "v8_3_0",
"range": [
{
"fixed": "ebb62eb3036a726314ab3e1c3e9263a41608b17b"
}
],
"source": "REFERENCES_TAG"
}
]
}