# CVE-2025-59980: Junos OS: When a user with the name ftp or anonymous is configured unauthenticated filesystem access is allowed

- Vendor: Juniper Networks, Junos OS
- Severity: MEDIUM (CVSS 4.0 6.9)
- Exploited (CISA KEV): not listed
- EPSS: 0.3% on 2026-12-02
- Public exploit: not checked
- Patch available: yes
- Vendor advisory: JSA103167, https://supportportal.juniper.net/JSA103167
- Published: 2025-10-08; updated: 2025-10-10
- Page: https://patchtonight.com/cve/CVE-2025-59980/

## Affected and fixed versions

| Affected | 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 |

## The vendor's 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.

## Workarounds

Choosing another name for the user "ftp" or "anonymous" will prevent exploitation of this issue.

## Sources

- [Juniper Networks advisory](https://supportportal.juniper.net/JSA103167)

---

Data from PatchTonight (https://patchtonight.com), compiled from vendor advisories, CISA KEV and FIRST EPSS. Please credit PatchTonight and link to the CVE page when you use it.
