Description
Gitea versions before 1.25.5 look up tracked-time entries by time ID without scoping the lookup to the issue in the request URL, allowing deletion attempts to target entries from another issue.
Published: 2026-07-03
Score: 5.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Gitea versions prior to 1.25.5 access tracked‑time entries by time identifier alone, without tying the lookup to the issue described in the request URL. This allows a user who can delete a tracked‑time entry for one issue to target and delete any entry whose time ID is known, regardless of the issue it belongs to. The direct effect is loss of time‑tracking data. The weakness falls under CWE‑639, representing an authorization bypass.

Affected Systems

All releases of the Gitea Open Source Git Server older than version 1.25.5 are affected, spanning every public download of the software that has not been patched. The issue applies independently of the deployment environment; any instance running a pre‑1.25.5 build is susceptible.

Risk and Exploitability

Based on the description, it is inferred that an attacker who can delete a tracked‑time entry must first know a valid time ID belonging to an issue they are not authorized for. By sending a deletion request for that ID, the request bypasses normal authorization checks, allowing deletion of any tracked‑time entry regardless of the issue referenced. The exact method for acquiring a known time ID is not detailed, so we assume it can be deduced from existing entries or guessed. The CVSS score of 5.3 indicates moderate severity, the EPSS score is below 1 %, and the CVE is not listed in the KEV catalog, suggesting a low likelihood of exploitation in the wild. The vulnerability thus results in loss of tracked‑time data.

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

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Gitea to v1.25.5 or later to fix the issue.
  • If a patch cannot be applied immediately, restrict API permissions so that only users with explicit issue‑level access can delete tracked‑time entries, and monitor deletion logs for suspicious activity.
  • After applying the fix, review and restore any tracked‑time records that may have been inadvertently deleted.

Generated by OpenCVE AI on July 23, 2026 at 16:16 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': 5.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, '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 look up tracked-time entries by time ID without scoping the lookup to the issue in the request URL, allowing deletion attempts to target entries from another issue.
Title Gitea tracked-time deletion can target entries from another issue
Weaknesses CWE-639
References

Subscriptions

Gitea Gitea Open Source Git Server
cve-icon MITRE

Status: PUBLISHED

Assigner: Gitea

Published:

Updated: 2026-07-07T16:59:35.214Z

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

Link: CVE-2026-25782

cve-icon Vulnrichment

Updated: 2026-07-07T16:20:11.408Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

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

Weaknesses
  • CWE-639

    Authorization Bypass Through User-Controlled Key