VDB
Sign up
MEDIUM5.3

PYSEC-2026-1279

copyparty: Sharing a single file does not fully restrict access to other files in source folder

Quick fix

PYSEC-2026-1279 — copyparty: upgrade to the fixed version with the command below.

pip install --upgrade 'copyparty>=1.19.8'

Details

There was a missing permission-check in the shares feature (the `shr` global-option).

When a share is created for just one file inside a folder, it was possible to access the other files inside that folder by guessing the filenames.

It was not possible to descend into subdirectories in this manner; only the sibling files were accessible.

This issue did not affect filekeys or dirkeys.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/copyparty
Introduced in: 0Fixed in: 1.19.8
Fixpip install --upgrade 'copyparty>=1.19.8'

References

Check it before you install it

One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.

curl -s https://vdb.ai.kr/v1/ai/check-packages \
  -H 'Content-Type: application/json' \
  -d '{"packages":["pkg:pypi/copyparty"]}'