{"id":"CVE-2026-67986","title":"amazing-print/amazing_print at commit dc890dfafdf07088ea901df53c19c2710e5c5234 contains a Ruby code injection condition in AwesomeMethodArray#grep","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 …","severity":"high","cvss":8.4,"cvssVector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","cwe":["CWE-94"],"published":"2026-08-13","updated":"2026-09-08","sourceUpdated":"2026-09-08T19:42:20.313","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-67986","references":[{"url":"https://gist.github.com/Zykis1024/21b13ddabf1a7d9707fd573518cefa71","label":"cve@mitre.org"},{"url":"https://github.com/amazing-print/amazing_print","label":"cve@mitre.org"},{"url":"https://github.com/amazing-print/amazing_print/blob/dc890dfafdf07088ea901df53c19c2710e5c5234/lib/amazing_print/core_ext/awesome_method_array.rb#L71","label":"cve@mitre.org"}],"tags":["nvd"],"epss":0.0019,"epssPercentile":0.08921,"ingestedAt":"2026-09-08T20:10:03.157Z","slug":"CVE-2026-67986","body":"## Overview\n\namazing-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.\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.","depth":"twilight","depthScore":46,"depthScoreParts":{"impact":46.2,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}