CVE-2026-118389

High

Description

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.

SeverityHigh
CVSS8.8
Exploit probability39. percentile0.4%
ProductGitea
PublishedNov 15, 2026
First seenNov 15, 2026
Weakness typeCWE-74Injection

How to fix

Affected products

ProductAffected versionsFixed in
Gitea Giteav < 28.3.028.3.0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2026-118389 · Gitea · Vulnerabilities · Dark Radar