CVE-2026-59965: @jhb.software/payload-alt-text-plugin: Alt Text Endpoint Authorization Bypass via Payload Local API `overrideAccess` Omission
(updated )
@jhb.software/payload-alt-text-plugin v0.7.0 exposes custom Payload CMS endpoints (POST /api/alt-text-plugin/generate and /bulk) that call the Payload Local API (findByID and update) without setting overrideAccess: false. Because Payload’s internal logic evaluates shouldOverrideAccess = overrideAccess !== false, omitting the parameter causes it to default to true, silently bypassing all collection-level access control functions. Any authenticated user — regardless of role — can read and overwrite the alt and keywords fields of arbitrary upload documents that would otherwise be protected by restrictive collection access rules. The vulnerability is rated High (CVSS 7.1).
References
- github.com/advisories/GHSA-4qpv-39hg-f7fx
- github.com/jhb-software/payload-plugins/commit/e39634868ce13a414e2981e219befc58101654d3
- github.com/jhb-software/payload-plugins/pull/159
- github.com/jhb-software/payload-plugins/releases/tag/alt-text@0.8.0
- github.com/jhb-software/payload-plugins/security/advisories/GHSA-4qpv-39hg-f7fx
- nvd.nist.gov/vuln/detail/CVE-2026-59965
Code Behaviors & Features
Detect and mitigate CVE-2026-59965 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →