# CVE-2026-67986: amazing-print/amazingprint at commit dc890dfafdf07088ea901df53c19c2710e5c5234 contains a Ruby code injection condition in AwesomeMethodArra…

- Severity: High 8.4 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.19%, higher than 9% of CVEs (2026-12-01)
- Published: 2026-08-13T00:00:00.000Z
- Modified: 2026-09-08T19:42:20.313Z
- Weaknesses: CWE-94
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a

## References

- <https://github.com/amazing-print/amazing_print>
- <https://github.com/amazing-print/amazing_print/blob/dc890dfafdf07088ea901df53c19c2710e5c5234/lib/amazing_print/core_ext/awesome_method_array.rb#L71>
- <https://gist.github.com/Zykis1024/21b13ddabf1a7d9707fd573518cefa71>

## Sources

- CVE List: [CVE-2026-67986](https://www.cve.org/CVERecord?id=CVE-2026-67986), CVE Terms of Use, modified 2026-08-13
- NVD: [CVE-2026-67986](https://nvd.nist.gov/vuln/detail/CVE-2026-67986), Public domain, modified 2026-09-08

---

Page: https://cve.day/CVE-2026-67986 · Whole record: https://cve.day/CVE-2026-67986.json · Rebuilt by cve.day 2026-11-25T22:59:32.745Z
