PT-2026-63304 · Gitea+1 · Gitea+1

·

CVE-2026-58438

·

Published

2026-07-21

·

Updated

2026-09-02

CVSS v3.1

7.5

High

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Name of the Vulnerable Software and Affected Versions Gitea versions prior to 1.26.5
Description A broken access control issue exists in the RemoveDependency function within routers/web/repo/issue dependency.go. The function processes the removeDependencyID form parameter to identify and remove an issue dependency using issues model.GetIssueByID(ctx, depID) without performing necessary repository or permission checks. This allows an attacker with write access to issues in one repository to remove a dependency link to an issue in a different private repository and inject a comment into that private repository, even if they lack read access to it. This is an Insecure Direct Object Reference (IDOR), which occurs when an application provides direct access to objects based on user-supplied input without sufficient authorization.
Recommendations Update Gitea to version 1.26.5 or later. As a temporary mitigation, restrict the use of the removeDependencyID parameter in the /owner/repo/issues/N/dependency/delete endpoint to authorized users only.

Exploit

Fix

Missing Authorization

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-58438
GHSA-XV9X-FJ9G-VJ6H
GO-2026-6085
OPENSUSE-SU-2026:21551-1
SUSE-SU-2026:23216-1
SUSE-SU-2026:23227-1

Affected Products

Gitea
Red Os