CVE-2026-49396
Deferred Deferred - Pending Action

Stored Command Injection in Nezha Monitoring Agent

Vulnerability report for CVE-2026-49396, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-06-12

Last updated on: 2026-06-15

Assigner: GitHub, Inc.

Description

Nezha Monitoring is a self-hostable, lightweight, servers and websites monitoring and O&M tool. From version 1.0.0 to before version 2.0.14, cross-site GET request can trigger stored cron commands on a victim's agents. This issue has been patched in version 2.0.14.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-06-12
Last Modified
2026-06-15
Generated
2026-07-03
AI Q&A
2026-06-13
EPSS Evaluated
2026-07-02
NVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
nezha_monitoring nezha_monitoring From 1.0.0 (inc) to 2.0.14 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-352 The web application does not, or cannot, sufficiently verify whether a request was intentionally provided by the user who sent the request, which could have originated from an unauthorized actor.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Mitigation Strategies

To mitigate this vulnerability, upgrade Nezha Monitoring to version 2.0.14 or later, where the issue has been patched.

Executive Summary

This vulnerability affects Nezha Monitoring, a self-hostable, lightweight tool for monitoring servers and websites. In versions from 1.0.0 up to but not including 2.0.14, a cross-site GET request can trigger stored cron commands on a victim's agents. This means that an attacker could cause the victim's system to execute scheduled commands by exploiting this flaw.

Impact Analysis

The vulnerability can lead to unauthorized execution of stored cron commands on affected agents. This could result in an attacker manipulating system operations, potentially causing disruption or unauthorized actions on your servers or websites. The CVSS score indicates a high impact on integrity and a low impact on availability, meaning the attacker can alter system behavior but not necessarily cause a denial of service.

Compliance Impact

The vulnerability allows unauthorized execution of existing cron commands on victim agents by abusing a cross-site request forgery (CSRF) flaw. This impacts the integrity and availability of the system by enabling attackers to trigger tasks without proper authorization.

While the provided information does not explicitly mention compliance with standards like GDPR or HIPAA, the integrity and availability impact could potentially lead to violations of such regulations if sensitive data or critical operations are affected. Organizations relying on Nezha Monitoring should consider this risk in their compliance assessments.

Detection Guidance

This vulnerability can be detected by monitoring for suspicious GET requests to the endpoint pattern /api/v1/cron/<known-id>/manual on Nezha Monitoring dashboard versions 1.0.0 to 2.0.13.

Since the vulnerability involves triggering stored cron commands via cross-site GET requests authenticated by a JWT cookie, network detection can focus on identifying such GET requests that attempt to manually trigger cron jobs.

  • Use web server or proxy logs to search for GET requests matching the pattern: /api/v1/cron/*/manual
  • Example command to search logs (assuming Apache logs): grep 'GET /api/v1/cron/' /var/log/apache2/access.log | grep '/manual'
  • Use network monitoring tools to detect unusual cross-site GET requests containing JWT cookies targeting the manual cron trigger endpoint.
  • Check the version of Nezha Monitoring agents and dashboards to confirm if they are within the vulnerable range (1.0.0 to before 2.0.14).

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-49396. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart