{"id":"UBUNTU-CVE-2026-67986","details":"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.","modified":"2026-10-17T13:00:39.753988528Z","published":"2026-08-13T14:17:00Z","upstream":["CVE-2026-67986"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-67986"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-67986"},{"type":"REPORT","url":"https://gist.github.com/Zykis1024/21b13ddabf1a7d9707fd573518cefa71"},{"type":"REPORT","url":"https://github.com/amazing-print/amazing_print"},{"type":"REPORT","url":"https://github.com/amazing-print/amazing_print/blob/dc890dfafdf07088ea901df53c19c2710e5c5234/lib/amazing_print/core_ext/awesome_method_array.rb#L71"}],"affected":[{"package":{"name":"ruby-amazing-print","ecosystem":"Ubuntu:26.10","purl":"pkg:deb/ubuntu/ruby-amazing-print?arch=source&distro=stonking"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.0.0-2"],"ecosystem_specific":{"binaries":[{"binary_name":"ruby-amazing-print","binary_version":"2.0.0-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-67986.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}