batch_rails (RubyGems) · Malicious Code
Affects batch_railsSource GCVE Database
Malicious package : remove batch_rails and rotate any secrets on hosts that installed it.
Data as of 19 Jul 2026, 00:50 UTC
Malicious package
Published to RubyGems · OSV MAL-2024-6759
What to do
Remove batch_rails 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 |
|---|---|---|
RubyGemsbatch_railspkg:gem/batch_railsOther 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 'batch_rails' version 1.3.1 contains malicious code. This is identified as 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 in the source data.