Skip to content
Heist/ feed
Back to feed
High

OpenEMR has SQL Injection in Immunization Search/Report

Type: advisorySources: OSV

OpenEMR is a free and open source electronic health records and medical practice management application. Prior to version 8.0.0, an SQL injection vulnerability in the Immunization module allows any authenticated user to execute arbitrary SQL queries, leading to complete database compromise, PHI exfiltration, credential theft, and potential remote code execution. The vulnerability exists because user-supplied `patient_id` values are directly concatenated into SQL WHERE clauses without parameterization or escaping. Version 8.0.0 patches the issue.

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

Source evidence

OpenEMR has SQL Injection in Immunization Search/Report

core-osv · Original source

Published 25 Feb 2026, 17:39 UTC

OpenEMR is a free and open source electronic health records and medical practice management application. Prior to version 8.0.0, an SQL injection vulnerability in the Immunization module allows any authenticated user to execute arbitrary SQL queries, leading to complete database compromise, PHI exfiltration, credential theft, and potential remote code execution. The vulnerability exists because user-supplied `patient_id` values are directly concatenated into SQL WHERE clauses without parameterization or escaping. Version 8.0.0 patches the issue.

osv:CVE-2026-23627
Complete source record
{
  "id": "27485f189adaa7e58e53e385f6a0f4807067ce74dc9c696d0ddc5994f234827c",
  "url": "https://osv.dev/vulnerability/CVE-2026-23627",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "OpenEMR has SQL Injection in Immunization Search/Report",
    "summary": "OpenEMR is a free and open source electronic health records and medical practice management application. Prior to version 8.0.0, an SQL injection vulnerability in the Immunization module allows any authenticated user to execute arbitrary SQL queries, leading to complete database compromise, PHI exfiltration, credential theft, and potential remote code execution. The vulnerability exists because user-supplied `patient_id` values are directly concatenated into SQL WHERE clauses without parameterization or escaping. Version 8.0.0 patches the issue.",
    "evidence": "osv:CVE-2026-23627",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2026-23627",
      "aliases": [
        "CVE-2026-23627",
        "GHSA-x3hw-rwrg-v25h"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/openemr/openemr",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "b91b73600327acb46252b9fce7d04467eea126fd"
                },
                {
                  "fixed": "cbf4ea4345b14a6c8362201e30c74ffb0949cdb1"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:open-emr:openemr:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "8.0.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "cbf4ea4345b14a6c8362201e30c74ffb0949cdb1"
                      }
                    ],
                    "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-23627.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:32.426705353Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/23xxx/CVE-2026-23627.json",
        "https://github.com/openemr/openemr/security/advisories/GHSA-x3hw-rwrg-v25h",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-23627",
        "https://github.com/openemr/openemr/commit/cbf4ea4345b14a6c8362201e30c74ffb0949cdb1"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-89"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/23xxx/CVE-2026-23627.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-23627",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 499406,
  "published_at": "2026-02-25T17:39:20.54+00:00"
}