{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-46421",
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "state": "PUBLISHED",
        "assignerShortName": "GitHub_M",
        "dateReserved": "2026-05-13T22:18:22.829Z",
        "datePublished": "2026-07-15T18:52:09.971Z",
        "dateUpdated": "2026-07-15T19:22:50.086Z"
    },
    "containers": {
        "cna": {
            "title": "Supply chain compromise via malicious package versions (@cap-js/sqlite,  @cap-js/postgres, @cap-js/db-service)",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-506",
                            "lang": "en",
                            "description": "CWE-506: Embedded Malicious Code",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "metrics": [
                {
                    "cvssV4_0": {
                        "attackVector": "NETWORK",
                        "attackComplexity": "LOW",
                        "attackRequirements": "NONE",
                        "privilegesRequired": "NONE",
                        "userInteraction": "NONE",
                        "vulnConfidentialityImpact": "HIGH",
                        "vulnIntegrityImpact": "HIGH",
                        "vulnAvailabilityImpact": "HIGH",
                        "subConfidentialityImpact": "NONE",
                        "subIntegrityImpact": "NONE",
                        "subAvailabilityImpact": "NONE",
                        "baseScore": 9.3,
                        "baseSeverity": "CRITICAL",
                        "vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N",
                        "version": "4.0"
                    }
                }
            ],
            "references": [
                {
                    "name": "https://github.com/cap-js/cds-dbs/security/advisories/GHSA-pvw4-cvr4-97p8",
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://github.com/cap-js/cds-dbs/security/advisories/GHSA-pvw4-cvr4-97p8"
                },
                {
                    "name": "https://me.sap.com/notes/3747787",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://me.sap.com/notes/3747787"
                },
                {
                    "name": "https://www.sap.com/documents/2026/05/8203a8b9-4d7f-0010-bca6-c68f7e60039b.html",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://www.sap.com/documents/2026/05/8203a8b9-4d7f-0010-bca6-c68f7e60039b.html"
                },
                {
                    "name": "https://www.stepsecurity.io/blog/a-mini-shai-hulud-has-appeared",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://www.stepsecurity.io/blog/a-mini-shai-hulud-has-appeared"
                }
            ],
            "affected": [
                {
                    "vendor": "cap-js",
                    "product": "@cap-js/sqlite",
                    "versions": [
                        {
                            "version": "= 2.2.2",
                            "status": "affected"
                        }
                    ]
                },
                {
                    "vendor": "cap-js",
                    "product": "@cap-js/postgres",
                    "versions": [
                        {
                            "version": "= 2.2.2",
                            "status": "affected"
                        }
                    ]
                },
                {
                    "vendor": "@cap-js/db-service",
                    "product": "@cap-js/db-service",
                    "versions": [
                        {
                            "version": "= 2.10.1",
                            "status": "affected"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
                "shortName": "GitHub_M",
                "dateUpdated": "2026-07-15T18:52:09.971Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "The SAP Cloud Application Programming Model is a tool for building enterprise-grade cloud applications, and cap-js/cds-dbs is the monorepo for SQL database services for that tool. On April 29, 2026, compromised versions of `@cap-js/sqlite@2.2.2`, `@cap-js/postgres@2.2.2`, and `@cap-js/db-service@2.10.1` were published. The malicious packages harvested credentials and attempted self-propagation. If a compromised version was installed, all credentials accessible on that machine (npm tokens, cloud provider credentials, SSH keys, GitHub PATs) should be considered compromised. User should upgrade to `@cap-js/sqlite` >= 2.4.0, `@cap-js/postgres` >= 2.3.0, `@cap-js/db-service` >= 2.11.0. If a compromised version was ever installed, rotate all affected credentials. No known workarounds are available."
                }
            ],
            "source": {
                "advisory": "GHSA-pvw4-cvr4-97p8",
                "discovery": "UNKNOWN"
            }
        },
        "adp": [
            {
                "metrics": [
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2026-07-15T19:22:41.730582Z",
                                "id": "CVE-2026-46421",
                                "options": [
                                    {
                                        "Exploitation": "none"
                                    },
                                    {
                                        "Automatable": "yes"
                                    },
                                    {
                                        "Technical Impact": "total"
                                    }
                                ],
                                "role": "CISA Coordinator",
                                "version": "2.0.3"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2026-07-15T19:22:50.086Z"
                }
            }
        ]
    }
}