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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 6.7
- **CVSS:** 6.7 (v4.0, CNA) `CVSS:4.0/AV:L/AC:L/AT:N/PR:H/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/AU:Y/R:A/V:D/RE:M/U:Green`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Attack requirements: None; Privileges required: High; User interaction: None; Confidentiality impact: None; Integrity impact: None; Availability impact: High; Confidentiality impact on other systems: None; Integrity impact on other systems: None; Availability impact on other systems: None; AU: Y; R: A; V: D; RE: M; U: Green
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.18% (percentile 4, 2026-11-26)
- **CWE:** CWE-476
- **Published:** 2026-07-09T21:01:31.334Z
- **Modified:** 2026-08-26T17:48:51.667Z

## Who should check

- Anyone running Juniper Networks Junos OS \>= 22.3, \< 22.3R3-S5; \>= 22.4, \< 22.4R3-S10; \>= 23.2, \< 23.2R2-S7; \>= 23.4, \< 23.4R2-S8
- Anyone running Juniper Networks Junos OS Evolved \>= 23.2, \< 23.2R2-S7-EVO; \>= 23.4, \< 23.4R2-S8-EVO

## Description

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 and fixed versions

- Juniper Networks Junos OS: \>= 22.3, \< 22.3R3-S5; \>= 22.4, \< 22.4R3-S10; \>= 23.2, \< 23.2R2-S7; \>= 23.4, \< 23.4R2-S8 (cvelist)
- Juniper Networks Junos OS Evolved: \>= 23.2, \< 23.2R2-S7-EVO; \>= 23.4, \< 23.4R2-S8-EVO (cvelist)

## Mitigation

- Upgrade Junos OS to 23.4R2-S8 or later.
- Upgrade Junos OS Evolved to 23.4R2-S8-EVO or later.
- Vendor workaround: There are no direct workarounds for this issue.
- 
- 
- 
- One of the following mitigations will prevent malicious exploitation:
- 
- 
- 
- 
-   \*  Use access lists or firewall filters to limit access to the CLI only from trusted hosts and administrators.
-   \*  Utilize command authorization to limit the ability to enter config mode to trusted administrators.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-21901. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-21901.md
Affected: Juniper Networks Junos OS >= 22.3, < 22.3R3-S5; >= 22.4, < 22.4R3-S10; >= 23.2, < 23.2R2-S7; >= 23.4, < 23.4R2-S8; Juniper Networks Junos OS Evolved >= 23.2, < 23.2R2-S7-EVO; >= 23.4, < 23.4R2-S8-EVO
Fixed in: Juniper Networks Junos OS 22.3R3-S5, Juniper Networks Junos OS 22.4R3-S10, Juniper Networks Junos OS 23.2R2-S7, Juniper Networks Junos OS 23.4R2-S8, Juniper Networks Junos OS Evolved 23.2R2-S7-EVO, Juniper Networks Junos OS Evolved 23.4R2-S8-EVO

Steps:
1. Search this machine and project for Juniper Networks Junos OS, Juniper Networks Junos OS Evolved: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-21901 being exploited?

There is no confirmed exploitation: CVE-2026-21901 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.18% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-21901?

Medium: CVSS 6.7 (v4.0, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-21901?

Juniper Networks Junos OS \>= 22.3, \< 22.3R3-S5; \>= 22.4, \< 22.4R3-S10; \>= 23.2, \< 23.2R2-S7; \>= 23.4, \< 23.4R2-S8; Juniper Networks Junos OS Evolved \>= 23.2, \< 23.2R2-S7-EVO; \>= 23.4, \< 23.4R2-S8-EVO.

### Is there a fix for CVE-2026-21901?

Yes. Fixed in Juniper Networks Junos OS 22.3R3-S5, Juniper Networks Junos OS 22.4R3-S10, Juniper Networks Junos OS 23.2R2-S7, Juniper Networks Junos OS 23.4R2-S8, Juniper Networks Junos OS Evolved 23.2R2-S7-EVO, Juniper Networks Junos OS Evolved 23.4R2-S8-EVO. Upgrade Junos OS to 23.4R2-S8 or later. Upgrade Junos OS Evolved to 23.4R2-S8-EVO or later. Vendor workaround: There are no direct workarounds for this issue.    One of the following mitigations will prevent malicious exploitation:       \*  Use access lists or firewall filters to limit access to the CLI only from trusted hosts and administrators.   \*  Utilize command authorization to limit the ability to enter config mode to trusted administrators.

### How do I check if I'm affected by CVE-2026-21901?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/orangecertcc/security-research/security/advisories/GHSA-g4f7-w2rc-hpj6>
- vendor: <https://supportportal.juniper.net/JSA110072>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-21901>

HTML: <https://flawdb.com/CVE-2026-21901> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-21901>
