OpenEMR
OpenEMR before 8.4.0 OAuth Authorization Bypass via Scope Canonicalization
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 8.4.0
Fixed in 8.4.0
Mitigation
Upgrade openemr to 8.4.0 or later.
References
- Vendor advisory github.com/openemr/openemr/security/advisories…
Timeline
Days relative to CVE publicationFirst public PoC 23 h after publication; not in CISA KEV. First PoC: googlesky/CVE-2026-126473 (created 14 Nov 2026, found by us: 14 Nov 2026).
PoC repositories
Found on GitHub.1 PoCs · 2 informational
PoCs 1
| Repository | Created | Found by us | Stars | Assessment |
|---|---|---|---|---|
| googlesky/CVE-2026-126473 | 14 Nov 2026 +23 h | 14 Nov 2026 | 0 | PoC |
Informational 2
| Repository | Created | Found by us | Stars | Assessment |
|---|---|---|---|---|
| sm-ard/devops-pulse | 3 Jul 2026 −133 d | backfilled | 0 | Informational · list |
| tritschler/rtms-public | 23 Oct 2026 −21 d | 14 Nov 2026 | 0 | Informational · list |
Only PoCs count toward the first-PoC date and the characteristics below. "Backfilled" means we found the repository more than 30 days after it was created. Do not run PoC code from unknown sources.
PoC characteristics
What to hunt for in your logs · from 1 PoC repoGET /apis/default/fhir/Patient
- Query
identifier={var}- Key headers
Authorization: Bearer {var}- Ports
- 80
- Seen in
- 1 repo: googlesky/CVE-2026-126473
- Evidence
- googlesky/CVE-2026-126473/poc/poc.py:259 googlesky/CVE-2026-126473/poc/poc.py:266
GET /apis/default/fhir/Patient/{var}
- Key headers
Authorization: Bearer {var}- Ports
- 80
- Seen in
- 1 repo: googlesky/CVE-2026-126473
- Evidence
- googlesky/CVE-2026-126473/poc/poc.py:257
GET /oauth2/default/.well-known/openid-configuration
- Ports
- 80
- Seen in
- 1 repo: googlesky/CVE-2026-126473
- Evidence
- googlesky/CVE-2026-126473/poc/poc.py:145
POST /apis/default/fhir/Patient
- Key headers
Authorization: Bearer {var}- Body markers
"resourceType":"Patient""gender":"unknown""family":"Poc"inapplication/fhir+json- Ports
- 80
- Seen in
- 1 repo: googlesky/CVE-2026-126473
- Evidence
- googlesky/CVE-2026-126473/poc/poc.py:245 googlesky/CVE-2026-126473/poc/poc.py:203
POST /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"]inapplication/json- Ports
- 80
- Seen in
- 1 repo: googlesky/CVE-2026-126473
- Evidence
- googlesky/CVE-2026-126473/poc/poc.py:166 googlesky/CVE-2026-126473/poc/poc.py:221
POST /oauth2/default/token
- Body markers
grant_type=client_credentialsscope=system/Patient.read system/Patient.writeclient_assertion_type=urn:ietf:params:oauth:client-assertion-type:jwt-bearerclient_assertion=inapplication/x-www-form-urlencoded- Ports
- 80
- Seen in
- 1 repo: googlesky/CVE-2026-126473
- Evidence
- googlesky/CVE-2026-126473/poc/poc.py:188 googlesky/CVE-2026-126473/poc/poc.py:233
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
(?i)^/apis/default/fhir/Patient\?(?:.*&)?identifier=\{var\}
(?i)^/apis/default/fhir/Patient/[^/?#]*(?:[?#].*)?$
(?i)^/oauth2/default/\.well-known/openid-configuration(?:[?#].*)?$
(?i)^/apis/default/fhir/Patient(?:[?#].*)?$
(?i)^/oauth2/default/registration(?:[?#].*)?$
Suricata
Template generated from PoC characteristics. Review before deploying.
alert http any any -> $HOME_NET [80] (msg:"GG PoC-Monitor CVE-2026-126473 openemr openemr exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/apis/default/fhir/Patient"; http.uri; content:"identifier={var}"; http.header; content:"Authorization: Bearer "; nocase; reference:url,poc.griffinguard.io/cve/CVE-2026-126473; classtype:web-application-attack; sid:9030476; rev:1;)
alert http any any -> $HOME_NET [80] (msg:"GG PoC-Monitor CVE-2026-126473 openemr openemr exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/apis/default/fhir/Patient/"; http.header; content:"Authorization: Bearer "; nocase; reference:url,poc.griffinguard.io/cve/CVE-2026-126473; classtype:web-application-attack; sid:9506266; rev:1;)
alert http any any -> $HOME_NET [80] (msg:"GG PoC-Monitor CVE-2026-126473 openemr openemr exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/oauth2/default/.well-known/openid-configuration"; reference:url,poc.griffinguard.io/cve/CVE-2026-126473; classtype:web-application-attack; sid:9685410; rev:1;)
alert http any any -> $HOME_NET [80] (msg:"GG PoC-Monitor CVE-2026-126473 openemr openemr exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/apis/default/fhir/Patient"; http.header; content:"Authorization: Bearer "; nocase; http.request_body; content:"|22|resourceType|22|:|22|Patient|22|"; http.request_body; content:"|22|gender|22|:|22|unknown|22|"; http.request_body; content:"|22|family|22|:|22|Poc|22|"; reference:url,poc.griffinguard.io/cve/CVE-2026-126473; classtype:web-application-attack; sid:9751154; rev:1;)
alert http any any -> $HOME_NET [80] (msg:"GG PoC-Monitor CVE-2026-126473 openemr openemr exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/oauth2/default/registration"; http.request_body; content:"|22|token_endpoint_auth_method|22|:|22|private_key_jwt|22|"; http.request_body; content:"|22|scope|22|:|22|openid api:fhir system:Patient.read|22|"; http.request_body; content:"|22|application_type|22|:|22|private|22|"; http.request_body; content:"|22|redirect_uris|22|:[|22|http://localhost/callback|22|]"; reference:url,poc.griffinguard.io/cve/CVE-2026-126473; classtype:web-application-attack; sid:9549850; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
title: openemr openemr exploit attempt (CVE-2026-126473)
id: gg-pocmon-cve-2026-126473-9030476
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-126473. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-126473
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/apis/default/fhir/Patient'
cs-uri-query|contains|all:
- 'identifier={var}'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2026.126473
title: openemr openemr exploit attempt (CVE-2026-126473)
id: gg-pocmon-cve-2026-126473-9506266
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-126473. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-126473
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/apis/default/fhir/Patient/'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2026.126473
title: openemr openemr exploit attempt (CVE-2026-126473)
id: gg-pocmon-cve-2026-126473-9685410
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-126473. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-126473
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/oauth2/default/.well-known/openid-configuration'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2026.126473
title: openemr openemr exploit attempt (CVE-2026-126473)
id: gg-pocmon-cve-2026-126473-9751154
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-126473. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-126473
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/apis/default/fhir/Patient'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2026.126473
title: openemr openemr exploit attempt (CVE-2026-126473)
id: gg-pocmon-cve-2026-126473-9549850
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-126473. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-126473
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/oauth2/default/registration'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2026.126473