# CVE-2020-15152: Server-Side Request Forgery in ftp-srv

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

- **Severity:** CRITICAL 9.1
- **CVSS:** 9.1 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 1.86% (percentile 80, 2026-11-26)
- **CWE:** CWE-918
- **Aliases:** GHSA-jw37-5gqr-cf9j
- **Published:** 2020-08-17T21:44:54.000Z
- **Modified:** 2026-09-10T03:48:51.656Z

## Who should check

- Projects that depend on npm package ftp-srv (\>= 1.0.0, \< 2.19.6)
- Anyone running autovance ftp-srv \>= 1.0.0, \< 2.19.6; \>= 3.0.0, \< 3.1.2; \>= 4.0.0, \< 4.3.4

## Description

ftp-srv is an npm package which is a modern and extensible FTP server designed to be simple yet configurable. In ftp-srv before versions 2.19.6, 3.1.2, and 4.3.4 are vulnerable to Server-Side Request Forgery. The PORT command allows arbitrary IPs which can be used to cause the server to make a connection elsewhere. A possible workaround is blocking the PORT through the configuration. This issue is fixed in version2 2.19.6, 3.1.2, and 4.3.4. More information can be found on the linked advisory.

## Affected and fixed versions

- npm `ftp-srv`: affected \>= 1.0.0, \< 2.19.6; fixed 2.19.6, 3.1.2, 4.3.4 (osv)
- autovance ftp-srv: \>= 1.0.0, \< 2.19.6; \>= 3.0.0, \< 3.1.2; \>= 4.0.0, \< 4.3.4 (cvelist)

## Mitigation

- Upgrade ftp-srv to one of 2.19.6, 3.1.2, 4.3.4 (or later in the same release line).

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2020-15152.md
Affected: ftp-srv >= 1.0.0, < 2.19.6
Fixed in: 2.19.6, 3.1.2, 4.3.4

Steps:
1. Search this machine and project for ftp-srv (npm), autovance ftp-srv: 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-2020-15152 being exploited?

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

### How serious is CVE-2020-15152?

Critical: CVSS 9.1 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2020-15152?

ftp-srv \>= 1.0.0, \< 2.19.6.

### Is there a fix for CVE-2020-15152?

Yes. Fixed in 2.19.6, 3.1.2, 4.3.4. Upgrade ftp-srv to one of 2.19.6, 3.1.2, 4.3.4 (or later in the same release line).

### How do I check if I'm affected by CVE-2020-15152?

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://github.com/autovance/ftp-srv/security/advisories/GHSA-jw37-5gqr-cf9j>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2020-15152>
- patch: <https://github.com/autovance/ftp-srv/commit/e449e75219d918c400dec65b4b0759f60476abca>
- patch: <https://github.com/autovance/ftp-srv/commit/5508c2346cf23b24c20070ff2e8a47c647d3d5b5>
- patch: <https://github.com/autovance/ftp-srv/commit/fb32b012c3baf48ee804e1dc36544cbba70b00d3>
- other: <https://www.npmjs.com/package/ftp-srv>
- other: <https://www.npmjs.com/advisories/1445>

## 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-2020-15152>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-jw37-5gqr-cf9j> (license: <https://creativecommons.org/licenses/by/4.0/>)

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