CVE-2026-118389
Vulnerability data via NVD (ingested)
The RubyGems package registry accepted gems whose platform, dependency names or dependency version requirements contain newline characters. Because the compact index served to clients is line-based, a user who can publish a gem to an owner's registry could forge index entries, such as packages that do not exist or additional versions of an existing gem with dependencies of their choice. Clients that resolve gems from that registry could then be led to install attacker-chosen dependencies. Gems with such metadata are now rejected.
External references
Search for exposed instances
Shodan + Censys queries derived from NVD's CPE data. The vuln tag catches assets Shodan has explicitly linked to this CVE; the product / banner fingerprints find exposed instances even when the vuln tag was never applied (which is common).
vuln:CVE-2026-118389More intel sources (5)
vuln:CVE-2026-118389vulnerabilities.cve_id: CVE-2026-118389CVE-2026-118389CVE-2026-118389"CVE-2026-118389" exploit -site:nvd.nist.gov