CVE-2025-59980

Junos OS: When a user with the name ftp or anonymous is configured unauthenticated filesystem access is allowed

AllVuln state: AFFECTED

MEDIUM
CVSS
6.5
3.1
EPSS
0.29%
Percentile 23.40%
CISA KEV
Not listed
Published
October 9, 2025
Updated October 10, 2025

Description

An Authentication Bypass by Primary Weakness in the FTP server of Juniper Networks Junos OS allows an unauthenticated, network-based attacker to get limited read-write access to files on the device. When the FTP server is enabled and a user named "ftp" or "anonymous" is configured, that user can login without providing the configured password and then has read-write access to their home directory. This issue affects Junos OS:  * all versions before 22.4R3-S8, * 23.2 versions before 23.2R2-S3, * 23.4 versions before 23.4R2.

Risk details

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

What should I do?

Review the vendor remediation for fixed or recommended release 22.4R3-S8.

Supported product evidence

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

Applicability

AFFECTED · RANGE
22.4R3-S8
NOT_AFFECTED · EXACT
22.4R3-S8
AFFECTED · RANGE
23.2R2-S3
NOT_AFFECTED · EXACT
23.2R2-S3
AFFECTED · RANGE
23.4R2
NOT_AFFECTED · EXACT
23.4R2
NOT_AFFECTED · DEFAULT
{"defaultStatus": "unaffected"}

Remediation

FIX_AVAILABLE
Release train: 22.4
First fixed: 22.4R3-S8
Vendor recommended: Not supplied
Remediation source ↗
FIX_AVAILABLE
Release train: 23.2
First fixed: 23.2R2-S3
Vendor recommended: Not supplied
Remediation source ↗
FIX_AVAILABLE
Release train: 23.4
First fixed: 23.4R2
Vendor recommended: Not supplied
Remediation source ↗
Juniper Networks · Junos OS
Referenced / metadata only · CVE List V5
Vendor advisory ↗

Applicability

AFFECTED · RANGE
22.4R3-S8
Required configuration: A system is only exploitable if ftp is enabled and a user with the name "ftp" or "anonymous" is configured: [ system services ftp ] [ system login user (ftp | anonymous) ... ]
AFFECTED · RANGE
23.2 → 23.2R2-S3
Required configuration: A system is only exploitable if ftp is enabled and a user with the name "ftp" or "anonymous" is configured: [ system services ftp ] [ system login user (ftp | anonymous) ... ]
AFFECTED · RANGE
23.4 → 23.4R2
Required configuration: A system is only exploitable if ftp is enabled and a user with the name "ftp" or "anonymous" is configured: [ system services ftp ] [ system login user (ftp | anonymous) ... ]

Remediation

UNKNOWN
Release train: 22.4R3
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 23.2
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 23.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-59980 – Junos OS Affected Versions & Fix | AllVuln