CVE-2026-49396 Nezha Monitoring: Cross-site GET request can trigger stored cron commands on a victim's agents

High 7.1 Published Updated

Cross-site request forgery allows attackers to trigger stored cron commands on victim agents, leading to potential code execution.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2026-49396?

CVE-2026-49396 is a high-severity vulnerability in nezhahq nezha, published on 12 Jun 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official 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.

Weakness: CWE-352

Which versions are affected by CVE-2026-49396?

3 open source packages ship an affected version, including github.com/nezhahq/nezha.

PackageAffectedFixed in
github.com/nezhahq/nezha GoFrom 1.0.0None
github.com/nezhahq/nezha GoFrom 1.0.02.0.14
github.com/nezhahq/nezha GoFrom 1.0.02.0.14

How do I fix CVE-2026-49396?

Upgrade github.com/nezhahq/nezha to 2.0.14 or later.

Is CVE-2026-49396 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-49396 exists.

Sources

Also known as GHSA-8qhj-4f8c-j8qg, GO-2026-5261.

Is CVE-2026-49396 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free