# CVE-2026-70657: Copyparty: file/dirkey confusion

- Severity: Medium 4.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.32%, higher than 26% of CVEs (2026-12-01)
- Published: 2026-08-18T14:59:54.218Z
- Modified: 2026-10-22T22:10:00.250Z
- Also known as: GHSA-x5pq-m9p8-f4vx, PYSEC-2026-3660
- Weaknesses: CWE-863
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

Copyparty is a portable file server. Prior to 1.20.17, copyparty volumes with the dk or dks directory-key flag combined with the fk or fka file-key flag can convert a valid file key into a directory key, granting read access to the containing folder. This vulnerability was only reachable if both types of keys (filekeys and dirkeys) were manually enabled in the volume flags simultaneously. This issue is fixed in version 1.20.17.

(As written by CVE List.)

## Affected

- 9001 copyparty: < 1.20.17
- copyparty (PyPI): before 1.20.17

## Every score

- GitHub_M: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`
- GitHub: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`
- PyPA Advisory Database: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`

## References

- <https://github.com/9001/copyparty/security/advisories/GHSA-x5pq-m9p8-f4vx> (web)
- <https://github.com/9001/copyparty/commit/e40755331ba9449993ff482456e6bdd2c6deb950> (web)
- <https://github.com/9001/copyparty/releases/tag/v1.20.17> (web)
- <https://github.com/9001/copyparty> (package)
- <https://pypi.org/project/copyparty> (package)
- <https://github.com/advisories/GHSA-x5pq-m9p8-f4vx> (advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-70657> (advisory)

## Sources

- CVE List: [CVE-2026-70657](https://www.cve.org/CVERecord?id=CVE-2026-70657), CVE Terms of Use, modified 2026-08-19
- GitHub Advisory Database: [GHSA-x5pq-m9p8-f4vx](https://github.com/advisories/GHSA-x5pq-m9p8-f4vx), CC-BY-4.0, modified 2026-08-19
- NVD: [CVE-2026-70657](https://nvd.nist.gov/vuln/detail/CVE-2026-70657), Public domain, modified 2026-10-22
- PyPA Advisory Database: [PYSEC-2026-3660](https://osv.dev/vulnerability/PYSEC-2026-3660), CC-BY-4.0, modified 2026-08-19

---

Page: https://cve.day/CVE-2026-70657 · Whole record: https://cve.day/CVE-2026-70657.json · Rebuilt by cve.day 2026-11-25T22:59:33.484Z
