Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to Gitea with valid credentials
-
DeliveryEnumerate tracked-time entry IDs via API list endpoint
-
ExploitIdentify target time entry ID from a different issue
-
ExecutionSend DELETE request with mismatched issue URL and target time ID
-
ImpactGitea deletes the unscoped time entry, returning success
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Object-level authorization, IDOR prevention
|
| Exploitation Conditions | Exploitation requires an authenticated Gitea user account - anonymous access is insufficient. The time-tracking feature must be enabled in the Gitea instance (it is enabled by default). The attacker must know or be able to enumerate a valid numeric time-entry ID belonging to another issue; since IDs are sequential integers returned in API list responses, this is trivial for any user with repository read access. Limiting factors: the attacker cannot read time entries they are not authorized to view; impact is confined to deletion of time-tracking records (no data exfiltration, no code execution); and the attacker must already hold a valid Gitea account or API token for the instance. |
| Impact | The provided CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N, score 5.3) claims no privileges are required (PR:N), but this conflicts with the technical evidence: both the API and web integration tests require an authenticated session or token, as shown by |
| Exploit ScenarioDerived | An authenticated Gitea user enumerates numeric time-entry IDs from issues they have access to - IDs are sequential integers visible in API responses. The attacker then sends a DELETE request to an issue URL they can access (e.g., |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 22, 2026
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.
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.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in go, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
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.
Know when Gitea gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
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
DescriptionCVE.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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
Remote code execution in Gitea (self-hosted Git service) via a code-injection flaw (CWE-94) allows attackers to run arbi
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
Path traversal in Gitea's Org-mode (`.org`) markup renderer allows an attacker who can get Org-mode content rendered by
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
Authorization bypass in Gitea versions 1.22.3 through 1.26.1 allows holders of `public-only` access tokens or OAuth gran
An issue was discovered in Gitea through 1.11.5. Rated high severity (CVSS 7.5), this vulnerability is remotely exploita
Same technique Authentication Bypass
View allVendor StatusVendor
SUSE
Severity: Moderate| Product | Status |
|---|---|
| SUSE Linux Enterprise Module for Package Hub 15 SP5 | Affected |
| SUSE Linux Enterprise Module for Package Hub 15 SP6 | Affected |
| openSUSE Leap 15.5 | Affected |
| openSUSE Leap 15.6 | Affected |
EUVD-2026-41626
GHSA-qm72-8prh-g92x
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB