Newline Character Vulnerability in RubyGems Package Registry by Gitea
CVE-2026-118389

Currently unrated

Key Information:

Vendor

Gitea

Status
Vendor
CVE Published:
15 November 2026

What is CVE-2026-118389?

A vulnerability in the RubyGems package registry allows for the acceptance of gems that improperly include newline characters within their platform, dependency names, or version requirements. This could lead to the creation of forged index entries by users with publishing permissions, potentially resulting in clients installing malicious dependencies. The registry has since been updated to reject gems containing such metadata, enhancing the security of dependencies sourced from the registry.

Affected Version(s)

Gitea 0 < 28.3.0

References

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

https://github.com/nithissh7
https://github.com/hariprasanth9317-tech
https://github.com/basavaraj-sm05
.