# CVE-2026-118389 — Gitea

> As of 2026-11-15, CVE-2026-118389 is a vulnerability in Gitea, EPSS 0.1% (6.5th percentile). No Threadlinqs-tracked threat campaign has been attributed to CVE-2026-118389 as of 2026-11-15; the identifier is re-checked against the Threadlinqs threat corpus on every daily ingest.

**Last updated:** 2026-11-15

## What is 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.

The record classifies CVE-2026-118389 under weakness class [CWE-74](https://intel.threadlinqs.com/cwe/CWE-74). 1 affected-product entry is recorded, across 1 vendor, listed below. The identifier was first published 4 days ago.

## Severity and exploitation probability

- **EPSS (FIRST):** 0.1% probability of exploitation in the next 30 days, higher than 6.5% of all scored CVEs
- **CISA KEV:** Not listed in the CISA Known Exploited Vulnerabilities catalog
- **Threadlinqs priority:** 0.3/10 — a Threadlinqs composite of the CVSS base score, the EPSS percentile and public exploit availability
- **Published:** 2026-11-15

## Is CVE-2026-118389 being exploited?

It currently carries a trending score of 31 in the Threadlinqs vulnerability feed.

## Affected products and versions

- [Gitea](https://intel.threadlinqs.com/vendors/gitea): Gitea

## How to fix CVE-2026-118389

Patch reference: [https://github.com/go-gitea/gitea/pull/39782](https://github.com/go-gitea/gitea/pull/39782). Vendor advisory: [https://github.com/go-gitea/gitea/security/advisories/GHSA-49c9-hm8q-6rvq](https://github.com/go-gitea/gitea/security/advisories/GHSA-49c9-hm8q-6rvq). Apply the vendor fix referenced above to every affected product listed in this record, then confirm the running version against the vendor advisory.

## Threat activity tracking CVE-2026-118389

No threat campaign in the Threadlinqs corpus currently references CVE-2026-118389, in its CVE list or as an indicator. The linkage is recomputed from the live corpus on every daily ingest, so this section fills in as soon as a tracked campaign cites the identifier.

## Sources

Enriched from CVE.org, NVD, FIRST EPSS. This product uses the NVD API but is not endorsed or certified by the NVD.

**Vendor advisory and patch**

- [github.com — vendor advisory](https://github.com/go-gitea/gitea/security/advisories/GHSA-49c9-hm8q-6rvq)
- [github.com — patch](https://github.com/go-gitea/gitea/pull/39782)
- [github.com — patch (39900)](https://github.com/go-gitea/gitea/pull/39900)
- [blog.gitea.com — release notes](https://blog.gitea.com/release-of-28.4.0/)
- [github.com — release notes](https://github.com/go-gitea/gitea/releases/tag/v28.3.0)

Canonical: https://intel.threadlinqs.com/cve/CVE-2026-118389
No Threadlinqs detection currently covers CVE-2026-118389; it is re-checked on every ingest.
Indicator values unlock with TL Creds (https://threadlinqs.com/tl-creds); MCP access for AI agents needs Purple: https://intel.threadlinqs.com/mcp
