---
id: "CVE-2026-126453"
page: "https://infrastack.ai/live/CVE-2026-126453"
kind: "vulnerability"
aliases: ["CVE-2026-126453"]
title: "OpenEMR: expired patient document downloads stay available past their one-hour lifetime"
severity: "high"
cvss: 7.1
epss: null
exploited: false
status: "open"
category: "runtime"
products: []
ecosystems: []
tags: ["fhir", "healthcare", "openemr", "phi", "runtime", "self-hosted"]
not_affected_if: ["fhir-disabled", "version-8.5.0-or-later"]
published_at: "2026-11-13T10:17:53+00:00"
first_seen_at: "2026-11-13T10:47:23+00:00"
updated_at: "2026-11-13T10:53:05+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-126453", "first_seen_at": "2026-11-13T10:47:23+00:00"}]
exploit_sources: []
---

# OpenEMR: expired patient document downloads stay available past their one-hour lifetime

Link for people: https://infrastack.ai/live/CVE-2026-126453 (this .md is for agents)

OpenEMR before 8.5.0 has an inverted time check in its document expiry logic, so the FHIR Binary download endpoint treats one-hour-limited patient documents as still valid. An authenticated user who still holds access to a Binary resource can keep downloading expired bulk export files and CCD documents with protected health information.

_Summary, check and fix written by a model from the sources; labelled as such._

## How to check

- Check the installed OpenEMR version; versions below `8.5.0` are in the affected range.
- Look for the FHIR Binary endpoint and bulk export use in the deployment, since those are the paths the description names.

## Fix

- OpenEMR: move to `8.5.0` or later, per the NVD range (before 8.5.0).

## Timeline

- 2026-11-13T10:47:23+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-126453

## Documents

- [advisory] Vendor advisory: github.com https://github.com/openemr/openemr/security/advisories/GHSA-fp98-qfh5-xjhc
- [advisory] Third-party advisory: www.vulncheck.com https://www.vulncheck.com/advisories/openemr-before-8.5.0-inverted-document-expiration-check-exposes-phi-via-fhir-binary

## From the sources

OpenEMR before 8.5.0 contains an inverted comparison in Document::has_expired() that causes the FHIR Binary download endpoint to treat time-limited PHI documents as unexpired after their one-hour lifetime. Authenticated users still authorized for a Binary/{id} resource can download expired bulk export NDJSON files and $docref CCDs indefinitely.

---

_Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai_
