CVE-2026-58438
Received Received - Intake

Cross-Repository IDOR in GitHub Issue Dependency Removal

Vulnerability report for CVE-2026-58438, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-08-13

Last updated on: 2026-08-13

Assigner: Gitea Limited

Description

Cross-repository IDOR in issue-dependency removal lets an attacker tamper with and comment on private repos they cannot access

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-08-13
Last Modified
2026-08-13
Generated
2026-08-13
AI Q&A
2026-08-13
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 2 associated CPEs
Vendor Product Version / Range
gitea gitea to 1.26.4 (inc)
gitea gitea 1.27.0

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-862 The product does not perform an authorization check when an actor attempts to access a resource or perform an action.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This is a cross-repository Insecure Direct Object Reference (IDOR) vulnerability in Gitea. It allows an attacker with write access to a repository to remove dependencies and inject comments into private repositories they cannot access. The issue occurs because the 'remove dependency' function lacks proper permission checks when dealing with cross-repository dependencies.

Detection Guidance

Check Gitea logs for suspicious cross-repository dependency removal actions or unauthorized comments. Look for requests targeting private repositories from users without explicit access. Review Gitea version to confirm if it is below 1.27.0.

Impact Analysis

An attacker could tamper with private repositories by removing dependencies and adding malicious comments. This requires the attacker to know the global numeric ID of a private repository's issue with a dependency link to one of their issues. The impact is moderate but allows unauthorized writes across repository boundaries.

Mitigation Strategies

Upgrade Gitea to version 1.27.0 or later to apply the patch. Monitor repository activity for unauthorized dependency removals or comments. Restrict write access to repositories where possible.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-58438. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart