CVE-2026-42931

Denial of Service via Unbounded io.ReadAll in NPM Package Tag Endpoint

Published Aug 13, 2026 CVSS 3.1 · 6.5 Medium EPSS < 1% KEV · Not listed
Description
Denial of Service via Unbounded io.ReadAll in NPM Package Tag Endpoint

Analysis

AI-generated

Technical impact

The vulnerability exists in the NPM package tag endpoint of the Gitea open source Git server. An attacker can trigger a denial of service by sending a request that causes io.ReadAll to read an unbounded payload. This can exhaust system resources and halt the affected service. The weakness corresponds to CWE-770, describing unbounded resource consumption.

Affected Systems

Entities running the Gitea Git server are affected. The CNA lists the product as Gitea: Gitea Open Source Git Server, but specific version numbers are not supplied in the advisory. Users should consult the vendor release notes to determine whether their installation is at risk; the problem was addressed in the 1.27.0 release.

Risk and Exploitability

The EPSS score is not provided, and the vulnerability is not listed in CISA’s KEV catalog. The CVSS score is 6.5, indicating a moderate severity. From the description, the attack requires network access to the NPM package tag HTTP endpoint, indicating a remote exploitation path. The exploit appears simple—sending a large payload—but the absence of a documented attack vector means the real-world exploitation likelihood is uncertain.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to Gitea version 1.27.0 or later, where the issue is resolved.
  • If an upgrade is not immediately possible, limit exposure by restricting network access to the NPM package tag endpoint or applying firewall rules to block or rate‑limit large POST requests.
  • Monitor logs for unusually large payloads or repeated connection attempts to the endpoint, and investigate potential mitigation efforts.

Generated by OpenCVE AI on August 13, 2026 at 22:47 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-wwqq-x6w4-frm2 Gitea: Denial of Service via Unbounded io.ReadAll in NPM Package Tag Endpoint
History
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Gitea
Gitea gitea Open Source Git Server
Vendors & Products Gitea
Gitea gitea Open Source Git Server
Type Values Removed Values Added
Description Denial of Service via Unbounded io.ReadAll in NPM Package Tag Endpoint
Title Denial of Service via Unbounded io.ReadAll in NPM Package Tag Endpoint
Weaknesses CWE-770
References
Weaknesses
  • CWE-770

    Allocation of Resources Without Limits or Throttling

Sources

Status
PUBLISHED
Assigner
Gitea
Published
Updated
Aug 13, 2026, 7:28 PM
Reserved
Jul 8, 2026, 9:19 AM
Status
Deferred
Published
Aug 13, 2026, 5:17 PM
Modified
Aug 26, 2026, 4:53 PM