/

CVE-2026-126307

Severity:

HIGH RISK

(7.5)

Authorization Bypass (CWE-863) in Nezha Dashboard Features

CVE-2026-126307

Deferred

Vulnerability type

Category:

Authorization and Tenant-Isolation Failures

CWE:

CWE-863

Impact:

Unauthorized feature use, credential exposure, resource exhaustion, and potential control of scheduled tasks or DDNS profiles

Severity:

HIGH RISK

(7.5)

CVSS version:

3.1

Catch this CVE while code is being written

Detect vulnerable code directly in pull requests, so CVEs are fixed before merge.

Summary

Nezha Dashboard versions before 2.6.0 have authorization and tenant-isolation weaknesses across features such as NAT, DDNS, OAuth, cron, and server transfer. Depending on the affected path, members or unauthenticated attackers may capture login request bodies, take over DDNS profiles, create executable schedules without the required scope, or consume memory with buffered NAT requests.

Affected context

The vulnerabilities affect Nezha Dashboard functionality for managing NAT requests, DDNS profiles, OAuth-related hostnames, cron schedules, and server transfers. They arise where authorization, tenant boundaries, or resource limits are not consistently enforced; exposure depends on which features are enabled and how the Dashboard is configured.

Exploit preconditions

  • Attack surface: Dashboard endpoints and workflows for NAT, DDNS, OAuth, cron, or server transfer
  • Required access: A Dashboard member account for some actions; certain described paths may be reachable without authentication
  • Trigger point: A request that claims a hostname, accesses or changes a profile, creates a schedule, transfers a server, or initiates a buffered NAT operation
  • Why exploitation is possible: The affected paths may fail to enforce appropriate authorization, tenant ownership, execution scope, or resource limits

Why this happens

The primary issue is incorrect authorization (CWE-863): access decisions do not reliably match the requested action, resource ownership, or required scope. In combination with inadequate tenant isolation and resource controls, this can allow operations on another context or permit resource-intensive requests beyond intended limits.

Potential impact

  • Attackers may capture login request bodies by claiming undeclared Dashboard hostnames.
  • DDNS profiles may be hijacked or modified without proper authorization.
  • Executable schedules may be created without the required execution scope.
  • Buffered NAT requests may consume excessive memory and affect service availability.
  • Server transfer or other feature workflows may be abused across authorization or tenant boundaries.

General mitigation guidance

Defensive approaches generally center on consistent authorization and bounded resource use:

  • Apply server-side authorization checks to every action and resource, including ownership and tenant boundaries.
  • Use explicit, least-privilege scopes for sensitive operations such as creating executable schedules.
  • Validate hostname claims and bind them to verified ownership or approved configuration.
  • Limit request sizes, buffering, concurrency, and processing time for resource-intensive operations.
  • Prefer secure-by-default feature settings and minimize the privileges available to Dashboard members and service accounts.
  • Treat client-supplied identifiers and configuration as untrusted, and avoid relying on UI checks as security controls.

How teams detect issues like this

  • Review endpoint handlers and service-layer code for missing or inconsistent authorization checks, especially where resource ownership or tenant context is determined.
  • Use static analysis and code review patterns to flag sensitive actions that lack explicit permission or scope checks.
  • Test access-control policies across roles and tenants, including unauthenticated requests where applicable.
  • Monitor for unusual hostname claims, DDNS profile changes, schedule creation, server transfers, and elevated NAT request volume or memory use.
  • Enforce API policies for authentication, authorization, request size, and rate limits; automated review tools may help identify risky patterns.

Sources

SourceLink
github.comgithub.com/nezhahq/nezha/commit/027bfcf6521f192635b946b7583c3ab39500ab98
github.comgithub.com/nezhahq/nezha/commit/7cd0371b56f7bce83c3953b2bf4711b2105d5818
github.comgithub.com/nezhahq/nezha/security/advisories/GHSA-63mg-cxm4-98q3
vulncheck.comvulncheck.com/advisories/nezha-dashboard-before-2.6.0-multiple-authorization-and-tenant-isolation-flaws

Frequently asked

questions

The affected functionality is exposed through Dashboard workflows. The description indicates that some paths may be abused by unauthenticated attackers, while others may require a member account.

It depends on the specific feature and path. Some actions may be available to members, and certain hostname or NAT-related abuse may not require authentication.

Enforce authorization and tenant ownership on the server for every operation, verify the required scope for sensitive actions, and bound resource-intensive requests.

Use least-privilege roles, secure-by-default settings, systematic cross-tenant access tests, and monitoring or policy limits for sensitive operations and resource consumption.

Find out what's already
exploitable in your codebase.