# CVE-2023-37474: PYSEC-2023-127 - Copyparty is a portable file server. Versions prior to 1.8.2 are subject to a path traversal vulnerability detected in the `.cpr` subfolder.

Source: https://junglewise.ai/threats/cve-2023-37474-copyparty-vulnerable-to-path-traversal-attack  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2023-07-14  
License: CC BY 4.0 with a link back

CVE-2023-37474 · Severity: low · CVSS 3 · Published 2023-07-14

Copyparty is a portable file server. Versions prior to 1.8.2 are subject to a path traversal vulnerability detected in the `.cpr` subfolder. The Path Traversal attack technique allows an attacker access to files, directories, and commands that reside outside the web document root directory. This issue has been addressed in commit `043e3c7d` which has been included in release 1.8.2. Users are advised to upgrade. There are no known workarounds for this vulnerability.

Technologies: [copyparty (PyPI)](https://junglewise.ai/threats/technologies/copyparty). Vendors: [PyPI](https://junglewise.ai/threats/vendors/pypi).

## Quick answers

**Is CVE-2023-37474 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2023-37474 being exploited in the wild.

**How severe is CVE-2023-37474?** Low severity, with a CVSS score of 3, published 14 July 2023.

**Which products and versions are affected?** copyparty (PyPI) ECOSYSTEM:introduced=0,fixed=1.8.2, GIT:introduced=0,fixed=043e3c7dd683113e2b1c15cacb9c8e68f76513ff|ECOSYSTEM:introduced=0,fixed=1.8.2.

**Is there a fix for CVE-2023-37474?** Yes. copyparty (PyPI): upgrade to 1.8.2 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2023-37474?** Check whether you run copyparty (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- copyparty (PyPI): upgrade to 1.8.2 or later

  ```sh
  pip install "copyparty>=1.8.2"
  ```


## Affected products

- copyparty (PyPI) ECOSYSTEM:introduced=0,fixed=1.8.2, GIT:introduced=0,fixed=043e3c7dd683113e2b1c15cacb9c8e68f76513ff|ECOSYSTEM:introduced=0,fixed=1.8.2

## Identifiers

- CVE-2023-37474
- GHSA-pxfv-7rr3-2qjg
- PYSEC-2023-127

## Related threats

- [copyparty FTP path traversal in upload](https://junglewise.ai/threats/cve-2026-104102-copyparty-ftp-upload-outside-defined-volumes-limited-path)
- [Copyparty file/dirkey confusion authorization bypass](https://junglewise.ai/threats/cve-2026-70657-copyparty-file-dirkey-confusion-authorization-bypass)
- [PYSEC-2026-1279 - copyparty: Sharing a single file does not fully restrict access to other files in source folder](https://junglewise.ai/threats/cve-2025-58753-copyparty-sharing-a-single-file-does-not-fully-restrict-access-to)
- [PYSEC-2026-1275 - copyparty allows Regex Denial of Service (ReDoS) in the upload listing](https://junglewise.ai/threats/cve-2025-54796-copyparty-allows-regex-denial-of-service-redos-in-the-upload)
- [PYSEC-2026-1276 - copyparty Reflected XSS via Filter Parameter](https://junglewise.ai/threats/cve-2025-54589-copyparty-reflected-xss-via-filter-parameter)
