# CVE-2026-27943: OpenEMR's Eye Exam View Trusts form_id Without Verifying Patient/Encounter Ownership

- Severity: Medium 6.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.31%, higher than 25% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-02-26T01:30:31.363Z
- Modified: 2026-06-17T10:27:57.000Z
- Weaknesses: CWE-639
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

OpenEMR is a free and open source electronic health records and medical practice management application. In versions up to and including 8.0.0, the eye exam (eye_mag) view loads data by `form_id` (or equivalent) without verifying that the form belongs to the current user’s patient/encounter context. An authenticated user can access or edit any patient’s eye exam by supplying another form ID; in some flows the session’s active patient may also be switched. A fix is available on the `main` branch of the OpenEMR GitHub repository.

(As written by CVE List.)

## Affected

- openemr openemr: <= 8.0.0
- open-emr openemr: up to 8.0.0

## References

- <https://github.com/openemr/openemr/security/advisories/GHSA-q96x-qw99-6xq9> (exploit, vendor-advisory)
- <https://github.com/openemr/openemr/commit/c87489bf63f2701b634d948279e104f2ed3df1c0> (patch)

## Sources

- CVE List: [CVE-2026-27943](https://www.cve.org/CVERecord?id=CVE-2026-27943), CVE Terms of Use, modified 2026-02-26
- NVD: [CVE-2026-27943](https://nvd.nist.gov/vuln/detail/CVE-2026-27943), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-27943 · Whole record: https://cve.day/CVE-2026-27943.json · Rebuilt by cve.day 2026-11-25T22:59:14.939Z
