Junos OS (SRX firewalls)
CVE-2025-59980: When a user with the name ftp or anonymous is configured unauthenticated filesystem access is allowed
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.
Published
Automatic summary from the vendor's CVE record. We haven't written a full analysis of this vulnerability yet.
Affected and fixed versions
| Product / branch | Fixed in |
|---|---|
| Junos OS 0 | 22.4R3-S8 or later |
| Junos OS 23.2 | 23.2R2-S3 or later |
| Junos OS 23.4 | 23.4R2 or later |
Always confirm against the vendor advisory, which lists every fixed hotfix.
What it is
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.
Am I affected?
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) ... ]
Workarounds
Choosing another name for the user "ftp" or "anonymous" will prevent exploitation of this issue.
Exploitation
Juniper SIRT is not aware of any malicious exploitation of this vulnerability.
Sources
KEV status, EPSS score and vendor data refreshed automatically, last on 13 Oct 2026.