{
  "id": "CVE-2026-126473",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-126473",
  "published_at": "2026-11-13T09:34:58.505Z",
  "title": "OpenEMR before 8.4.0 OAuth Authorization Bypass via Scope Canonicalization",
  "vendor": "openemr",
  "product": "openemr",
  "cvss": {
    "score": 9.3,
    "source": "cna",
    "vector": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": {
    "created_at": "2026-11-14T08:48:50Z",
    "first_seen_at": "2026-11-14T10:56:57.884Z",
    "days_after_publication": 1,
    "repo": "googlesky/CVE-2026-126473",
    "source": "github"
  },
  "poc_repo_count": 1,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "OpenEMR before 8.4.0 contains OAuth scope canonicalization and containment flaws that allow unauthenticated attackers to obtain unapproved system-level FHIR access. Attackers can register a colon-form system:Patient.read client that bypasses approval, then request unregistered system/Patient.write scope to read, modify, and create Patient records.",
  "cwe": "CWE-863",
  "cvss_by_source": {
    "cna": 9.3
  },
  "repos": [
    {
      "repo": "sm-ard/devops-pulse",
      "url": "https://github.com/sm-ard/devops-pulse",
      "created_at": "2026-07-03T00:15:38Z",
      "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": "2021-04-18T18:48:20Z"
    },
    {
      "repo": "tritschler/rtms-public",
      "url": "https://github.com/tritschler/rtms-public",
      "created_at": "2026-10-23T21:20:23Z",
      "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": "2012-12-19T11:16:41Z"
    },
    {
      "repo": "googlesky/CVE-2026-126473",
      "url": "https://github.com/googlesky/CVE-2026-126473",
      "created_at": "2026-11-14T08:48:50Z",
      "first_seen_at": "2026-11-14T10:56:57.884Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2013-04-08T15:16:09Z"
    }
  ],
  "remediation": {
    "affected": [
      {
        "vendor": "openemr",
        "product": "openemr",
        "ranges": [
          "\u003c 8.4.0"
        ],
        "fixed_in": [
          "8.4.0"
        ]
      }
    ],
    "upgrade": [
      "Upgrade openemr to 8.4.0 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/openemr/openemr/security/advisories/GHSA-6xh3-fmm5-jjp4"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [
    {
      "method": "GET",
      "path_template": "/apis/default/fhir/Patient",
      "query_markers": [
        "identifier={var}"
      ],
      "headers": [
        {
          "name": "Authorization",
          "value": "Bearer {var}"
        }
      ],
      "ports": [
        80
      ],
      "protocol": "http",
      "repos": [
        "googlesky/CVE-2026-126473"
      ],
      "repo_count": 1,
      "confidence": 0.6,
      "evidence": [
        "googlesky/CVE-2026-126473/poc/poc.py:259",
        "googlesky/CVE-2026-126473/poc/poc.py:266"
      ]
    },
    {
      "method": "GET",
      "path_template": "/apis/default/fhir/Patient/{var}",
      "headers": [
        {
          "name": "Authorization",
          "value": "Bearer {var}"
        }
      ],
      "ports": [
        80
      ],
      "protocol": "http",
      "repos": [
        "googlesky/CVE-2026-126473"
      ],
      "repo_count": 1,
      "confidence": 0.6,
      "evidence": [
        "googlesky/CVE-2026-126473/poc/poc.py:257"
      ]
    },
    {
      "method": "GET",
      "path_template": "/oauth2/default/.well-known/openid-configuration",
      "ports": [
        80
      ],
      "protocol": "http",
      "repos": [
        "googlesky/CVE-2026-126473"
      ],
      "repo_count": 1,
      "confidence": 0.6,
      "evidence": [
        "googlesky/CVE-2026-126473/poc/poc.py:145"
      ]
    },
    {
      "method": "POST",
      "path_template": "/apis/default/fhir/Patient",
      "headers": [
        {
          "name": "Authorization",
          "value": "Bearer {var}"
        }
      ],
      "body_markers": [
        "\"resourceType\":\"Patient\"",
        "\"gender\":\"unknown\"",
        "\"family\":\"Poc\""
      ],
      "content_type": "application/fhir+json",
      "ports": [
        80
      ],
      "protocol": "http",
      "repos": [
        "googlesky/CVE-2026-126473"
      ],
      "repo_count": 1,
      "confidence": 0.6,
      "evidence": [
        "googlesky/CVE-2026-126473/poc/poc.py:245",
        "googlesky/CVE-2026-126473/poc/poc.py:203"
      ]
    },
    {
      "method": "POST",
      "path_template": "/oauth2/default/registration",
      "body_markers": [
        "\"token_endpoint_auth_method\":\"private_key_jwt\"",
        "\"scope\":\"openid api:fhir system:Patient.read\"",
        "\"application_type\":\"private\"",
        "\"redirect_uris\":[\"http://localhost/callback\"]"
      ],
      "content_type": "application/json",
      "ports": [
        80
      ],
      "protocol": "http",
      "repos": [
        "googlesky/CVE-2026-126473"
      ],
      "repo_count": 1,
      "confidence": 0.6,
      "evidence": [
        "googlesky/CVE-2026-126473/poc/poc.py:166",
        "googlesky/CVE-2026-126473/poc/poc.py:221"
      ]
    },
    {
      "method": "POST",
      "path_template": "/oauth2/default/token",
      "body_markers": [
        "grant_type=client_credentials",
        "scope=system/Patient.read system/Patient.write",
        "client_assertion_type=urn:ietf:params:oauth:client-assertion-type:jwt-bearer",
        "client_assertion="
      ],
      "content_type": "application/x-www-form-urlencoded",
      "ports": [
        80
      ],
      "protocol": "http",
      "repos": [
        "googlesky/CVE-2026-126473"
      ],
      "repo_count": 1,
      "confidence": 0.6,
      "evidence": [
        "googlesky/CVE-2026-126473/poc/poc.py:188",
        "googlesky/CVE-2026-126473/poc/poc.py:233"
      ]
    }
  ],
  "rules": []
}
