# CVE-2026-21916: Junos OS: A low privileged user can escalate their privileges so that they can login as root

- Vendor: Juniper Networks, Junos OS
- Severity: HIGH (CVSS 4.0 7)
- Exploited (CISA KEV): not listed
- EPSS: 0.1% on 2026-12-02
- Public exploit: not checked
- Patch available: yes
- Vendor advisory: JSA107807, https://kb.juniper.net/JSA107807
- Published: 2026-04-08; updated: 2026-04-09
- Page: https://patchtonight.com/cve/CVE-2026-21916/

## Affected and fixed versions

| Affected | Fixed in |
| --- | --- |
| Junos OS 0 | 23.2R2-S7 or later |
| Junos OS 23.4 | 23.4R2-S6 or later |
| Junos OS 24.2 | 24.2R2-S3 or later |
| Junos OS 24.4 | 24.4R2-S2 or later |
| Junos OS 25.2 | 25.2R2 or later |
| Junos OS 25.4R1 | Not affected |

## The vendor's description

A UNIX Symbolic Link (Symlink) Following vulnerability in the CLI of Juniper Networks Junos OS allows a local, authenticated attacker with low privileges to escalate their privileges to root which will lead to a complete compromise of the system.

When after a user has performed a specific 'file link ...' CLI operation, another user commits (unrelated configuration changes), the first user can login as root.

This issue affects Junos OS:
  *  all versions before 23.2R2-S7,
  *  23.4 versions before 23.4R2-S6,
  *  24.2 versions before 24.2R2-S3,
  *  24.4 versions before 24.4R2-S2,
  *  25.2 versions before 25.2R2.


This issue does not affect versions 25.4R1 or later.

## Workarounds

To prevent exploitation, use access controls to keep users from performing 'file link' operations.

## Sources

- [Juniper Networks advisory](https://kb.juniper.net/JSA107807)

---

Data from PatchTonight (https://patchtonight.com), compiled from vendor advisories, CISA KEV and FIRST EPSS. Please credit PatchTonight and link to the CVE page when you use it.
