SCA: security update for @cap-js/db-service, @cap-js/postgres, @cap-js/sqlite (GHSA-pvw4-cvr4-97p8)

critical Tenable Self-Hosted Container Security Plugin ID 442239

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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/[email protected]`, `@cap-js/[email protected]`, and `@cap-js/[email protected]` 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. (CVE-2026-46421)

Solution

Update the @cap-js/db-service library and its related packages to version 2.11.0 or later.

See Also

https://github.com/advisories/GHSA-pvw4-cvr4-97p8

Plugin Details

Severity: Critical

ID: 442239

Version: Revision 1.6

Type: Local

Family: SCA Checks

Published: 5/20/2026

Updated: 7/16/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Medium

Score: 4.9

Percentile: 57.86

Vendor

Vendor Severity: Critical

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 5.5

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

CVSS Score Source: CVE-2026-46421

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

CVSS v4

Risk Factor: Critical

Base Score: 9.3

Threat Score: 8.1

Threat Vector: CVSS:4.0/E:U

Vector: 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

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 5/20/2026

Vulnerability Publication Date: 5/20/2026

Reference Information

CVE: CVE-2026-46421

cwe: CWE-506