Description
Gitea versions before 1.25.5 lack validation constraints for repository creation fields, including length-limited template fields and trust model or object format values.
Published: 2026-07-03
Score: 9.1 Critical
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Gitea versions before 1.25.5 lack input validation for fields used during repository creation, such as template descriptors and trust model tags. The missing checks allow an attacker to submit data that exceeds expected lengths or contains unsupported format values, which can trigger application errors, excessive resource consumption, or incorrect assignment of trust settings. This flaw is classified as CWE‑20, improper input validation.

Affected Systems

Any deployment of Gitea Open Source Git Server running a version earlier than 1.25.5 is affected. The issue is resolved in release 1.25.5 and later versions, so those releases are not vulnerable.

Risk and Exploitability

The CVSS score of 9.1 indicates high severity. The EPSS score of <1% suggests that the likelihood of a publicly available exploit is low at present. The vulnerability is not included in the CISA KEV catalog. Exploitation would require the ability to invoke the repository creation API with arbitrary values; this entry is inferred from the description of the vulnerable code path. While no public exploit has been reported, the high severity and potential impact warrant prompt remediation.

Generated by OpenCVE AI on July 23, 2026 at 16:19 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the official Gitea 1.25.5 release or any newer version that includes the input validation fix.
  • If a patch cannot be applied immediately, limit access to the repository creation endpoint to trusted, authenticated accounts only.
  • Review any automation or scripts that create repositories and enforce maximum length limits and valid values for template descriptors, trust model tags, and object format identifiers.

Generated by OpenCVE AI on July 23, 2026 at 16:19 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 07 Jul 2026 17:30:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

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

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Mon, 06 Jul 2026 23:15:00 +0000

Type Values Removed Values Added
First Time appeared Gitea
Gitea gitea Open Source Git Server
Vendors & Products Gitea
Gitea gitea Open Source Git Server

Fri, 03 Jul 2026 20:45:00 +0000

Type Values Removed Values Added
Description Gitea versions before 1.25.5 lack validation constraints for repository creation fields, including length-limited template fields and trust model or object format values.
Title Gitea repository creation accepts invalid field values
Weaknesses CWE-20
References

Subscriptions

Gitea Gitea Open Source Git Server
cve-icon MITRE

Status: PUBLISHED

Assigner: Gitea

Published:

Updated: 2026-07-07T17:00:34.400Z

Reserved: 2026-02-22T15:13:33.653Z

Link: CVE-2026-22547

cve-icon Vulnrichment

Updated: 2026-07-07T15:40:28.255Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-23T16:30:09Z

Weaknesses
  • CWE-20

    Improper Input Validation