GHSA-4ww4-68q3-h7g5

Suggest an improvement
Source
https://github.com/advisories/GHSA-4ww4-68q3-h7g5
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/10/GHSA-4ww4-68q3-h7g5/GHSA-4ww4-68q3-h7g5.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-4ww4-68q3-h7g5
Aliases
Published
2026-10-07T16:19:57Z
Modified
2026-10-07T16:30:06Z
Severity
  • 7.1 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:N CVSS Calculator
Summary
Payload: Field-level write access bypass in Payload on MongoDB
Details

Impact

A vulnerability in field-level access control could allow an authenticated user to modify fields they are not permitted to change on documents they can otherwise update.

You are affected if: Payload version < 3.87.0 (or a 4.0.0-canary release before 4.0.0-canary.20) using the MongoDB adapter (@payloadcms/db-mongodb) with any collection that relies on field-level access control to restrict writes under certain conditions.

Relational adapters (Postgres, SQLite) are not affected.

Patches

Handling of incoming field data has been hardened so field-level access control is enforced consistently.

Users should upgrade to 3.87.0 (or 4.0.0-canary.20 on the 4.x line) or later.

Workarounds

There is no complete workaround. Upgrading to 3.87.0 (or 4.0.0-canary.20 on the 4.x line) is recommended.

Database specific
{
    "cwe_ids": [
        "CWE-639",
        "CWE-915"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2026-10-07T16:19:57Z",
    "nvd_published_at": "2026-10-06T17:17:23Z",
    "severity": "HIGH"
}
References

Affected packages

npm / @payloadcms/db-mongodb

Package

Name
@payloadcms/db-mongodb
View open source insights on deps.dev
Purl
pkg:npm/%40payloadcms/db-mongodb

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
3.87.0

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/10/GHSA-4ww4-68q3-h7g5/GHSA-4ww4-68q3-h7g5.json"

npm / @payloadcms/db-mongodb

Package

Name
@payloadcms/db-mongodb
View open source insights on deps.dev
Purl
pkg:npm/%40payloadcms/db-mongodb

Affected ranges

Type
SEMVER
Events
Introduced
4.0.0-canary.0
Fixed
4.0.0-canary.20

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/10/GHSA-4ww4-68q3-h7g5/GHSA-4ww4-68q3-h7g5.json"