CVE Catalog

CVE-2026-118389

HighCVSS 8.8
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.44%

40th percentile - higher than 40% of all known CVEs

Summary

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 could forge index entries, such as packages that do not exist or additional versions of an existing gem with dependencies of their choice.

Risk Assessment

Clients resolving gems from that registry could be led to install attacker-chosen dependencies, leading to compromise.

Recommendation

Update Gitea to a version with the fix rejecting gems with such metadata.

Other vulnerabilities in Gitea

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS