cve.bz

CVE-2026-46421 Embedded Malicious Code

9.3 criticalEPSS 0.5%Fix available

Critical (9.3). EPSS 0.5% estimated probability of exploitation activity in the next 30 days. Fixed in @cap-js/sqlite 2.3.0.

On this page
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

CVSS 4.0

9.3 critical
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
EPSS
0.5% (unchanged from 0.5% a week ago; 0.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 45th percentile. Scored 2026-11-24. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: total, assessed 2026-07-15. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-506 Embedded Malicious Code
OWASP Top 10
A08:2025 Software or Data Integrity Failures
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

  • @cap-js/sqlite (npm): fixed in 2.3.0
  • @cap-js/postgres (npm): fixed in 2.3.0
  • @cap-js/db-service (npm): fixed in 2.11.0

Ask an AI about this CVE

Show the promptExplain CVE-2026-46421 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-46421?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-46421?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-46421 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
cap-js @cap-js/sqlite= 2.2.2
cap-js @cap-js/postgres= 2.2.2
@cap-js/db-service= 2.10.1

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-pvw4-cvr4-97p8npm@cap-js/sqlite>=2.2.2 <2.3.02.3.0
GHSA-pvw4-cvr4-97p8npm@cap-js/postgres>=2.2.2 <2.3.02.3.0
GHSA-pvw4-cvr4-97p8npm@cap-js/db-service>=2.10.1 <2.11.02.11.0

Attack patterns (CAPEC)

  • CAPEC-442 Infected Software Likelihood: Medium · Severity: High
  • CAPEC-448 Embed Virus into DLL Likelihood: Medium · Severity: High
  • CAPEC-636 Hiding Malicious Data or Code within Files Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON