CVE-2026-145092: Nezha before 2.6.2 Memory Exhaustion DoS via Unbounded JSON in AfterFind

Published Dec 4, 2026
·
Updated

Nezha before 2.6.2 contains an uncontrolled resource allocation vulnerability in the dashboard that persists unbounded ddnsprofiles and skipservers JSON values and re-parses them without size limits in GORM AfterFind hooks. Authenticated members with server or service write scopes can submit oversized arrays or maps via PATCH /server/:id, POST /service, or PATCH /service/:id, exhausting memory on every dashboard read and potentially crashing the process.

Affected Software

1 affected component
Nezha Nezha<2.6.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 2.6.2

Event History

Dec 4, 2026
CVE Published
via MITRE·04:09 PM
Data Sourced
via MITRE·04:09 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·05:19 PM
DescriptionSeverityWeakness
Event
via NVD·05:19 PM

Frequently Asked Questions

1

Who can exploit this issue?

An authenticated Nezha member must have server or service write scopes. The affected API operations are PATCH /server/:id, POST /service, and PATCH /service/:id.

2

Is an unauthenticated attacker able to trigger the denial of service?

No. The reported attack path requires an authenticated member with the relevant write permissions.

3

Which deployments are affected?

Nezha versions before 2.6.2 are affected where members can use the specified server or service write API operations. The issue involves persisted ddns_profiles and skip_servers JSON values that are parsed during dashboard reads.

4

How does the denial of service persist after the malicious request?

Oversized JSON arrays or maps are stored in the affected fields and then re-parsed by GORM AfterFind hooks on dashboard reads. This can repeatedly exhaust memory and potentially crash the process.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203