# CVE-2026-118389: Gitea RubyGems compact index injection through package metadata

- Priority: **Routine**
- Reason: Not severe (CVSS 8.8, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-11-15 · Modified: 2026-11-16
- Record: https://cvemate.com/vulnerability/CVE-2026-118389 · JSON: https://cvemate.com/vulnerability/CVE-2026-118389/json

## Description

```text
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.
```

## Signals

- CVSS: 8.8 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.441%, percentile 40.027%, as of 2026-12-05
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- gitea gitea: \< 28.3.0

## References

- <https://github.com/go-gitea/gitea/security/advisories/GHSA-49c9-hm8q-6rvq>
- <https://github.com/go-gitea/gitea/pull/39782>
- <https://github.com/go-gitea/gitea/pull/39900>
- <https://blog.gitea.com/release-of-28.4.0/>
- <https://github.com/go-gitea/gitea/releases/tag/v28.3.0>

---

Data as of 2026-12-05T14:33:05.613Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
