Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
PR:L because both API and web handlers require authentication; all other metrics match the provided vector.
Primary rating from Vendor (Gitea).
CVSS VectorVendor: Gitea
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Lifecycle Timeline
3DescriptionCVE.org
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.
AnalysisAI
Insecure direct object reference (IDOR) in Gitea's issue time-tracking feature allows authenticated users to delete tracked-time entries belonging to issues other than the one specified in the request URL. Affected are all Gitea Open Source Git Server versions before 1.25.5. The root cause is that GetTrackedTimeByID performed a database lookup using only the time entry's numeric ID, without filtering by the issue ID present in the URL path, enabling cross-issue data manipulation. No public exploit has been identified at time of analysis, and CISA KEV does not list this vulnerability.
Technical ContextAI
The vulnerability affects the tracked-time subsystem of Gitea (CPE: cpe:2.3:a:gitea:gitea_open_source_git_server:*:*:*:*:*:*:*:*), a self-hosted Git service written in Go. CWE-639 (Authorization Bypass Through User-Controlled Key) describes the root cause: the application uses an attacker-controlled path parameter - the numeric time entry ID - as the sole lookup key, without verifying that the retrieved record belongs to the issue also named in the URL. The patch diff confirms the fix: GetTrackedTimeByID was changed to include a WHERE issue_id = ? clause alongside the ID lookup, making the lookup scope-safe. Both the REST API handler (routers/api/v1/repo/issue_tracked_time.go) and the web handler (routers/web/repo/issue_timetrack.go) were affected, as both called the unscoped function. Integration tests added in the patch confirm that supplying a time ID belonging to a different issue now returns HTTP 404.
RemediationAI
Upgrade to Gitea 1.25.5 or later, which includes the scope-fixing patches from pull requests https://github.com/go-gitea/gitea/pull/36664 and https://github.com/go-gitea/gitea/pull/36689. The patched release is confirmed available at https://github.com/go-gitea/gitea/releases/tag/v1.25.5. If an immediate upgrade is not feasible, a compensating control is to disable the time-tracking feature entirely in the Gitea administration panel (Admin → Settings → Features → Enable Time Tracking), which removes the vulnerable endpoint from the attack surface; note this will prevent all time logging for all users and repositories. Restricting API token issuance and auditing existing time-tracking records for unexpected deletions across issues may also help detect exploitation of instances that cannot be patched immediately.
Broken access control in Gitea's Composer package registry (versions up to and including 1.26.1) lets remote attackers r
Gitea before 1.16.7 does not escape git fetch remote. Rated high severity (CVSS 7.5), this vulnerability is remotely exp
The git hook feature in Gitea 1.1.0 through 1.12.5 might allow for authenticated remote code execution in customer envir
Improper Neutralization of Input During Web Page Generation (XSS or 'Cross-site Scripting') vulnerability in Gitea Gitea
Reverse-proxy authentication bypass in the official Gitea Docker image (versions up to and including 1.26.2) allows any
Container escape in Gitea act_runner (Docker backend, through act 0.262.0) lets an authenticated user with workflow-exec
models/repo_mirror.go in Gitea before 1.7.6 and 1.8.x before 1.8-RC3 mishandles mirror repo URL settings, leading to rem
Server-side request forgery and internal repository exfiltration in Gitea before 1.27.0 lets a low-privileged authentica
An issue was discovered in Gitea through 1.11.5. Rated high severity (CVSS 7.5), this vulnerability is remotely exploita
Missing Authorization in GitHub repository go-gitea/gitea prior to 1.16.4. Rated high severity (CVSS 7.1), this vulnerab
Open Redirect on login in GitHub repository go-gitea/gitea prior to 1.16.5. Rated medium severity (CVSS 6.1), this vulne
Authenticated command injection in Dokploy (self-hostable PaaS) versions 0.29.3 through 0.29.12 lets a low-privileged us
Same technique Authentication Bypass
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-41626
GHSA-qm72-8prh-g92x