---
id: CVE-2026-119441
title: Gitea public-only token bypass on bulk organization repository deletion
summary: >-
  `DELETE /api/v1/orgs/{org}/repos` deletes all repositories of an organization,
  but it did not enforce the public-only restriction of access tokens: the route
  only checked that the organization itself was public. A public-only token of
  an…
severity: none
cwe:
  - CWE-863
vendor: Gitea
product: gitea.dev
affected:
  - gitea.dev >= 1.27.0 < 28.3.0
published: '2026-11-01'
updated: '2026-11-01'
sourceUpdated: '2026-11-01T09:48:54.215Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-119441'
references:
  - url: 'https://github.com/go-gitea/gitea/security/advisories/GHSA-jh8p-x4ch-389q'
    label: GitHub Security Advisory GHSA-jh8p-x4ch-389q
  - url: 'https://github.com/go-gitea/gitea/pull/39690'
    label: 'Fix: go-gitea/gitea pull request #39690'
  - url: 'https://github.com/go-gitea/gitea/pull/39853'
    label: 'Fix backport to release/v28: go-gitea/gitea pull request #39853'
  - url: 'https://blog.gitea.com/release-of-28.3.0/'
    label: Gitea 28.3.0 release announcement
  - url: 'https://github.com/go-gitea/gitea/releases/tag/v28.3.0'
    label: go-gitea/gitea v28.3.0 release
tags:
  - cve.org
epss: 0.00149
epssPercentile: 0.04079
ingestedAt: '2026-11-05T18:28:50.710Z'
---

## Overview

`DELETE /api/v1/orgs/{org}/repos` deletes all repositories of an organization, but it did not enforce the public-only restriction of access tokens: the route only checked that the organization itself was public. A public-only token of an owner of a public organization could therefore permanently delete the organization's private repositories, which such a token must not reach. Routes that require organization ownership now reject public-only tokens.

## Affected

- `gitea.dev >= 1.27.0 < 28.3.0`

## Remediation

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