All vulnerabilities

Servers and applications

GHSA-8899-x9g3-4xgr

MongoDB operator-key handling can bypass field-level write access

Severity
Medium 5.3
Published
24 Nov 2026
Last changed
24 Nov 2026
Added to UpHeron
24 Nov 2026
Fixed in
3.94.2, 4.0.0-beta.12
Weakness
Mass assignment (CWE-915)
Attack
Over the network · Needs a user account · No user action needed
Attacker can
Change some data
CVSS vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
Sources
Project advisories (GitHub)

Description

On MongoDB-backed deployments, a user who can update a document could modify some fields they don’t have permission to change.

You are affected if:

  • You use an affected version of Payload with the MongoDB adapter and rely on field-level update restrictions on collections that untrusted users can edit.
From payloadcms/payload's security advisory.

Workarounds

Upgrading is recommended. Until you can upgrade, restrict update access on affected collections to trusted users.

Workarounds as given by payloadcms/payload's security advisory.

Affected software

SoftwareAffected versions
Payload CMSServers and applications · github:payloadcms/payload
  • From 3.86.0 before 3.94.2
  • From 4.0.0-beta.1 before 4.0.0-beta.12

About Payload CMS

Payload is the open-source, fullstack Next.js framework, giving you instant backend superpowers. Get a full TypeScript backend and admin panel instantly. Use Payload as a headless CMS or for building powerful applications.

From its GitHub repository.
Share of websites with a known CMS
0.1%W3Techs, Nov 2026
Weekly downloads (npm)
1,560,072npm, 22 Nov 2026
GitHub stars
45,948GitHub, 22 Nov 2026
Forks
4,475GitHub, 22 Nov 2026
Latest release
v3.94.1GitHub, 22 Nov 2026
Released
20 Nov 2026GitHub
License
MITGitHub
First published on GitHub
5 Jan 2021GitHub

References