CVE-2025-30661

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

AllVuln state: AFFECTED

HIGH
CVSS
7.3
3.1
EPSS
0.20%
Percentile 9.89%
CISA KEV
Not listed
Published
July 11, 2025
Updated February 26, 2026

Description

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.

Risk details

CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
attack vector
L
attack complexity
L
privileges required
L
user interaction
R
scope
U
CWE
CWE-732

What should I do?

Review the vendor remediation for fixed or recommended release 23.2R2-S4.

Supported product evidence

Juniper Networks · Junos OS
Confirmed affected by authoritative structured evidence · Juniper Networks CNA / CVE List V5
Vendor advisory ↗

Applicability

AFFECTED · RANGE
23.2R2-S4
NOT_AFFECTED · EXACT
23.2R2-S4
AFFECTED · RANGE
23.4R2-S5
NOT_AFFECTED · EXACT
23.4R2-S5
AFFECTED · RANGE
24.2R2-S1
NOT_AFFECTED · EXACT
24.2R2-S1
UNKNOWN · UNKNOWN
{"lessThan": "24.4R1-S3, 24.4R2", "status": "affected", "version": "24.4", "versionType": "semver"}
NOT_AFFECTED · RANGE
23.1R2
NOT_AFFECTED · DEFAULT
{"defaultStatus": "unaffected"}

Remediation

FIX_AVAILABLE
Release train: 23.2
First fixed: 23.2R2-S4
Vendor recommended: Not supplied
Remediation source ↗
FIX_AVAILABLE
Release train: 23.4
First fixed: 23.4R2-S5
Vendor recommended: Not supplied
Remediation source ↗
FIX_AVAILABLE
Release train: 24.2
First fixed: 24.2R2-S1
Vendor recommended: Not supplied
Remediation source ↗
Juniper Networks · Junos OS
Referenced / metadata only · CVE List V5
Vendor advisory ↗

Applicability

AFFECTED · RANGE
23.2 → 23.2R2-S4
AFFECTED · RANGE
23.4 → 23.4R2-S5
AFFECTED · RANGE
24.2 → 24.2R2-S1
AFFECTED · RANGE
24.4 → 24.4R1-S3, 24.4R2
NOT_AFFECTED · RANGE
23.1R2

Remediation

UNKNOWN
Release train: 23.2
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 23.4
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 24.2
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 24.4
First fixed: Unknown
Vendor recommended: Not supplied

Evidence sources

Coverage varies by vendor, product, platform, and historical source availability. Absence of a finding is not a security guarantee. Validate critical remediation against the linked vendor advisory.

AllVuln data refreshed November 5, 2026.

CVE-2025-30661 – Junos OS Affected Versions & Fix | AllVuln