Read the docs
TI-2025-21935 Aliases CVE-2025-30661

Junos OS: Low-privileged user can cause script to run as root, leading to privilege escalation

Priority LOW 38CWE-732Published · Updated

Key facts

Attack vector
Local
Privileges required
None
User interaction
Passive
Attack complexity
Low
Attack requirements
None
Impact type
—
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA.

Summary

An Incorrect Permission Assignment for Critical Resource vulnerability in line card script processing of Juniper Networks Junos OS allows a local, low-privileged user to install scripts to be executed as root, leading to privilege escalation. A local user with access to the local file system can copy a script to the router in a way that will be executed as root, as the system boots. Execution of the script as root can lead to privilege escalation, potentially providing the adversary complete control of the system. This issue only affects specific line cards, such as the MPC10, MPC11, LC4800, LC9600, MX304-LMIC16, SRX4700, and EX9200-15C. This issue affects Junos OS: * from 23.2 before 23.2R2-S4,  * from 23.4 before 23.4R2-S5,  * from 24.2 before 24.2R2-S1,  * from 24.4 before 24.4R1-S3, 24.4R2. This issue does not affect versions prior to 23.1R2.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00197 9th percentileScored 2026-11-07
Fix Fixed Junos OS (Juniper Networks): 23.2R2-S4, 23.4R2-S5, 24.2R2-S1 +2

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
JuniperJunos OS23.2 to before 23.2R2-S4; 23.4 to before 23.4R2-S5; 24.2 to before 24.2R2-S1; 24.4 to before 24.4R1-S3, 24.4R223.2R2-S4, 23.4R2-S5, 24.2R2-S1, 24.4R1-S3, 24.4R2Patch availableCNA
  • Junos OS VendorJuniper Affected 23.2 to before 23.2R2-S4; 23.4 to before 23.4R2-S5; 24.2 to before 24.2R2-S1; 24.4 to before 24.4R1-S3, 24.4R2 Fixed in 23.2R2-S4, 23.4R2-S5, 24.2R2-S1, 24.4R1-S3, 24.4R2 Patch available CNA

CPE configurations NVD · 34

CPEVersionsRoleVendor
cpe:2.3:o:juniper:junos:23.2:-:*:*:*:*:*:*23.2VulnerableJuniper
cpe:2.3:o:juniper:junos:23.2:r1:*:*:*:*:*:*23.2 r1VulnerableJuniper
cpe:2.3:o:juniper:junos:23.2:r1-s1:*:*:*:*:*:*23.2 r1-s1VulnerableJuniper
cpe:2.3:o:juniper:junos:23.2:r1-s2:*:*:*:*:*:*23.2 r1-s2VulnerableJuniper
cpe:2.3:o:juniper:junos:23.2:r2:*:*:*:*:*:*23.2 r2VulnerableJuniper
cpe:2.3:o:juniper:junos:23.2:r2-s1:*:*:*:*:*:*23.2 r2-s1VulnerableJuniper
cpe:2.3:o:juniper:junos:23.2:r2-s2:*:*:*:*:*:*23.2 r2-s2VulnerableJuniper
cpe:2.3:o:juniper:junos:23.2:r2-s3:*:*:*:*:*:*23.2 r2-s3VulnerableJuniper
cpe:2.3:o:juniper:junos:23.4:-:*:*:*:*:*:*23.4VulnerableJuniper
cpe:2.3:o:juniper:junos:23.4:r1:*:*:*:*:*:*23.4 r1VulnerableJuniper
  • cpe:2.3:o:juniper:junos:23.2:-:*:*:*:*:*:* Versions 23.2 Vulnerable ·Juniper
  • cpe:2.3:o:juniper:junos:23.2:r1:*:*:*:*:*:* Versions 23.2 r1 Vulnerable ·Juniper
  • cpe:2.3:o:juniper:junos:23.2:r1-s1:*:*:*:*:*:* Versions 23.2 r1-s1 Vulnerable ·Juniper
  • cpe:2.3:o:juniper:junos:23.2:r1-s2:*:*:*:*:*:* Versions 23.2 r1-s2 Vulnerable ·Juniper
  • cpe:2.3:o:juniper:junos:23.2:r2:*:*:*:*:*:* Versions 23.2 r2 Vulnerable ·Juniper
  • cpe:2.3:o:juniper:junos:23.2:r2-s1:*:*:*:*:*:* Versions 23.2 r2-s1 Vulnerable ·Juniper
  • cpe:2.3:o:juniper:junos:23.2:r2-s2:*:*:*:*:*:* Versions 23.2 r2-s2 Vulnerable ·Juniper
  • cpe:2.3:o:juniper:junos:23.2:r2-s3:*:*:*:*:*:* Versions 23.2 r2-s3 Vulnerable ·Juniper
  • cpe:2.3:o:juniper:junos:23.4:-:*:*:*:*:*:* Versions 23.4 Vulnerable ·Juniper
  • cpe:2.3:o:juniper:junos:23.4:r1:*:*:*:*:*:* Versions 23.4 r1 Vulnerable ·Juniper
Show 24 more CPE
CPEVersionsRoleVendor
cpe:2.3:o:juniper:junos:23.4:r1-s1:*:*:*:*:*:*23.4 r1-s1VulnerableJuniper
cpe:2.3:o:juniper:junos:23.4:r1-s2:*:*:*:*:*:*23.4 r1-s2VulnerableJuniper
cpe:2.3:o:juniper:junos:23.4:r2:*:*:*:*:*:*23.4 r2VulnerableJuniper
cpe:2.3:o:juniper:junos:23.4:r2-s1:*:*:*:*:*:*23.4 r2-s1VulnerableJuniper
cpe:2.3:o:juniper:junos:23.4:r2-s2:*:*:*:*:*:*23.4 r2-s2VulnerableJuniper
cpe:2.3:o:juniper:junos:23.4:r2-s3:*:*:*:*:*:*23.4 r2-s3VulnerableJuniper
cpe:2.3:o:juniper:junos:23.4:r2-s4:*:*:*:*:*:*23.4 r2-s4VulnerableJuniper
cpe:2.3:o:juniper:junos:24.2:-:*:*:*:*:*:*24.2VulnerableJuniper
cpe:2.3:o:juniper:junos:24.2:r1:*:*:*:*:*:*24.2 r1VulnerableJuniper
cpe:2.3:o:juniper:junos:24.2:r1-s1:*:*:*:*:*:*24.2 r1-s1VulnerableJuniper
cpe:2.3:o:juniper:junos:24.2:r1-s2:*:*:*:*:*:*24.2 r1-s2VulnerableJuniper
cpe:2.3:o:juniper:junos:24.2:r2:*:*:*:*:*:*24.2 r2VulnerableJuniper
cpe:2.3:o:juniper:junos:24.4:-:*:*:*:*:*:*24.4VulnerableJuniper
cpe:2.3:o:juniper:junos:24.4:r1:*:*:*:*:*:*24.4 r1VulnerableJuniper
cpe:2.3:o:juniper:junos:24.4:r1-s2:*:*:*:*:*:*24.4 r1-s2VulnerableJuniper
cpe:2.3:o:juniper:junos:24.4:r2:*:*:*:*:*:*24.4 r2VulnerableJuniper
cpe:2.3:h:juniper:ex9200-15c:-:*:*:*:*:*:*:*not specified by NVDRunning onJuniper
cpe:2.3:h:juniper:lc4800:-:*:*:*:*:*:*:*not specified by NVDRunning onJuniper
cpe:2.3:h:juniper:lc9600:-:*:*:*:*:*:*:*not specified by NVDRunning onJuniper
cpe:2.3:h:juniper:mpc10e-10c:-:*:*:*:*:*:*:*not specified by NVDRunning onJuniper
cpe:2.3:h:juniper:mpc10e-15c:-:*:*:*:*:*:*:*not specified by NVDRunning onJuniper
cpe:2.3:h:juniper:mpc11:-:*:*:*:*:*:*:*not specified by NVDRunning onJuniper
cpe:2.3:h:juniper:mx304-lmic16:-:*:*:*:*:*:*:*not specified by NVDRunning onJuniper
cpe:2.3:h:juniper:srx4700:-:*:*:*:*:*:*:*not specified by NVDRunning onJuniper
  • cpe:2.3:o:juniper:junos:23.4:r1-s1:*:*:*:*:*:* Versions 23.4 r1-s1 Vulnerable ·Juniper
  • cpe:2.3:o:juniper:junos:23.4:r1-s2:*:*:*:*:*:* Versions 23.4 r1-s2 Vulnerable ·Juniper
  • cpe:2.3:o:juniper:junos:23.4:r2:*:*:*:*:*:* Versions 23.4 r2 Vulnerable ·Juniper
  • cpe:2.3:o:juniper:junos:23.4:r2-s1:*:*:*:*:*:* Versions 23.4 r2-s1 Vulnerable ·Juniper
  • cpe:2.3:o:juniper:junos:23.4:r2-s2:*:*:*:*:*:* Versions 23.4 r2-s2 Vulnerable ·Juniper
  • cpe:2.3:o:juniper:junos:23.4:r2-s3:*:*:*:*:*:* Versions 23.4 r2-s3 Vulnerable ·Juniper
  • cpe:2.3:o:juniper:junos:23.4:r2-s4:*:*:*:*:*:* Versions 23.4 r2-s4 Vulnerable ·Juniper
  • cpe:2.3:o:juniper:junos:24.2:-:*:*:*:*:*:* Versions 24.2 Vulnerable ·Juniper
  • cpe:2.3:o:juniper:junos:24.2:r1:*:*:*:*:*:* Versions 24.2 r1 Vulnerable ·Juniper
  • cpe:2.3:o:juniper:junos:24.2:r1-s1:*:*:*:*:*:* Versions 24.2 r1-s1 Vulnerable ·Juniper
  • cpe:2.3:o:juniper:junos:24.2:r1-s2:*:*:*:*:*:* Versions 24.2 r1-s2 Vulnerable ·Juniper
  • cpe:2.3:o:juniper:junos:24.2:r2:*:*:*:*:*:* Versions 24.2 r2 Vulnerable ·Juniper
  • cpe:2.3:o:juniper:junos:24.4:-:*:*:*:*:*:* Versions 24.4 Vulnerable ·Juniper
  • cpe:2.3:o:juniper:junos:24.4:r1:*:*:*:*:*:* Versions 24.4 r1 Vulnerable ·Juniper
  • cpe:2.3:o:juniper:junos:24.4:r1-s2:*:*:*:*:*:* Versions 24.4 r1-s2 Vulnerable ·Juniper
  • cpe:2.3:o:juniper:junos:24.4:r2:*:*:*:*:*:* Versions 24.4 r2 Vulnerable ·Juniper
  • cpe:2.3:h:juniper:ex9200-15c:-:*:*:*:*:*:*:* Versions not specified by NVD Running on ·Juniper
  • cpe:2.3:h:juniper:lc4800:-:*:*:*:*:*:*:* Versions not specified by NVD Running on ·Juniper
  • cpe:2.3:h:juniper:lc9600:-:*:*:*:*:*:*:* Versions not specified by NVD Running on ·Juniper
  • cpe:2.3:h:juniper:mpc10e-10c:-:*:*:*:*:*:*:* Versions not specified by NVD Running on ·Juniper
  • cpe:2.3:h:juniper:mpc10e-15c:-:*:*:*:*:*:*:* Versions not specified by NVD Running on ·Juniper
  • cpe:2.3:h:juniper:mpc11:-:*:*:*:*:*:*:* Versions not specified by NVD Running on ·Juniper
  • cpe:2.3:h:juniper:mx304-lmic16:-:*:*:*:*:*:*:* Versions not specified by NVD Running on ·Juniper
  • cpe:2.3:h:juniper:srx4700:-:*:*:*:*:*:*:* Versions not specified by NVD Running on ·Juniper

Remediation

  • Fix · CNA Junos OS (Juniper Networks) Fixed in 23.2R2-S4, 23.4R2-S5, 24.2R2-S1, 24.4R1-S3, 24.4R2

Timeline

  1. 2026-10-02 Threatist record created from CVE-2025-30661

References

  • TI-2023-18638 Junos OS: EX and SRX Series: A PHP vulnerability in J-Web allows an unauthenticated to… KEVCVSS 3.1CRITICAL 9.8
  • TI-2020-01585 Out of Cycle Security Advisory: Junos OS: Security vulnerability in J-Web and web based (HTTP/HTTPS) services KEVCVSS 3.1CRITICAL 9.8
  • TI-2015-04610 Assertion failure in ISC BIND named via TKEY queries KEVCVSS 3.1HIGH 7.5
  • TI-2025-15550 Junos OS: An local attacker with shell access can execute arbitrary code KEVCVSS 4.0MEDIUM 6.7
  • TI-2023-18644 Junos OS: SRX Series: A vulnerability in J-Web allows an unauthenticated attacker to upload and download arbitrary files KEVCVSS 3.1MEDIUM 5.3
  • TI-2023-18640 Junos OS: EX Series: A vulnerability in J-Web allows an unauthenticated attacker to upload arbitrary files KEVCVSS 3.1MEDIUM 5.3
See all 792 →

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences