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.
References
Configurations
No configuration.
History
No history.
Information
Published : 2026-08-13 14:17
Updated : 2026-09-08 19:42
NVD link : CVE-2026-67986
Mitre link : CVE-2026-67986
CVE.ORG link : CVE-2026-67986
JSON object : View
Products Affected
No product.
CWE
CWE-94
Improper Control of Generation of Code ('Code Injection')
