CVE-2026-21916: Local Privilege Escalation in Juniper Networks Junos OS CLI
- Vendor
- Juniper Networks
CVE-2026-21916 is a local privilege escalation vulnerability in the Juniper Networks Junos OS CLI caused by unsafe handling of symbolic links during CLI file operations and subsequent configuration commits. A low-privileged authenticated local user can perform a specific 'file link' CLI operation to create conditions for exploitation. When another authenticated user later performs a configuration commit, even if the commit is unrelated, the privileged commit process follows the attacker-controlled symbolic link in a root execution context. This improper symlink resolution can alter system state in a way that allows the original attacker to subsequently log in as root. The flaw affects multiple Junos OS release trains prior to vendor-fixed versions and can result in full system compromise.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation allows a low-privileged local authenticated user to escalate privileges to root. Because root access on Junos OS provides full administrative control, the impact is complete compromise of the affected device, including unrestricted modification of configuration and system state, access to sensitive data, installation of persistent changes, and the ability to disrupt or subvert device operation.
Mitigation
If you can’t patch tonight, do this now.
If immediate patching is not possible, restrict access to CLI functionality that permits file link operations, especially for low-privileged users. In shared administrative environments, monitor for use of file link commands followed by configuration commits by different users, and investigate unexpected root logins. Baseline and review filesystem state for unauthorized modifications or suspicious symbolic links using root-only audit capabilities where available.
Remediation
Patch, then assume compromise.
Upgrade Junos OS to a fixed release. Reported fixed versions are 23.2R2-S7 and later in the 23.2 train, 23.4R2-S6 and later in the 23.4 train, 24.2R2-S3 and later in the 24.2 train, 24.4R2-S2 and later in the 24.4 train, and 25.2R2 and later in the 25.2 train. Version 25.4R1 and later is not affected. Systems on unsupported legacy releases should be moved to a supported fixed version because end-of-engineering or end-of-life versions may not receive patches.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Frequently asked questions
- Is CVE-2026-21916 exploited in the wild?
- As of Sep 25, 2026, Mallory has no reports of CVE-2026-21916 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2026-21916?
- As of Sep 25, 2026, Mallory has found no public exploit for CVE-2026-21916.
- Is there a patch for CVE-2026-21916?
- Upgrade Junos OS to a fixed release. Reported fixed versions are 23.2R2-S7 and later in the 23.2 train, 23.4R2-S6 and later in the 23.4 train, 24.2R2-S3 and later in the 24.2 train, 24.4R2-S2 and later in the 24.4 train, and 25.2R2 and later in the 25.2 train.
- What products are affected by CVE-2026-21916?
- Juniper Networks Junos.
- How severe is CVE-2026-21916?
- CVE-2026-21916 has a CVSS v4 score of 7.0 (High) and an EPSS score of 0.18% (4th percentile) as of Sep 25, 2026.
Recent activity
6 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.