{"answers":{"affected":"3 open source packages ship an affected version, including copyparty.","exploited":"There is no known exploitation of CVE-2026-70657 in the wild and no public exploit code.","fix":"Upgrade copyparty to 1.20.17 or later.","what":"CVE-2026-70657 is a medium-severity authentication bypass vulnerability in 9001 copyparty, published on 18 Aug 2026. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-70657 and fix it if it is affected.\n\nWhat it is: CVE-2026-70657 is a medium-severity authentication bypass vulnerability in 9001 copyparty, published on 18 Aug 2026. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-70657 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- copyparty (PyPI): affected all versions; fixed in 1.20.17\n- copyparty (PyPI): affected all versions; fixed in 1.20.17\n- copyparty (PyPI): affected all versions; fixed in 1.20.17\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-70657/ (Markdown: https://insights.sbomify.com/CVE-2026-70657/index.md)","id":"CVE-2026-70657","markdown":"https://insights.sbomify.com/CVE-2026-70657/index.md","name":"CVE-2026-70657","record":{"aliases":["GHSA-x5pq-m9p8-f4vx","PYSEC-2026-3660"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["data_read","security_bypass"],"network_reachable":"yes","non_default_config":true,"product_category":"Copyparty file server","requires_auth":"low_privilege","summary":"Attackers can use a valid file key to gain read access to the containing directory when both file and directory key features are enabled.","user_interaction":"not_required","vuln_class":"auth_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":4.3,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-863","name":"Incorrect Authorization"}],"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.","ecosystems":["PyPI"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Copyparty: file/dirkey confusion","id":"CVE-2026-70657","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"auth_bypass","year":"2026"},"n_packages":3,"n_references":3,"next":{"headline":"pay-rails/pay: non-constant-time HMAC comparison in Paddle Billing webhook signature verifier","id":"CVE-2026-70658"},"packages":[{"ecosystem":"PyPI","fixed":["1.20.17"],"introduced":["0"],"last_affected":[],"package":"copyparty","purl":null,"source":"GHSA-x5pq-m9p8-f4vx"},{"ecosystem":"PyPI","fixed":["1.20.17"],"introduced":["0"],"last_affected":[],"package":"copyparty","purl":"pkg:pypi/copyparty","source":"GHSA-x5pq-m9p8-f4vx"},{"ecosystem":"PyPI","fixed":["1.20.17"],"introduced":["0"],"last_affected":[],"package":"copyparty","purl":"pkg:pypi/copyparty","source":"PYSEC-2026-3660"}],"prev":{"headline":"Checkmate: Regular Expression Denial of Service (ReDoS) via User-Controlled Regex in Monitor Advanced Matching","id":"CVE-2026-70656"},"products":["copyparty"],"published":"2026-08-18","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-08-19","vendors":["9001"]},"summary":"Attackers can use a valid file key to gain read access to the containing directory when both file and directory key features are enabled.","url":"https://insights.sbomify.com/CVE-2026-70657/"}