CVE-2026-67986: Ruby amazing print · amazing-print/amazing_print at commit dc890dfafdf07088ea901df53c19c2710e5c5234
Affects ruby-amazing-printSource GCVE Database
Not known to be exploited · CVSS 8.4 High.
Data as of 24 Nov 2026, 20:56 UTC
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 13 Aug 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 23 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.10ruby-amazing-printpkg:deb/ubuntu/ruby-amazing-print?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
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
- ubuntu.com/security/CVE-2026-67986 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-67986 (opens in a new tab)
- gist.github.com/Zykis1024/21b13ddabf1a7d9707fd573518cefa71 (opens in a new tab)
- github.com/amazing-print/amazing_print (opens in a new tab)
- github.com/amazing-print/amazing_print/blob/dc890dfafdf07088ea901df53c19c2710e5c5234/lib/amazing_print/core_ext/awesome_method_array.rb (opens in a new tab)