haybales (RubyGems) · Malicious Code
Affects haybalesSource GCVE Database
Malicious package : remove haybales and rotate any secrets on hosts that installed it.
Data as of 18 Jul 2026, 23:57 UTC
Malicious package
Published to RubyGems · OSV MAL-2025-192906
What to do
Remove haybales 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 |
|---|---|---|
RubyGemshaybalespkg:gem/haybalesOther 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
The RubyGems package 'haybales' version 90002.0 is identified as containing malicious code. This is a case of a malicious package rather than a traditional vulnerability. There is no CVSS score or detailed technical exploit information available. No known exploits in the wild have been reported. No patch or remediation guidance is provided.