Vulnerability in Gitea
CVE-2026-118389
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.
Published · last modified .
EPSS exploit prediction
FIRST.org has not scored this CVE yet. About EPSS.
Affected products
Weakness classification (CWE)
References
- github.com/go-gitea/gitea/security/advisories/GHSA-49c9-hm8q-6rvq (vendor-advisory)
- github.com/go-gitea/gitea/pull/39782 (patch)
- github.com/go-gitea/gitea/pull/39900 (patch)
- blog.gitea.com/release-of-28.4.0/ (release-notes)
- github.com/go-gitea/gitea/releases/tag/v28.3.0 (release-notes)