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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 6.9
- **CVSS:** 6.9 (v4.0, CNA) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/AU:Y/RE:M`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Attack requirements: None; Privileges required: None; User interaction: None; Confidentiality impact: Low; Integrity impact: Low; Availability impact: None; Confidentiality impact on other systems: None; Integrity impact on other systems: None; Availability impact on other systems: None; AU: Y; RE: M
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.43% (percentile 29, 2026-11-26)
- **CWE:** CWE-305
- **Published:** 2025-10-09T16:05:17.009Z
- **Modified:** 2026-10-08T13:10:00.200Z

## Who should check

- Anyone running Juniper Networks Junos OS \< 22.4R3-S8; \>= 23.2, \< 23.2R2-S3; \>= 23.4, \< 23.4R2

## 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.

## Affected and fixed versions

- Juniper Networks Junos OS: \< 22.4R3-S8; \>= 23.2, \< 23.2R2-S3; \>= 23.4, \< 23.4R2 (cvelist)

## Mitigation

- Upgrade Junos OS to 23.4R2 or later.
- Vendor workaround: Choosing another name for the user "ftp" or "anonymous" will prevent exploitation of this issue.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-59980. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-59980.md
Affected: Juniper Networks Junos OS < 22.4R3-S8; >= 23.2, < 23.2R2-S3; >= 23.4, < 23.4R2
Fixed in: Juniper Networks Junos OS 22.4R3-S8, Juniper Networks Junos OS 23.2R2-S3, Juniper Networks Junos OS 23.4R2

Steps:
1. Search this machine and project for Juniper Networks Junos OS: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-59980 being exploited?

There is no confirmed exploitation: CVE-2025-59980 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.43% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-59980?

Medium: CVSS 6.9 (v4.0, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2025-59980?

Juniper Networks Junos OS \< 22.4R3-S8; \>= 23.2, \< 23.2R2-S3; \>= 23.4, \< 23.4R2.

### Is there a fix for CVE-2025-59980?

Yes. Fixed in Juniper Networks Junos OS 22.4R3-S8, Juniper Networks Junos OS 23.2R2-S3, Juniper Networks Junos OS 23.4R2. Upgrade Junos OS to 23.4R2 or later. Vendor workaround: Choosing another name for the user "ftp" or "anonymous" will prevent exploitation of this issue.

### How do I check if I'm affected by CVE-2025-59980?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://supportportal.juniper.net/JSA103167>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-59980>

HTML: <https://flawdb.com/CVE-2025-59980> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-59980>
