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.

Project Subscriptions

No data.

Advisories

No advisories yet.

Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Fri, 14 Aug 2026 00:15:00 +0000

Type Values Removed Values Added
Title Arbitrary Ruby Code Execution via Dynamic eval in amazing_print's AwesomeMethodArray#grep amazing_print: amazing_print: Arbitrary code execution via Ruby code injection in AwesomeMethodArray#grep
References
Metrics threat_severity

None

threat_severity

Important


Thu, 13 Aug 2026 18:45:00 +0000

Type Values Removed Values Added
Title Arbitrary Ruby Code Execution via Dynamic eval in amazing_print's AwesomeMethodArray#grep

Thu, 13 Aug 2026 16:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-94
Metrics cvssV3_1

{'score': 8.4, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Thu, 13 Aug 2026 14:00:00 +0000

Type Values Removed Values Added
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

Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2026-08-13T15:48:55.258Z

Reserved: 2026-07-30T00:00:00.000Z

Link: CVE-2026-67986

cve-icon Vulnrichment

Updated: 2026-08-13T15:48:41.319Z

cve-icon NVD

Status : Received

Published: 2026-08-13T14:17:11.440

Modified: 2026-08-13T16:18:48.530

Link: CVE-2026-67986

cve-icon Redhat

Severity : Important

Publid Date: 2026-08-13T00:00:00Z

Links: CVE-2026-67986 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-13T18:30:16Z

Weaknesses