Elevated
Gitea RubyGems registry index injection leads to attacker-chosen dependencies
CVE-2026-118389
Attacker-picked programs can sneak into installs from a Gitea package server.
- CVE
- CVE-2026-118389 (opens in a new tab)
- Score
- CVSS 8.8
- First seen
Mitigation
Update to 28.3.0 or later.
Summary
Gitea's RubyGems package registry accepted gem metadata containing newline characters, which lets an attacker forge entries in its package index. Developers who use this registry as a RubyGems source can be led to install attacker-chosen dependencies.
Affected when
- RubyGems package registry feature in use
- Gitea 28.2.0 or older
1 other Incident of this product in the last 30 days
Incidents by product: Gitea
Other recent Incidents of Gitea
Read the advisory · github.com (opens in a new tab)
Advisory (3): github.com, blog.gitea.com
- CVE record: cve.org (opens in a new tab)