zwagback2 (RubyGems) · Malicious Code
Affects zwagback2Source GCVE Database
Malicious package : remove zwagback2 and rotate any secrets on hosts that installed it.
Data as of 26 Oct 2026, 16:06 UTC
Malicious package
Published to RubyGems · OSV MAL-2026-9831
What to do
Remove zwagback2 from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
RubyGemszwagback2pkg:gem/zwagback2Other threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
--- _-= Per source details. Do not edit below this line.=-_ ## Source: ghsa-malware (bd7739dd7976afcc4cf6cf4d110f4fece5991702b371c2aba4d99b699e86f73b) --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/9fbb5fba02ba2f02395d3d2d43c31b2c482b7a9d/osv/malicious/rubygems/zwagback2/MAL-2026-9831.json))