Advisory

GHSA-pvw4-cvr4-97p8

Also known as: CVE-2026-46421

Summary

Supply chain compromise via malicious package versions (@cap-js/sqlite, @cap-js/postgres, @cap-js/db-service)

Details

Impact

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.

Patches

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.

Workarounds

No workarounds.

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2026-05-20 15:33 UTC
Modified
2026-09-10 03:51 UTC

Affected packages and fixes

@cap-js/sqlite

npm · All systems

Affected

  • introduced 2.2.2, fixed 2.3.0 (semver)

Fixed versions

2.3.0

Fix

@cap-js/postgres

npm · All systems

Affected

  • introduced 2.2.2, fixed 2.3.0 (semver)

Fixed versions

2.3.0

Fix

@cap-js/db-service

npm · All systems

Affected

  • introduced 2.10.1, fixed 2.11.0 (semver)

Fixed versions

2.11.0

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences