CVE-2026-118389
JSON

8.8high

Gitea RubyGems compact index injection through package metadata

Severity
8.8high CVSS:3.1 by CISA-ADP
Exploit likelihood
0.44% (higher than 40% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Gitea

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.

Affected

Product or packageVersionsReported by
gitea.devbefore 28.3.0CVE List

Classification

CWE-74

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-118389 changed 2026-11-16CVE Terms of Use
NVDCVE-2026-118389 changed 2026-11-16Public domain