Payload has an SQL Injection via Query Handling
Date: 2026-04
Affected: npm/payload
Attack vector: sql-injection
Category: vulnerability-disclosure
Severity: High
CVE: CVE-2026-34747
CWE: CWE-89
CVSS: 8.5 (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N)

### Impact Certain request inputs were not properly validated. An attacker could craft requests that influence SQL query execution, potentially exposing or modifying data in collections. ### Patches This issue has been fixed in **v3.79.1** and later. Query input validation has been hardened. Upgrade to **v3.79.1 or later**. ### Workarounds Until developers can upgrade: - Limit access to endpoints that accept dynamic query inputs to trusted users only. - Validate or sanitize input from untrusted clients before sending it to query endpoints.


Mitigations:

Architectural layers (MAESTRO):