Vulnerability · Published Aug 13, 2026 · Assigned by mitre

CVE-2026-67986

High 8.4

In plain English

A high-severity code injection in the ruby-amazing-print package (Debian). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 18% of all known vulnerabilities).

Severity (CVSS 3.1)8.4High
Exploit odds (30 days)0.3%top 81.9% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:14ruby-amazing-printno fix listedDEBIAN-CVE-2026-67986
Ubuntu:26.10ruby-amazing-printno fix listedUBUNTU-CVE-2026-67986

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

Weakness: CWE-94 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

References