What’s Vulnerable › Vulnerabilities

CVE-2026-24898: OpenEMR has an Unauthenticated MedEx Token Disclosure

Description

OpenEMR is a free and open source electronic health records and medical practice management application. Prior to 8.0.0, an unauthenticated token disclosure vulnerability in the MedEx callback endpoint allows any unauthenticated visitor to obtain the practice's MedEx API tokens, leading to complete third-party service compromise, PHI exfiltration, unauthorized actions on the MedEx platform, and HIPAA violations. The vulnerability exists because the endpoint bypasses authentication ($ignoreAuth = true) and performs a MedEx login whenever $_POST['callback_key'] is provided, returning the full JSON response including sensitive API tokens. This vulnerability is fixed in 8.0.0.

Affected products

How to fix

Upgrade to a fixed version: openemr 8.0.0. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-24898 or the next vulnerability affects your stack