---
id: CVE-2026-105661
title: Gitea panic on the repositories route of individual users
summary: >-
  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 …
severity: none
cwe:
  - CWE-248
  - CWE-476
vendor: Gitea
product: gitea.dev
affected:
  - gitea.dev <= 28.1.0
published: '2026-10-18'
updated: '2026-10-18'
sourceUpdated: '2026-10-18T18:56:41.198Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-105661'
references:
  - url: 'https://github.com/go-gitea/gitea/security/advisories/GHSA-c3cr-qq9g-666c'
    label: GitHub Security Advisory GHSA-c3cr-qq9g-666c
  - url: 'https://github.com/go-gitea/gitea/pull/39839'
    label: 'Fix: go-gitea/gitea pull request #39839'
  - url: 'https://github.com/go-gitea/gitea/pull/39847'
    label: 'Fix backport to release/v28: go-gitea/gitea pull request #39847'
  - url: 'https://blog.gitea.com/release-of-28.2.0/'
    label: Gitea 28.2.0 release announcement
  - url: 'https://github.com/go-gitea/gitea/releases/tag/v28.2.0'
    label: go-gitea/gitea v28.2.0 release
tags:
  - cve.org
ingestedAt: '2026-10-18T19:51:12.339Z'
---

## Overview

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.

## Affected

- `gitea.dev <= 28.1.0`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
