CVE-2026-27948 Copyparty vulnerable to eflected cross-site scripting via setck parameter

Medium 5.4 Published Updated

Reflected cross-site scripting in Copyparty allows attackers to execute arbitrary scripts via the setck URL parameter.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2026-27948?

CVE-2026-27948 is a medium-severity cross-site scripting vulnerability in 9001 copyparty, published on 26 Feb 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

Copyparty is a portable file server. In versions prior to 1.20.9, an XSS allows for reflected cross-site scripting via URL-parameter `?setck=...`. Version 1.20.9 fixes the issue.

Weakness: CWE-79

Which versions are affected by CVE-2026-27948?

3 open source packages ship an affected version, including copyparty. It affects 1 product.

PackageAffectedFixed in
copyparty PyPIAll versions1.20.9
copyparty PyPIAll versions1.20.9
copyparty PyPIAll versions1.20.9

Products include 9001 Copyparty.

How do I fix CVE-2026-27948?

Upgrade copyparty to 1.20.9 or later.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2026-27948 being exploited?

There is no known exploitation of CVE-2026-27948 in the wild and no public exploit code.

Sources

Also known as GHSA-62cr-6wp5-q43h, PYSEC-2026-2136.

Is CVE-2026-27948 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free