Search
Find a vulnerability
Search criteria
2 vulnerabilities found for @cap-js/db-service by @cap-js/db-service
CVE-2026-46421 (GCVE-0-2026-46421)
Vulnerability from nvd – Published: 2026-07-15 18:52 – Updated: 2026-07-15 19:22
VLAI
EPSS
VEX
Title
Supply chain compromise via malicious package versions (@cap-js/sqlite, @cap-js/postgres, @cap-js/db-service)
Summary
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.
Severity
SSVC
Exploitation: none
Automatable: yes
Technical Impact: total
CISA Coordinator (v2.0.3)
CWE
- CWE-506 - Embedded Malicious Code
Assigner
References
4 references
| URL | Tags |
|---|---|
| https://github.com/cap-js/cds-dbs/security/adviso… | x_refsource_CONFIRM |
| https://me.sap.com/notes/3747787 | x_refsource_MISC |
| https://www.sap.com/documents/2026/05/8203a8b9-4d… | x_refsource_MISC |
| https://www.stepsecurity.io/blog/a-mini-shai-hulu… | x_refsource_MISC |
Impacted products
3 products
| Vendor | Product | Version | |
|---|---|---|---|
| cap-js | @cap-js/sqlite |
Affected:
= 2.2.2
|
|
| cap-js | @cap-js/postgres |
Affected:
= 2.2.2
|
|
| @cap-js/db-service | @cap-js/db-service |
Affected:
= 2.10.1
|
{
"containers": {
"adp": [
{
"metrics": [
{
"other": {
"content": {
"id": "CVE-2026-46421",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "yes"
},
{
"Technical Impact": "total"
}
],
"role": "CISA Coordinator",
"timestamp": "2026-07-15T19:22:41.730582Z",
"version": "2.0.3"
},
"type": "ssvc"
}
}
],
"providerMetadata": {
"dateUpdated": "2026-07-15T19:22:50.086Z",
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP"
},
"title": "CISA ADP Vulnrichment"
}
],
"cna": {
"affected": [
{
"product": "@cap-js/sqlite",
"vendor": "cap-js",
"versions": [
{
"status": "affected",
"version": "= 2.2.2"
}
]
},
{
"product": "@cap-js/postgres",
"vendor": "cap-js",
"versions": [
{
"status": "affected",
"version": "= 2.2.2"
}
]
},
{
"product": "@cap-js/db-service",
"vendor": "@cap-js/db-service",
"versions": [
{
"status": "affected",
"version": "= 2.10.1"
}
]
}
],
"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` \u003e= 2.4.0, `@cap-js/postgres` \u003e= 2.3.0, `@cap-js/db-service` \u003e= 2.11.0. If a compromised version was ever installed, rotate all affected credentials. No known workarounds are available."
}
],
"metrics": [
{
"cvssV4_0": {
"attackComplexity": "LOW",
"attackRequirements": "NONE",
"attackVector": "NETWORK",
"baseScore": 9.3,
"baseSeverity": "CRITICAL",
"privilegesRequired": "NONE",
"subAvailabilityImpact": "NONE",
"subConfidentialityImpact": "NONE",
"subIntegrityImpact": "NONE",
"userInteraction": "NONE",
"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",
"vulnAvailabilityImpact": "HIGH",
"vulnConfidentialityImpact": "HIGH",
"vulnIntegrityImpact": "HIGH"
}
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-506",
"description": "CWE-506: Embedded Malicious Code",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-07-15T18:52:09.971Z",
"orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"shortName": "GitHub_M"
},
"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"
}
],
"source": {
"advisory": "GHSA-pvw4-cvr4-97p8",
"discovery": "UNKNOWN"
},
"title": "Supply chain compromise via malicious package versions (@cap-js/sqlite, @cap-js/postgres, @cap-js/db-service)"
}
},
"cveMetadata": {
"assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"assignerShortName": "GitHub_M",
"cveId": "CVE-2026-46421",
"datePublished": "2026-07-15T18:52:09.971Z",
"dateReserved": "2026-05-13T22:18:22.829Z",
"dateUpdated": "2026-07-15T19:22:50.086Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
CVE-2026-46421 (GCVE-0-2026-46421)
Vulnerability from cvelistv5 – Published: 2026-07-15 18:52 – Updated: 2026-07-15 19:22
VLAI
EPSS
VEX
Title
Supply chain compromise via malicious package versions (@cap-js/sqlite, @cap-js/postgres, @cap-js/db-service)
Summary
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.
Severity
SSVC
Exploitation: none
Automatable: yes
Technical Impact: total
CISA Coordinator (v2.0.3)
CWE
- CWE-506 - Embedded Malicious Code
Assigner
References
4 references
| URL | Tags |
|---|---|
| https://github.com/cap-js/cds-dbs/security/adviso… | x_refsource_CONFIRM |
| https://me.sap.com/notes/3747787 | x_refsource_MISC |
| https://www.sap.com/documents/2026/05/8203a8b9-4d… | x_refsource_MISC |
| https://www.stepsecurity.io/blog/a-mini-shai-hulu… | x_refsource_MISC |
Impacted products
3 products
| Vendor | Product | Version | |
|---|---|---|---|
| cap-js | @cap-js/sqlite |
Affected:
= 2.2.2
|
|
| cap-js | @cap-js/postgres |
Affected:
= 2.2.2
|
|
| @cap-js/db-service | @cap-js/db-service |
Affected:
= 2.10.1
|
{
"containers": {
"adp": [
{
"metrics": [
{
"other": {
"content": {
"id": "CVE-2026-46421",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "yes"
},
{
"Technical Impact": "total"
}
],
"role": "CISA Coordinator",
"timestamp": "2026-07-15T19:22:41.730582Z",
"version": "2.0.3"
},
"type": "ssvc"
}
}
],
"providerMetadata": {
"dateUpdated": "2026-07-15T19:22:50.086Z",
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP"
},
"title": "CISA ADP Vulnrichment"
}
],
"cna": {
"affected": [
{
"product": "@cap-js/sqlite",
"vendor": "cap-js",
"versions": [
{
"status": "affected",
"version": "= 2.2.2"
}
]
},
{
"product": "@cap-js/postgres",
"vendor": "cap-js",
"versions": [
{
"status": "affected",
"version": "= 2.2.2"
}
]
},
{
"product": "@cap-js/db-service",
"vendor": "@cap-js/db-service",
"versions": [
{
"status": "affected",
"version": "= 2.10.1"
}
]
}
],
"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` \u003e= 2.4.0, `@cap-js/postgres` \u003e= 2.3.0, `@cap-js/db-service` \u003e= 2.11.0. If a compromised version was ever installed, rotate all affected credentials. No known workarounds are available."
}
],
"metrics": [
{
"cvssV4_0": {
"attackComplexity": "LOW",
"attackRequirements": "NONE",
"attackVector": "NETWORK",
"baseScore": 9.3,
"baseSeverity": "CRITICAL",
"privilegesRequired": "NONE",
"subAvailabilityImpact": "NONE",
"subConfidentialityImpact": "NONE",
"subIntegrityImpact": "NONE",
"userInteraction": "NONE",
"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",
"vulnAvailabilityImpact": "HIGH",
"vulnConfidentialityImpact": "HIGH",
"vulnIntegrityImpact": "HIGH"
}
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-506",
"description": "CWE-506: Embedded Malicious Code",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-07-15T18:52:09.971Z",
"orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"shortName": "GitHub_M"
},
"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"
}
],
"source": {
"advisory": "GHSA-pvw4-cvr4-97p8",
"discovery": "UNKNOWN"
},
"title": "Supply chain compromise via malicious package versions (@cap-js/sqlite, @cap-js/postgres, @cap-js/db-service)"
}
},
"cveMetadata": {
"assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"assignerShortName": "GitHub_M",
"cveId": "CVE-2026-46421",
"datePublished": "2026-07-15T18:52:09.971Z",
"dateReserved": "2026-05-13T22:18:22.829Z",
"dateUpdated": "2026-07-15T19:22:50.086Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}