# CVE-2026-25146: OpenEMR's payments gateway_api_key secret rendered into client JS code

- Severity: Critical 9.6 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/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.48%, higher than 43% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-03-03T22:08:22.564Z
- Modified: 2026-06-17T10:24:11.307Z
- Weaknesses: CWE-200
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

OpenEMR is a free and open source electronic health records and medical practice management application. From 5.0.2 to before 8.0.0, there are (at least) two paths where the gateway_api_key secret value is rendered to the client in plaintext. These secret keys being leaked could result in arbitrary money movement or broad account takeover of payment gateway APIs. This vulnerability is fixed in 8.0.0.

(As written by CVE List.)

## Affected

- openemr openemr: >= 5.0.2, < 8.0.0
- open-emr openemr: from 5.0.2 before 8.0.0

## Every score

- GitHub_M: CVSS:3.1 9.6 Critical `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N`
- NVD: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N`

## References

- <https://github.com/openemr/openemr/security/advisories/GHSA-2hq8-wc73-jvvq> (exploit, vendor-advisory)
- <https://github.com/openemr/openemr/commit/fe6341496dc82d5b4f5a3f35891bb2e2481f3b25> (patch)
- <https://github.com/openemr/openemr/blob/6a4e18c5ec73e0c755f6f65b28a9652aded1a58b/interface/patient_file/front_payment.php#L765> (product)
- <https://github.com/openemr/openemr/blob/6a4e18c5ec73e0c755f6f65b28a9652aded1a58b/portal/portal_payment.php#L537> (product)

## Sources

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

---

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