CVE-2026-105865 Payload: Incomplete validation during the upload file lifecycle
Authenticated users can trigger file cleanup to delete unintended files outside the upload directory, causing data loss or service disruption.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2026-105865?
CVE-2026-105865 is a high-severity path traversal vulnerability in payloadcms payload, published on 6 Oct 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
Payload is a free and open source headless content management system. In versions before 3.90.0 and canary versions before 4.0.0-canary.34, an authenticated user who can update or delete uploads stored locally can cause file cleanup to remove unintended files outside the configured upload directory, resulting in data loss or service disruption. Deployments that restrict upload management to trusted users are less exposed. This issue is fixed in versions 3.90.0 and 4.0.0-canary.34.
Which versions are affected by CVE-2026-105865?
4 open source packages ship an affected version, including payload. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
payload npm | All versions | 3.90.0 |
payload npm | All versions | 3.90.0 |
payload npm | From 4.0.0-canary.0 | 4.0.0-canary.34 |
payload npm | From 4.0.0-canary.0 | 4.0.0-canary.34 |
Products include Payloadcms Payload.
How do I fix CVE-2026-105865?
Upgrade payload to a fixed version for your release line: 3.90.0 or 4.0.0-canary.34.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2026-105865 being exploited?
There is no known exploitation of CVE-2026-105865 in the wild and no public exploit code.
Other vulnerabilities in payloadcms payload
- CVE-2026-105857 Payload: RCE in Payload Form Builder
- CVE-2026-105859 Payload: Unauthorized update to collection documents
- CVE-2026-25544 Payload has an SQL Injection in JSON/RichText Queries on PostgreSQL/SQLite Adapters
- CVE-2022-27952 Unrestricted Upload of File with Dangerous Type in Payload
- CVE-2026-105851 Payload: Field access control bypass on auth collections
Sources
Also known as GHSA-p223-2wr2-j562.