CVE-2026-118389
Last modified
CVE-2026-118389 is a high-severity vulnerability rated 8.8/10 on the CVSS scale. 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. EPSS estimates a 0.17% chance of exploitation in the next 30 days.
Description
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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Gitea | Gitea | < 28.3.0 |
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-118389?
How severe is CVE-2026-118389?
How do I fix CVE-2026-118389?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-118377mews/pos through 2.0.0 contains an insufficient verification…7.5
- CVE-2026-118378Tabularis before 0.28.0 contains an SQL injection vulnerabil…7.8
- CVE-2026-11838Missing authentication for critical function vulnerability i…4.3
- CVE-2026-118383A use-after-free in the replication component of MongoDB Ser…10
- CVE-2026-118384GNU mtools before 4.0.50 has an out-of-bounds write in parse…6.1
- CVE-2026-118386Workflows triggered by a pull request review were read from …6.5
- CVE-2026-11839Unrestricted upload of file with dangerous type vulnerabilit…9.9
- CVE-2026-118391Allocation of Resources Without Limits or Throttling vulnera…8.9
- CVE-2026-118394The OAuth2 userinfo endpoint (`/login/oauth/userinfo`) decid…4.3
- CVE-2026-118395Gitea 1.27.3 stopped personal access tokens restricted to pu…7.5
- CVE-2026-1184GitLab has remediated an issue in GitLab EE affecting all ve…7.5
- CVE-2026-11840Zohocorp ManageEngine Password Manager Pro versions before 1…8.8
Are you affected by CVE-2026-118389?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
