Skip to main content

Medkey EHR EUVDEUVD-2026-36681

| CVE-2026-12207 LOW
Improper Control of Resource Identifiers ('Resource Injection') (CWE-99)
2026-06-15 VulDB GHSA-m3f2-gxh3-v237
2.1
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain low-privilege medkey account
  2. Delivery
    Authenticate to REST API
  3. Exploit
    Send GET request with enumerated patient ID
  4. Execution
    Bypass missing authorization check
  5. Impact
    Retrieve unauthorized patient health record

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Resource identifier sanitization
Exploitation Conditions

Exploitation requires a valid authenticated session in medkey with at least low-privilege access (confirmed by CVSS PR:L); unauthenticated exploitation is not possible per the provided vector. The vulnerable operation is specifically the actionGetPatientById function exposed via the HTTP REST API - exploitation is limited to this endpoint and requires the ability to send crafted HTTP requests to it. No special non-default configuration is required; the endpoint appears to be part of the standard API surface for the medical module. The primary limiting factor is possession of a legitimate account; however, in a typical EHR deployment any registered patient or standard clinical user may qualify. There is no evidence of a scope change (S:U / SC:N/SI:N/SA:N in CVSS 4.0), so impact is confined to reading patient data within the same application boundary rather than pivoting to underlying infrastructure.

Impact

The CVSS 4.0 base score of 5.3 (Medium) is driven by AV:N/AC:L/AT:N/PR:L/UI:N with VC:L and no integrity or availability impact, and is supplemented by E:P (PoC exploit exists), reflecting that exploitation is straightforward for any authenticated user. No CISA KEV listing is present, so active exploitation is not confirmed. However, the existence of a public PoC on GitHub (onyxglitch/Medkey-EHR-IDOR-PoC) means the barrier to exploitation is effectively eliminated for any attacker with a valid account. The CVSS VC:L categorization likely understates real-world business and compliance risk: patient records in an EHR contain Protected Health Information (PHI), and unauthorized access triggers regulatory obligations under frameworks such as HIPAA and GDPR health data provisions regardless of technical severity rating. The absence of any vendor response or patch is a compounding risk signal - there is no remediation timeline and no indication the vendor has acknowledged the issue. EPSS data was not provided in the source intelligence; exploitation probability should be treated as elevated given PoC availability and the sensitive nature of the exposed data. The PR:L requirement (an authenticated account) is the primary limiting factor, but in multi-user EHR deployments this bar may be low.

Exploit ScenarioDerived

An attacker with a valid low-privilege account in the medkey deployment - for example, a patient portal user, a junior clinical staff member, or a compromised credential - authenticates to the REST API and issues a GET request to the actionGetPatientById endpoint with an incremented or guessed patient id value belonging to another patient. Because the server performs no authorization check confirming the requester's relationship to the target patient, it returns that patient's record. A public PoC (https://github.com/onyxglitch/Medkey-EHR-IDOR-PoC) automates this enumeration, making mass extraction of patient records feasible with minimal technical skill.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
No patch listed yet 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jun 15, 2026

Patient record exposure in medkey EHR (up to commit fc09b7ba9441ff590b72d428d5380834216b09ed) allows authenticated remote users to retrieve arbitrary patient records by manipulating the id parameter of the actionGetPatientById REST API endpoint - a textbook Insecure Direct Object Reference (BOLA/IDOR) flaw classified under CWE-99. A publicly available proof-of-concept exploit is hosted on GitHub (onyxglitch/Medkey-EHR-IDOR-PoC), materially lowering the exploitation barrier. The vendor did not respond to coordinated disclosure, leaving no confirmed patch and no official advisory for this rolling-release EHR system.

RemediationAI

No vendor-released patch identified at time of analysis - the vendor did not respond to coordinated disclosure and no fixed commit or release has been confirmed. Organizations running medkey should immediately apply the following compensating controls while pursuing an upstream fix or evaluating alternative platforms. First, restrict network access to the REST API endpoint to only trusted internal networks or VPN-authenticated sessions, reducing the attack surface to internal users; this does not fix the authorization flaw but limits exposure. Second, implement API gateway or WAF rules to enforce rate limiting and detect sequential integer enumeration of the patient id parameter, which can identify exploitation attempts; note this adds detection but not prevention. Third, audit existing application access logs for abnormal patterns of actionGetPatientById calls across multiple distinct patient IDs from a single authenticated session, which may indicate prior or ongoing exploitation. Fourth, review and enforce application-level role-based access controls at the framework layer so that patient record retrieval is gated on a confirmed care relationship, not just authentication. The VulDB advisory at https://vuldb.com/vuln/370849 should be monitored for any vendor response or patch publication.

Affected VersionsENISA

medkey fc09b7ba9441ff590b72d428d5380834216b09ed

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Medkey is a PHP-based Electronic Health Record (EHR) platform structured as a modular REST API application. The vulnerable component is the function actionGetPatientById located at app\modules\medical\port\rest\controllers\PatientController.php, which handles HTTP GET requests to retrieve patient data by a caller-supplied id parameter. CWE-99 (Improper Control of Resource Identifiers) identifies the root cause: the application accepts a user-controlled identifier and resolves it to a backend resource without verifying that the authenticated requester is authorized to access the record belonging to that specific ID. This is a Broken Object Level Authorization (BOLA) failure - the API trusts the client-supplied ID rather than enforcing ownership or role-based access at the object level. The CPE string cpe:2.3:a:medkey-org:medkey:*:*:*:*:*:*:*:* covers all versions of the product with no lower or upper bound, consistent with the rolling-release model described in the disclosure.

Know when Medkey gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulDB) PRIMARY 2.1 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:P
vuln.today AI 4.3 MEDIUM

Network-accessible REST API requires an authenticated low-privilege account; read-only IDOR yields confidentiality impact only, with no integrity or availability consequence.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (VulDB).

CVSS VectorVendor: VulDB

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Severity Changed
Jun 15, 2026 - 02:22 NVD
MEDIUM LOW
CVSS changed
Jun 15, 2026 - 02:22 NVD
5.3 (MEDIUM) 2.1 (LOW)

DescriptionCVE.org

A security flaw has been discovered in medkey-org medkey up to fc09b7ba9441ff590b72d428d5380834216b09ed. Impacted is the function actionGetPatientById of the file app\modules\medical\port\rest\controllers\PatientController.php of the component HTTP REST API. The manipulation of the argument ID results in improper control of resource identifiers. The attack may be performed from remote. The exploit has been released to the public and may be used for attacks. This product utilizes a rolling release system for continuous delivery, and as such, version information for affected or updated releases is not disclosed. The vendor was contacted early about this disclosure but did not respond in any way.

Threat Intelligence Overview

EPSS Score
0.2%
Top 87% exploitable
Exploit
POC
Public exploit code exists
Social Media
1
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CIRCL GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity LOW
CISA KEV No
Public POC Yes
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +10
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy