PoC Monitor
← All CVEs
CVE-2026-46716published 12 Jun 2026 21:00 UTCData: JSON · API

Nezha

Nezha Monitoring: RoleMember can run shell on every server (cross-tenant RCE) via POST /api/v1/cron

Nezha Monitoring is a self-hostable, lightweight, servers and websites monitoring and O&M tool. From version 1.4.0 to before version 2.0.8, a RoleMember user can create a scheduled cron task with Cover=CronCoverAll, Servers=[] and an arbitrary Command. At every tick of the scheduler, the dashboard pushes that command to every server in the global ServerShared map — including servers that belong to other tenants (admin's servers, other members' servers). Each agent runs the command and returns the output, which is then sent to the attacker's own NotificationGroup → attacker-controlled webhook. This issue has been patched in version 2.0.8.

First public PoC 14 days beforebefore publication · 30 May 2026
Public PoCs22 on GitHub
CVSS9.9critical · scored by CNA · CWE-78
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

nezhahq nezha
  • >= 1.4.0, < 2.0.8

Fixed in 2.0.8

Mitigation

Upgrade nezha to 2.0.8 or later.

References

Timeline

Days relative to CVE publication
-15-12-9-6-3t=0+3+6First public PoC30 May 2026 · t−14dCVE published12 Jun 2026 · t = 0

First public PoC 14 days before publication; not in CISA KEV. First PoC: HAERIN-L/POC_CVE-2026-46716 (created 30 May 2026, found by us: backfilled).

PoC repositories

Found on GitHub.

2 PoCs

PoCs 2
RepositoryCreatedStarsAssessment
HAERIN-L/POC_CVE-2026-46716 30 May 2026 −14 d 0 PoC
wangp0tato/POC_CVE-2026-46716 30 May 2026 −14 d 0 PoC
Flags · score 30
  • README gives an archive password

Below the suspicion threshold (50); does not change the assessment.

Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.

PoC characteristics

What to hunt for in your logs · from 2 PoC repos

POST /api/v1/cron

Key headers
Authorization: Bearer $member_token Authorization: Bearer {var}
Content-Type
application/json
Ports
8008, 8009
Seen in
2 repos: HAERIN-L/POC_CVE-2026-46716, wangp0tato/POC_CVE-2026-46716
Evidence
HAERIN-L/POC_CVE-2026-46716/scripts/03-trigger-cve.sh:67 wangp0tato/POC_CVE-2026-46716/scripts/03-trigger-cve.sh:67

POST /api/v1/user

Key headers
Authorization: Bearer {var}
Body markers
"username":"member" "password":"Memberpass123!" "role" in application/json
Ports
8008
Seen in
2 repos: HAERIN-L/POC_CVE-2026-46716, wangp0tato/POC_CVE-2026-46716
Evidence
HAERIN-L/POC_CVE-2026-46716/REPORT/LAB_REPORT_KR.md:54 wangp0tato/POC_CVE-2026-46716/REPORT/LAB_REPORT_KR.md:54 wangp0tato/POC_CVE-2026-46716/scripts/01-setup.sh:43

DELETE /api/v1/cron/$cron_id

Key headers
Authorization: Bearer $admin_token
Ports
8008, 8009
Seen in
1 repo: HAERIN-L/POC_CVE-2026-46716
Evidence
HAERIN-L/POC_CVE-2026-46716/scripts/03-trigger-cve.sh:106

DELETE /api/v1/cron/{var}

Key headers
Authorization: Bearer {var}
Ports
8008, 8009
Seen in
1 repo: wangp0tato/POC_CVE-2026-46716
Evidence
wangp0tato/POC_CVE-2026-46716/scripts/03-trigger-cve.sh:106

Regex

Generated from PoC characteristics; not yet reviewed. Matches the request path and query.

GET /api/v1/setting
(?i)^/api/v1/setting(?:[?#].*)?$
POST /api/v1/login
(?i)^/api/v1/login(?:[?#].*)?$
POST /api/v1/cron
(?i)^/api/v1/cron(?:[?#].*)?$
POST /api/v1/user
(?i)^/api/v1/user(?:[?#].*)?$
DELETE /api/v1/cron/$cron_id
(?i)^/api/v1/cron/\$cron_id(?:[?#].*)?$

Suricata

Template generated from PoC characteristics. Review before deploying.

GET /api/v1/setting
alert http any any -> $HOME_NET [8008,8009] (msg:"GG PoC-Monitor CVE-2026-46716 nezhahq nezha exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/api/v1/setting"; http.header; content:"Authorization: Bearer "; nocase; http.header; content:"Authorization: Bearer $admin_token"; nocase; reference:url,poc.griffinguard.io/cve/CVE-2026-46716; classtype:web-application-attack; sid:9196971; rev:1;)
POST /api/v1/login
alert http any any -> $HOME_NET [8008,8009] (msg:"GG PoC-Monitor CVE-2026-46716 nezhahq nezha exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/api/v1/login"; http.request_body; content:"|22|username|22|:|22|admin|22|"; http.request_body; content:"|22|password|22|:|22|admin|22|"; http.request_body; content:"|22|username|22|"; http.request_body; content:"|22|password|22|"; http.request_body; content:"|22|username|22|:|22|"; http.request_body; content:"|22|password|22|:|22|"; http.request_body; content:"|22|username|22|:|22|member|22|"; http.request_body; content:"|22|password|22|:|22|Memberpass123!|22|"; reference:url,poc.griffinguard.io/cve/CVE-2026-46716; classtype:web-application-attack; sid:9356874; rev:1;)
POST /api/v1/cron
alert http any any -> $HOME_NET [8008,8009] (msg:"GG PoC-Monitor CVE-2026-46716 nezhahq nezha exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/api/v1/cron"; http.header; content:"Authorization: Bearer $member_token"; nocase; http.header; content:"Authorization: Bearer "; nocase; reference:url,poc.griffinguard.io/cve/CVE-2026-46716; classtype:web-application-attack; sid:9369617; rev:1;)
POST /api/v1/user
alert http any any -> $HOME_NET [8008] (msg:"GG PoC-Monitor CVE-2026-46716 nezhahq nezha exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/api/v1/user"; http.header; content:"Authorization: Bearer "; nocase; http.request_body; content:"|22|username|22|:|22|member|22|"; http.request_body; content:"|22|password|22|:|22|Memberpass123!|22|"; http.request_body; content:"|22|role|22|"; reference:url,poc.griffinguard.io/cve/CVE-2026-46716; classtype:web-application-attack; sid:9231130; rev:1;)
DELETE /api/v1/cron/$cron_id
alert http any any -> $HOME_NET [8008,8009] (msg:"GG PoC-Monitor CVE-2026-46716 nezhahq nezha exploit attempt"; flow:established,to_server; http.method; content:"DELETE"; http.uri; content:"/api/v1/cron/$cron_id"; http.header; content:"Authorization: Bearer $admin_token"; nocase; reference:url,poc.griffinguard.io/cve/CVE-2026-46716; classtype:web-application-attack; sid:9078703; rev:1;)

Sigma

Template generated from PoC characteristics. Review before deploying.

GET /api/v1/setting
title: nezhahq nezha exploit attempt (CVE-2026-46716)
id: gg-pocmon-cve-2026-46716-9196971
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-46716. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2026-46716
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/api/v1/setting'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2026.46716
POST /api/v1/login
title: nezhahq nezha exploit attempt (CVE-2026-46716)
id: gg-pocmon-cve-2026-46716-9356874
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-46716. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2026-46716
logsource:
  category: webserver
detection:
  selection:
    cs-method: POST
    cs-uri-stem|contains|all:
      - '/api/v1/login'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2026.46716
POST /api/v1/cron
title: nezhahq nezha exploit attempt (CVE-2026-46716)
id: gg-pocmon-cve-2026-46716-9369617
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-46716. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2026-46716
logsource:
  category: webserver
detection:
  selection:
    cs-method: POST
    cs-uri-stem|contains|all:
      - '/api/v1/cron'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2026.46716
POST /api/v1/user
title: nezhahq nezha exploit attempt (CVE-2026-46716)
id: gg-pocmon-cve-2026-46716-9231130
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-46716. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2026-46716
logsource:
  category: webserver
detection:
  selection:
    cs-method: POST
    cs-uri-stem|contains|all:
      - '/api/v1/user'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2026.46716
DELETE /api/v1/cron/$cron_id
title: nezhahq nezha exploit attempt (CVE-2026-46716)
id: gg-pocmon-cve-2026-46716-9078703
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-46716. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2026-46716
logsource:
  category: webserver
detection:
  selection:
    cs-method: DELETE
    cs-uri-stem|contains|all:
      - '/api/v1/cron/$cron_id'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2026.46716