High [CVE-2026-67986] Arbitrary code execution via Ruby code injection in AwesomeMethodArray#grep
This high-severity Red Hat Linux advisory covers CVE-2026-67986.
Aggregated and source-linked by VulniPulse. Data sources, validation and limitations.
VulniPulse record published Record updated
Android app · Google Play
Monitor future Red Hat Linux CVEs from your phone.
Choose a whole vendor or a precise platform, then receive matching security advisories by phone notification, email, or both. Coverage follows 34 official vendor sources and 160+ reviewed platform categories.
Summary
amazing-print/amazing_print at commit dc890dfafdf07088ea901df53c19c2710e5c5234 contains a Ruby code injection condition in AwesomeMethodArray#grep. A specially named method containing Ruby interpolation syntax can be interpolated into a dynamically constructed eval string when grep is called with a block, resulting in Ruby code execution in the host process.
Exploitation requires an application path that allows an attacker to influence dynamic method names. A flaw was found in amazing_print.
This vulnerability allows an attacker to inject and execute arbitrary Ruby code within the host process. Red Hat Satellite includes the rubygem-amazing_print package as a dependency of the hammer CLI tool.
While the vulnerable code exists in the shipped version, the specific code path that enables exploitation — calling grep with a block on method arrays — is not used by Satellite or any of its components. The gem is used solely for debug-level object formatting.
As a result, this vulnerability is not exploitable in Red Hat Satellite as shipped. Red Hat severity: Important — CVSS 7.8 (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H).
Weakness: CWE-94. Red Hat lists Red Hat Satellite 6 as not affected.
Affected versions
No affected-version range was extracted from the source record. The vendor advisory is authoritative — check it before change work.
Official advisory · high-confidence parse· fetched 28 days ago·verify at source
Fixed versions
No fixed release is recorded yet. That does not prove no patch exists — confirm against the vendor advisory.
Official advisory · high-confidence parse· fetched 28 days ago·verify at source
Mitigation checklist
- No action is required. The vulnerable code path in amazing_print is not reachable through normal Satellite operation. Customers who have developed custom scripts or plugins that call amazing_print's method array grep with a block should avoid passing untrusted input into method introspection until an upstream fix is available.
Official advisory · high-confidence parse· fetched 28 days ago·verify at source
Discussion(0)
No comments yet. Share field notes, upgrade gotchas, or questions — verify against the vendor advisory before acting on community advice.
Sign in to join the discussion.