CVE-2026-116296

Gitea archived repository release, milestone and label modification

Published Nov 1, 2026 CVSS 3.1 · 6.5 Medium EPSS < 1% KEV · Not listed
Description
The API routes for releases, release assets, milestones and repository labels did not reject changes to archived repositories. A user with write access to an archived repository, or a holder of such a user's write-scoped token, could replace or delete release assets while keeping their download URLs, delete releases and tags, and create, edit or delete milestones and labels of a repository that is meant to be read-only. Changing requests on these routes now return 423 Locked for archived repositories.

Analysis

AI-generated

Technical impact

The API routes for releases, release assets, milestones, and repository labels failed to reject changes to archived repositories. A user with write access to an archived repository, or a holder of such a user’s write‑scoped token, could replace or delete release assets while keeping their download URLs, delete releases and tags, and create, edit or delete milestones and labels of a repository that is intended to be read‑only. The fix now returns HTTP 423 Locked for archived repositories, preventing these operations until the repository is unarchived. The flaw is categorized as a CWE‑862 Authorization weakness, permitting unauthorized changes to a repository that should be read‑only.

Affected Systems

All Gitea installations running versions prior to 28.3.0 that expose the API routes for releases, release assets, milestones, and labels are affected. The flaw permits any user or token with write permissions to alter the contents and metadata of an archived repository.

Risk and Exploitability

The vulnerability is exploitable remotely through the standard HTTP API and requires the attacker to possess write permissions or a write‑scoped token. The EPSS score of approximately 0.00266 and the vulnerability not being listed in the CISA KEV catalog indicate a very low probability of exploitation, but the potential to tamper with release history, tags, and metadata poses a significant integrity risk for organizations that rely on archives to preserve project state. The CVSS score is 6.5, indicating moderate severity.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to Gitea v28.3.0 or later, which implements the 423 Locked response for archived repository operations.
  • Verify that archived repositories are configured with read‑only permission or that write access is revoked, and audit user token scopes to ensure no write rights remain for archived repos.
  • If an immediate upgrade is not possible, block write operations to the affected API routes (e.g., PATCH, DELETE on /api/v1/repos/*/releases/*) at the application firewall level to prevent unauthorized modifications until remediation is applied.

Generated by OpenCVE AI on November 6, 2026 at 18:49 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

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

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:H/A:N'}

Type Values Removed Values Added
First Time appeared Gitea
Gitea gitea
Vendors & Products Gitea
Gitea gitea
Type Values Removed Values Added
Description The API routes for releases, release assets, milestones and repository labels did not reject changes to archived repositories. A user with write access to an archived repository, or a holder of such a user's write-scoped token, could replace or delete release assets while keeping their download URLs, delete releases and tags, and create, edit or delete milestones and labels of a repository that is meant to be read-only. Changing requests on these routes now return 423 Locked for archived repositories.
Title Gitea archived repository release, milestone and label modification
Weaknesses CWE-862
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
Gitea
Published
Updated
Nov 6, 2026, 3:23 PM
Reserved
Nov 1, 2026, 8:48 AM
Status
Deferred
Published
Nov 1, 2026, 10:18 AM
Modified
Nov 6, 2026, 4:17 PM