npm package report

Is @payloadcms/db-postgres safe?

1 known vulnerability, worst severity HIGH.

// reach

5 direct dependencies

2 carry known advisories, worst CRITICAL

0 packages depend on it

an advisory here reaches each of them

    Create a free accountfor every dependency path, dependent and what to upgrade
    // ai model usage

    Tracked for PyPI packages. HuggingFace models declare Python dependencies, so npm packages are not covered.


    cvss
    0.0
    high

    severity out of 10

    epss
    not scored

    chance of exploitation in 30 days

    xyz score
    not scored

    CyberXYZ composite out of 10

    fig. 01 — GHSA-pj7x-6wpf-pgvp, the advisory selected below

    // 1 advisories

    GHSA-pj7x-6wpf-pgvp

    HIGHCVE-2026-105856
    // impact

    An attacker who has read plus create or update access to a collection can submit a request that includes a SQL injection targeting a specific field path shape and operators in Payload's SQLite and Postgres.

    // you are affected if:
    • You use @payloadcms/db-sqlite or @payloadcms/db-d1-sqlite.
    • You use @payloadcms/db-postgres or @payloadcms/db-vercel-postgres < 3.73.0.
    • A readable collection has a json field, or a blocks field with blocksAsJSON: true.
    • The attacker has read plus create or update access on it.
    // you are not affected if:
    • You have no json or blocksAsJSON fields. richText is not affected.
    • You run a patched version.
    // patches

    The patched version sanitizes the query input to prevent injection.

    Users should upgrade Payload packages to >= 3.90.0 or >= 4.0.0-canary.34.

    // cvss v4.0 vector

    CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

    Attack vector
    Network
    Attack complexity
    Low
    Attack requirements
    None
    Privileges required
    Low
    User interaction
    None
    Confidentiality (vulnerable system)
    High
    Integrity (vulnerable system)
    High
    Availability (vulnerable system)
    None
    Confidentiality (subsequent systems)
    None
    Integrity (subsequent systems)
    None
    Availability (subsequent systems)
    None

    Checked 2026-10-08 at 00:18 UTC. The most recent advisory here was published 2026-10-07. Updated continuously from NVD, GHSA, OSV and CNA feeds.

    Think a verdict here is wrong? Tell us — we respond within 2 business days.