CVE-2026-32109: Copyparty has unexpected JavaScript execution via crafted URL to folder with `.prologue.html`

Published Mar 11, 2026
·
Updated

Copyparty is a portable file server. Prior to 1.20.12, if an attacker has been given both read- and write-permissions to the server, they can upload a malicious file with the filename .prologue.html and then craft a link to potentially execute arbitrary JavaScript in the victim's context. Note that it is intended behavior that the JavaScript would execute if the target clicks a link to the HTML file itself; "https://example.com/foo/.prologue.html". The vulnerability is that "https://example.com/foo/?b" would also evaluate the file, making the behavior unexpected. There are existing preventative measures (strict SameSite cookies) which makes it harder to leverage this vulnerability in an attack; in order to gain control of the target's authenticated session, the link must be clicked from a page served by the server itself -- most likely by editing an existing resource, which would require additional access permissions. Finally, for this attack to be successful, the attacker's target must click the specific crafted link given by the attacker. This vulnerability is not activated by normally browsing the web-UI on the server. This vulnerability is fixed in 1.20.12.

Other sources

If an attacker has been given both read- and write-permissions to the server, they can upload a malicious file with the filename .prologue.html and then craft a link to potentially execute arbitrary JavaScript in the victim's context.

Note that it is intended behavior that the JavaScript would execute if the target clicks a link to the HTML file itself; "https://example.com/foo/.prologue.html". The vulnerability is that "https://example.com/foo/?b" would also evaluate the file, making the behavior unexpected.

There are existing preventative measures (strict SameSite cookies) which makes it harder to leverage this vulnerability in an attack; in order to gain control of the target's authenticated session, the link must be clicked from a page served by the server itself -- most likely by editing an existing resource, which would require additional access permissions.

Finally, for this attack to be successful, the attacker's target must click the specific crafted link given by the attacker. This vulnerability is not activated by normally browsing the web-UI on the server.

Impact

If successful, the malicious JavaScript could move or delete existing files on the server, or upload new files, using the account of the person who opens the link.

GitHub

Affected Software

3 affected componentsFixes available
copyparty copyparty<1.20.12
pip/copyparty<1.20.12
1.20.12
9001 Copyparty<1.20.12

Event History

Mar 11, 2026
CVE Published
via MITRE·08:16 PM
Data Sourced
via MITRE·08:16 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·09:16 PM
DescriptionSeverityWeaknessAffected Software
Mar 12, 2026
Advisory Published
via GitHub·02:22 PM
Data Sourced
via GitHub·02:22 PM
DescriptionSeverityWeaknessAffected Software
Jan 29, 58178
Event
via FIRST·12:18 PM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-32109?

CVE-2026-32109 has a medium severity rating due to its potential for unauthorized JavaScript execution.

2

How do I fix CVE-2026-32109?

To fix CVE-2026-32109, upgrade to Copyparty version 1.20.12 or later.

3

What vulnerability does CVE-2026-32109 describe?

CVE-2026-32109 describes a vulnerability where unexpected JavaScript execution can occur via a crafted URL to a folder with a .prologue.html file.

4

Who is affected by CVE-2026-32109?

CVE-2026-32109 affects users of Copyparty versions prior to 1.20.12 who have granted read- and write-permissions to attackers.

5

What can attackers do with CVE-2026-32109?

Attackers can upload a malicious .prologue.html file leading to potential security breaches through JavaScript execution.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203