Missing Authorization in Gitea - CVE-2026-58438
Published: July 14, 2026
Vulnerability details
The vulnerability allows a remote user to tamper with issue dependency relationships and inject comments into private repositories.
The vulnerability exists due to improper access control in the RemoveDependency action in routers/web/repo/issue_dependency.go when handling issue dependency removal requests. A remote user can send a specially crafted request with a dependency issue ID to tamper with issue dependency relationships and inject comments into private repositories.
Exploitation requires write access to issues in one repository and an existing cross-repository dependency link to an issue in a private repository. No repository content is disclosed.