JunosOperating system · Juniper

CVE-2026-21916

HIGH · 7.3 CVSS v3.1 Published 2026-04-09
Fix available
A fix is available. Upgrade to 23.2 or later.
See remediation →
73/100
Remediation priority · Elevated

Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.

NVD · unedited
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.

Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.

dbcve analysis · high confidence

A symlink following vulnerability in Junos OS CLI allows authenticated low-privilege users to escalate to root by performing a 'file link ...' operation followed by another user committing configuration changes, enabling full system compromise.

MitigationUpgrade Junos OS to version 25.4R1 or later, or to the specified patched versions (23.2R2-S7, 23.4R2-S6, 24.2R2-S3, 24.4R2-S2, or 25.2R2) for each respective branch.

Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.

Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.

NVD · CPE data
JunosOperating system
Affected:< 23.2= 23.2= 23.4= 24.2= 24.4= 25.2

CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.

From the vector
Attack vector
Local
Complexity
Low
Privileges
Low
User interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H

Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.

dbcve checks

Work through these to decide whether this CVE applies to you.

  1. Determine Junos OS version
    Execute 'show version' or 'show version detail' in the CLI to obtain the installed Junos OS version
    Affected if The installed version matches < 23.2, = 23.2, = 23.4, = 24.2, = 24.4, or = 25.2 (compare your exact version string to the listed affected versions)
  2. Verify user privilege level for file operations
    Check if the authenticated low-privilege user has access to the 'file link' CLI operation by attempting to run 'file link ?' or reviewing the user's login class and system permission grants
    Affected if The user can access the 'file link' command operation (the vulnerability requires this operation to be available to low-privilege users)
  3. Confirm multi-user configuration environment
    Determine if multiple users have the ability to commit configuration changes in the Junos environment
    Affected if Multiple users can perform configuration commits (the attack requires another user to commit configuration changes after the 'file link' operation)
  4. Check for recent file link operations
    Review system logs and audit records for recent 'file link' CLI operations performed by non-privileged users
    Affected if Any 'file link' operations have been executed recently by low-privilege accounts in the environment

You are affected if your Junos OS version is exactly 23.2, 23.4, 24.2, 24.4, or 25.2 (or any version below 23.2), AND low-privilege users have access to the 'file link' CLI command in an environment where other users can commit configuration changes.

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.

dbcve · scoped
Upgrade available Upgrade to 23.2 or later
Fixed in 23.2
Interim mitigation

Upgrade Junos OS to version 25.4R1 or later, or to the specified patched versions (23.2R2-S7, 23.4R2-S6, 24.2R2-S3, 24.4R2-S2, or 25.2R2) for each respective branch.

Recommended fix High confidence

Upgrade to 23.2R2-S7+ / 23.4R2-S6+ / 24.2R2-S3+ / 24.4R2-S2+ / 25.2R2+ depending on current branch

  1. Identify the current Junos OS version using 'show version' command
  2. Determine which upgrade path applies based on current version branch (23.2, 23.4, 24.2, 24.4, or 25.2)
  3. Schedule a maintenance window for the upgrade
  4. Backup the current configuration using 'request system backup' or 'save' command
  5. Upgrade to a fixed release: 23.2R2-S7 or later, 23.4R2-S6 or later, 24.2R2-S3 or later, 24.4R2-S2 or later, or 25.2R2 or later
  6. After upgrade, verify the version using 'show version'
  7. Confirm the vulnerability is resolved by ensuring the 'file link' command behavior is secure
  8. Restart any affected services if prompted
Caveat Standard Junos upgrade considerations apply - review release notes for any configuration syntax changes and ensure compatibility with existing scripts/plugins

Generated from the published advisory — verify against the referenced sources before acting.

Fix this in Junos Scoped from the published advisory
  • Consultation4.0 h
  • Implementation3.0 h
  • Testing2.0 h
  • Review / QA2.0 h
11.0 hours of engineering $2,000
Get the upgrade done

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $3,200.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2026-21916 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.

References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.

Primary sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2026-21916 in production — separate from our analysis above.

No notes yet

Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.

What this is

A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.

What belongs here
  • Verified mitigations, workarounds, and config changes
  • Version or environment caveats, and links to real fixes
  • No weaponised exploit code, or anything meant to cause harm
  • No spam, self-promotion, credentials, or personal data