{
  "id": "CVE-2026-126491",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-126491",
  "published_at": "2026-11-13T09:34:45.073Z",
  "title": "OpenEMR before 8.5.0 SQL Injection via getByPatientDemographics in patient.inc.php",
  "vendor": "openemr",
  "product": "openemr",
  "cvss": {
    "score": 8.3,
    "source": "cna",
    "vector": "CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:L/VA:N/SC:H/SI:L/SA:N"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "OpenEMR before 8.5.0 contains a stored SQL injection vulnerability in getByPatientDemographics() where layout_options field_id values are concatenated into the patient search WHERE clause. Attackers with Layout Editor access can plant a malicious field_id, allowing any authenticated low-privilege user to exfiltrate data from patient_data and users_secure tables.",
  "cwe": "CWE-89",
  "cpes": [
    "cpe:2.3:a:open-emr:openemr:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 8.3
  },
  "repos": [
    {
      "repo": "baeseungwon1010/cve_collector_public",
      "url": "https://github.com/baeseungwon1010/cve_collector_public",
      "created_at": "2026-08-11T01:20:44Z",
      "first_seen_at": "2026-11-14T10:56:57.884Z",
      "stars": 0,
      "is_poc": "no",
      "kind": "list",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2025-03-07T04:49:37Z"
    }
  ],
  "remediation": {
    "affected": [
      {
        "vendor": "openemr",
        "product": "openemr",
        "ranges": [
          "\u003c 8.5.0"
        ],
        "fixed_in": [
          "8.5.0"
        ]
      }
    ],
    "upgrade": [
      "Upgrade openemr to 8.5.0 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/openemr/openemr/security/advisories/GHSA-pc2q-9pcw-v899"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
