{"id":"CVE-2026-70657","aliases":["CVE-2026-70657","GHSA-x5pq-m9p8-f4vx","PYSEC-2026-3660"],"related":[],"kind":"vulnerability","state":"published","title":"Copyparty: file/dirkey confusion","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"A valid filekey could potentially be converted into a dirkey, granting read-access to the containing folder.\n\nThis issue only affected volumes which simultaneously enable both filekeys and dirkeys, with volflag `dk` or `dks` combined with `fk` or `fka`.\n\nBoth required features are default-disabled, and must be explicitly enabled in the volflags (the \"flags\" section of a volume).","format":"markdown","source":"ghsa"},{"lang":"es","text":"Copyparty es un servidor de archivos portátil. Antes de la versión 1.20.17, los volúmenes de copyparty con la bandera de clave de directorio dk o dks combinada con la bandera de clave de archivo fk o fka pueden convertir una clave de archivo válida en una clave de directorio, otorgando acceso de lectura a la carpeta contenedora. Esta vulnerabilidad solo era accesible si ambos tipos de claves (claves de archivo y claves de directorio) se habilitaban manualmente en las banderas del volumen simultáneamente. Este problema está solucionado en la versión 1.20.17.","source":"nvd"}],"published":"2026-08-18T14:59:54.218Z","modified":"2026-10-22T22:10:00.250Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","score":4.3,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","score":4.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","score":4.3,"rating":"MEDIUM"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","score":4.3,"rating":"MEDIUM"}],"cwes":["CWE-863"],"affected":[{"ranges":[{"version":"< 1.20.17","status":"affected"}],"vendor":"9001","product":"copyparty","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1.20.17"}],"ecosystem":"PyPI","package":"copyparty","purl":"pkg:pypi/copyparty","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1.20.17"}],"ecosystem":"PyPI","package":"copyparty","purl":"pkg:pypi/copyparty","source":"pysec"}],"references":[{"url":"https://github.com/9001/copyparty/security/advisories/GHSA-x5pq-m9p8-f4vx","tags":["web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/9001/copyparty/commit/e40755331ba9449993ff482456e6bdd2c6deb950","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/9001/copyparty/releases/tag/v1.20.17","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/9001/copyparty","tags":["package"],"sources":["ghsa","pysec"]},{"url":"https://pypi.org/project/copyparty","tags":["package"],"sources":["pysec"]},{"url":"https://github.com/advisories/GHSA-x5pq-m9p8-f4vx","tags":["advisory"],"sources":["pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-70657","tags":["advisory"],"sources":["pysec"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-08-18T18:00:08.102Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-70657","url":"https://www.cve.org/CVERecord?id=CVE-2026-70657","licence":"CVE Terms of Use","modified":"2026-08-19T16:19:51.186Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-x5pq-m9p8-f4vx","url":"https://github.com/advisories/GHSA-x5pq-m9p8-f4vx","licence":"CC-BY-4.0","modified":"2026-08-19T12:55:59.077Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-70657","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-70657","licence":"Public domain","modified":"2026-10-22T22:10:00.250Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-3660","url":"https://osv.dev/vulnerability/PYSEC-2026-3660","licence":"CC-BY-4.0","modified":"2026-08-19T12:45:05.493Z"}],"updatedAt":"2026-11-25T22:59:33.484Z","epss":{"score":0.00317,"percentile":0.26633,"date":"2026-12-01T12:00:22.000Z"}}