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.

References

https://github.com/go-gitea/gitea/security/advisories/GHSA-49c9-hm8q-6rvq

https://github.com/go-gitea/gitea/releases/tag/v28.3.0

https://github.com/go-gitea/gitea/pull/39900

https://github.com/go-gitea/gitea/pull/39782

https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-126116

https://blog.gitea.com/release-of-28.4.0/

Details

Source: Mitre, NVD

Published: 2026-11-15

Updated: 2026-11-15

Risk Information

CVSS v2

Base Score: 5

Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:P/A:N

Severity: Medium

CVSS v3

Base Score: 7.5

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Severity: High

EPSS

EPSS: 0.00171