CVE-2026-21901: Junos OS and Junos OS Evolved: Configuration of a specific SSH option results in mgd crash

Published Jul 9, 2026
·
Updated

A NULL Pointer Dereference vulnerability in the management daemon (mgd) of Juniper Networks Junos OS and Junos OS Evolved allows a local, high-privileged attacker setting or deactivating a specific SSH configuration parameter to create a Denial of Service (DoS).

A local high-privileged user configuring or deactivating a specific 'system services ssh' configuration parameter can exploit a null pointer dereference in one of the functions used by SSH. The function attempts to dereference a null pointer when accessing certain configuration data, resulting in an mgd process crash and restart. Continued execution of these configuration commands will create a sustained Denial of Service (DoS) condition.

This issue affects: Junos OS:

from 22.3 before 22.3R3-S5; from 22.4 before 22.4R3-S10; from 23.2 before 23.2R2-S7; from 23.4 before 23.4R2-S8.

This issue does not affect Junos OS before 22.3R1.

Junos OS Evolved: from 22.3R1-EVO before 23.2R2-S7-EVO; from 23.4 before 23.4R2-S8-EVO.

This issue does not affect Junos OS Evolved before 22.3R1-EVO.

Affected Software

2 affected components
Juniper Networks Junos OS>22.3R1<22.3R3-S5, >22.4<22.4R3-S10, >23.2<23.2R2-S7, >23.4<23.4R2-S8
Juniper Networks Junos OS Evolved>22.3R1-EVO<23.2R2-S7-EVO, >23.4<23.4R2-S8-EVO

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Juniper Networks Junos OS / Junos OS Evolved to a version that resolves this vulnerability.

    Fixed in 22.3R3-S5
  2. Upgrade

    Upgrade Juniper Networks Junos OS / Junos OS Evolved to a version that resolves this vulnerability.

    Fixed in 22.4R3-S10
  3. Upgrade

    Upgrade Juniper Networks Junos OS / Junos OS Evolved to a version that resolves this vulnerability.

    Fixed in 23.2R2-S7
  4. Upgrade

    Upgrade Juniper Networks Junos OS / Junos OS Evolved to a version that resolves this vulnerability.

    Fixed in 23.4R2-S8
  5. Upgrade

    Upgrade Juniper Networks Junos OS / Junos OS Evolved to a version that resolves this vulnerability.

    Fixed in 24.2R1
  6. Upgrade

    Upgrade Juniper Networks Junos OS Evolved to a version that resolves this vulnerability.

    Fixed in 23.4R2-S8-EVO
  7. Upgrade

    Upgrade Juniper Networks Junos OS Evolved to a version that resolves this vulnerability.

    Fixed in 24.2R1-EVO

Event History

Jul 9, 2026
CVE Published
via MITRE·09:01 PM
Data Sourced
via MITRE·09:01 PM
RemedyDescriptionSeverityWeakness
Data Sourced
via NVD·09:16 PM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-21901?

The severity of CVE-2026-21901 is medium with a score of 4.4.

2

How do I fix CVE-2026-21901?

To fix CVE-2026-21901, ensure that the specific SSH configuration parameter is not set or disabled according to Juniper's recommended practices.

3

What does CVE-2026-21901 affect?

CVE-2026-21901 affects the management daemon (mgd) in Junos OS and Junos OS Evolved implemented by Juniper Networks.

4

What is a potential outcome of CVE-2026-21901?

A potential outcome of CVE-2026-21901 is that it can lead to a Denial of Service (DoS) due to a NULL Pointer Dereference.

5

Who is at risk from CVE-2026-21901?

Local high-privileged users are at risk from CVE-2026-21901 as they can exploit the vulnerability through specific SSH configuration changes.

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