{"schemaVersion":4,"id":"CVE-2026-118389","aliases":[],"status":"published","duplicateOf":null,"title":"Gitea RubyGems compact index injection through package metadata","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.","dates":{"published":"2026-11-15T21:13:39.832Z","modified":"2026-11-16T22:47:18.501Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.8,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":8.8,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":8.8,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00441,"percentile":0.40027,"severity":"low","asOf":"2026-12-05T00:00:00.000Z","change":{"pp":null,"baselineDate":null,"baselineScore":null},"history":[{"date":"2026-11-16T00:00:00.000Z","score":0.00171,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.00352,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.00352,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.00352,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.00352,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.00441,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.00441,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.00441,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.00441,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.0065,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.0065,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.0065,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.0065,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.0065,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.0065,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00441,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00441,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00441,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00441,"percentile":null},{"date":"2026-12-05T00:00:00.000Z","score":0.00441,"percentile":0.40027}],"last30":[{"date":"2026-11-16T00:00:00.000Z","score":0.00171,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.00352,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.00352,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.00352,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.00352,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.00441,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.00441,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.00441,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.00441,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.0065,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.0065,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.0065,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.0065,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.0065,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.0065,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00441,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00441,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00441,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00441,"percentile":null},{"date":"2026-12-05T00:00:00.000Z","score":0.00441,"percentile":0.40027}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-74","name":"Improper Neutralization of Special Elements in Output Used by a Downstream Component","description":"The product constructs all or part of a command, data structure, or record using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify how it is parsed or interpreted when it is sent to a downstream component.","type":"weakness","status":"Incomplete","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/74.html"}],"affected":[{"vendor":"gitea","product":"gitea","name":"Gitea","label":"gitea","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 28.3.0","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"28.3.0","endInclusive":false}}],"versionsText":"< 28.3.0","eol":null,"hubHref":"/vendor/gitea/gitea"}],"affectedCount":1,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/go-gitea/gitea/security/advisories/GHSA-49c9-hm8q-6rvq","label":"github.com/go-gitea/gitea/security/advisories/GHSA-49c9-hm8q-6rvq","hostname":"github.com","tags":["Vendor Advisory"]},{"url":"https://github.com/go-gitea/gitea/pull/39782","label":"github.com/go-gitea/gitea/pull/39782","hostname":"github.com","tags":["Patch"]},{"url":"https://github.com/go-gitea/gitea/pull/39900","label":"github.com/go-gitea/gitea/pull/39900","hostname":"github.com","tags":["Patch"]},{"url":"https://blog.gitea.com/release-of-28.4.0/","label":"blog.gitea.com/release-of-28.4.0/","hostname":"blog.gitea.com","tags":["Release Notes"]},{"url":"https://github.com/go-gitea/gitea/releases/tag/v28.3.0","label":"github.com/go-gitea/gitea/releases/tag/v28.3.0","hostname":"github.com","tags":["Release Notes"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-11-15T21:13:39.832Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-11-16T22:47:18.501Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"priority":{"label":"routine","tag":null,"reason":"Not severe (CVSS 8.8, network access); no exploitation reported by the 5 checked sources","nextStep":"Fix in the normal cadence","rank":[0,0,0,0,0,88],"checkedSources":["cisa","enisa","circl","shadowserver","cisa-adp"],"evidence":[{"type":"epss","source":"FIRST","date":"2026-12-05T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"value":0.00441,"stale":false,"promoted":null},{"type":"cvss","source":"cve.org","date":"2026-11-16T22:47:18.501Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1","headline":true},{"type":"cvss","source":"nvd","date":"2026-11-16T22:47:18.501Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},{"type":"adp","source":"cisa-adp","date":"2026-11-16T22:47:14.036Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"exploitation":"none"}],"epss":{"value":0.00441,"date":"2026-12-05T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T14:05:26.172Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T14:05:26.762Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T12:01:28.919Z","state":"stale"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T14:01:06.338Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T14:05:24.254Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T14:03:52.423Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T14:33:05.613Z","stale":false,"partial":false}}