Skip to main content
MalwarePublished Updated

rails_structured_logging (RubyGems) · Malicious Code

Affects rails_structured_loggingSource GCVE Database

0

Malicious package : remove rails_structured_logging and rotate any secrets on hosts that installed it.

Data as of 12 Sep 2026, 11:02 UTC

Classification

Malicious package

Published to RubyGems · OSV MAL-2026-1920

What to do

Remove rails_structured_logging 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

ProductAffectedFixed in
RubyGemsrails_structured_loggingpkg:gem/rails_structured_loggingOther threatsAffected
  • 0.0.4 – 0.2.1
4 affected builds
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

The rails_structured_logging RubyGems package contains malicious code in specific versions. This vulnerability affects versions 0.0.4, 0.1.1, 0.1.2, and 0.2.1 of the package. The presence of malicious code in these versions poses a high security risk to users who install or use these versions.

References

Community reviews

Loading reviews…