# CVE-2021-32101: The Patient Portal of OpenEMR 5.0.2.1 is affected by a incorrect access control system in portal/patient/machineconfig.php.

- Severity: High 8.2 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/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): 1.23%, higher than 69% of CVEs (2026-12-01)
- Published: 2021-05-07T03:50:56.000Z
- Modified: 2026-06-17T03:52:47.243Z
- Weaknesses: CWE-732
- Assigned by: mitre

## Description

The Patient Portal of OpenEMR 5.0.2.1 is affected by a incorrect access control system in portal/patient/_machine_config.php. To exploit the vulnerability, an unauthenticated attacker can register an account, bypassing the permission check of this portal's API. Then, the attacker can then manipulate and read data of every registered patient.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- open-emr openemr: 5.0.2.1

## Every score

- NVD: CVSS:3.1 8.2 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N`
- NVD: CVSS:2.0 6.4 Medium `AV:N/AC:L/Au:N/C:P/I:P/A:N`

## References

- <https://blog.sonarsource.com/openemr-5-0-2-1-command-injection-vulnerability> (third-party-advisory)
- <https://community.sonarsource.com/t/openemr-5-0-2-1-command-injection-vulnerability-puts-health-records-at-risk/33592> (third-party-advisory)
- <https://community.open-emr.org/t/openemr-5-0-2-patch-5-has-been-released/15431> (vendor-advisory)
- <https://portswigger.net/daily-swig/healthcare-security-openemr-fixes-serious-flaws-that-lead-to-command-execution-in-patient-portal> (third-party-advisory)

## Sources

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

---

Page: https://cve.day/CVE-2021-32101 · Whole record: https://cve.day/CVE-2021-32101.json · Rebuilt by cve.day 2026-11-25T22:58:01.188Z
