CVE-2026-118389
Gitea RubyGems compact index injection through package metadata
CVSS Score
8.8
EPSS Score
0.2%
EPSS Percentile
7th
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.
| CWE | CWE-74 |
| Vendor | gitea |
| Product | gitea |
| Published | Nov 15, 2026 |
| Last Updated | Nov 16, 2026 |
Stay Ahead of the Next One
Get instant alerts for gitea gitea
Be the first to know when new high vulnerabilities affecting gitea gitea are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
Affected Versions
Gitea / Gitea
0 < 28.3.0
References
github.com: https://github.com/go-gitea/gitea/security/advisories/GHSA-49c9-hm8q-6rvq github.com: https://github.com/go-gitea/gitea/pull/39782 github.com: https://github.com/go-gitea/gitea/pull/39900 blog.gitea.com: https://blog.gitea.com/release-of-28.4.0/ github.com: https://github.com/go-gitea/gitea/releases/tag/v28.3.0
Credits
๐ https://github.com/nithissh7 ๐ https://github.com/hariprasanth9317-tech https://github.com/basavaraj-sm05