Skip to content
Heist/ feed
Back to feed
Critical

OpenEMR has an Unauthenticated MedEx Token Disclosure

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-24898
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 04:48 UTC · Revision 1

Source evidence

OpenEMR has an Unauthenticated MedEx Token Disclosure

core-osv · Original source

Published 3 Mar 2026, 22:10 UTC

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.

osv:CVE-2026-24898
Complete source record
{
  "id": "bf01a717e650a92f8204ee6ce28273aee408dafb9659688c3c58199e41fcbdbe",
  "url": "https://osv.dev/vulnerability/CVE-2026-24898",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "OpenEMR has an Unauthenticated MedEx Token Disclosure",
    "summary": "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.",
    "evidence": "osv:CVE-2026-24898",
    "products": [],
    "severity": "critical",
    "structured": {
      "id": "CVE-2026-24898",
      "aliases": [
        "CVE-2026-24898",
        "GHSA-qwff-3mw7-7rc7"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/openemr/openemr",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "b91b73600327acb46252b9fce7d04467eea126fd"
                },
                {
                  "fixed": "8e4de59ab58222f13abc4e4040128737d857db9c"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:open-emr:openemr:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "8.0.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "8e4de59ab58222f13abc4e4040128737d857db9c"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v3_0_1",
            "v3_0_0",
            "v2_9_0",
            "v2_8_3",
            "v2_8_2",
            "v2_8_1",
            "v2_8_0",
            "v2_7_3-rc1",
            "v2_7_2",
            "v2_7_2-rc2",
            "v2_7_2-rc1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-24898.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:33.221254393Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/24xxx/CVE-2026-24898.json",
        "https://github.com/openemr/openemr/security/advisories/GHSA-qwff-3mw7-7rc7",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-24898",
        "https://github.com/openemr/openemr/commit/8e4de59ab58222f13abc4e4040128737d857db9c"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-287"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/24xxx/CVE-2026-24898.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-24898",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 500380,
  "published_at": "2026-03-03T22:10:30.282+00:00"
}