CVE-2026-105661

Gitea panic on the repositories route of individual users

Published Oct 18, 2026 CVSS 3.1 · 5.3 Medium EPSS < 1% KEV · Not listed
Description
Requesting `/{username}/-/repositories` for an individual user instead of an organization made the organization home handler dereference a nil organization and panic. The request needs no authentication and no special configuration. The server answered with an HTTP 500 error and logged a panic for each request; the fix returns 404 for individual users.

Analysis

AI-generated

Technical impact

A nil dereference in Gitea’s organization home handler causes a panic when an unauthenticated request is made to the "/{username}/-/repositories" route for an individual user. The error leads the server to return an HTTP 500 response and logs a panic trace for each request. The vulnerability involves a null pointer dereference (CWE-476) and unexpected nil value handling (CWE-248), representing a denial‑of‑service flaw because repeated requests can exhaust resources and destabilize the application, though no direct data disclosure is indicated.

Affected Systems

The vulnerability affects installations of Gitea running any version prior to the release that fixed the bug. The fix was included in Gitea v28.2.0; therefore, older deployments remain at risk. No other vendors or products are listed in the CNA data.

Risk and Exploitability

The flaw can be triggered remotely without authentication or special configuration by accessing the vulnerable endpoint. The CVSS score of 5.3 reflects moderate impact, but the EPSS score of <1% indicates an extremely low likelihood of exploitation. The vulnerability is not listed in CISA’s KEV catalog, further suggesting limited public exploitation. While unauthenticated access widens the attack surface, the combination of low EPSS and absence of a KEV listing means that real-world attacks are expected to be infrequent.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Gitea to v28.2.0 or newer
  • If an upgrade cannot be performed immediately, block or rewrite requests to "/{username}/-/repositories" for individual users so that the server returns a 404 response or otherwise prevents the nil dereference
  • Monitor application logs for panic entries and HTTP 500 responses to detect attacks and validate that the vulnerability is no longer triggered

Generated by OpenCVE AI on October 20, 2026 at 06:59 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
First Time appeared Gitea
Gitea gitea
Vendors & Products Gitea
Gitea gitea
Type Values Removed Values Added
Metrics cvssV3_1

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

Type Values Removed Values Added
Description Requesting `/{username}/-/repositories` for an individual user instead of an organization made the organization home handler dereference a nil organization and panic. The request needs no authentication and no special configuration. The server answered with an HTTP 500 error and logged a panic for each request; the fix returns 404 for individual users.
Title Gitea panic on the repositories route of individual users
Weaknesses CWE-248
CWE-476
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
Gitea
Published
Updated
Oct 19, 2026, 8:14 PM
Reserved
Oct 14, 2026, 8:08 PM
Status
Awaiting Analysis
Published
Oct 18, 2026, 7:16 PM
Modified
Oct 19, 2026, 9:17 PM