CVE-2026-57886

Cross-repository issue/comment attachment re-linking can expose private attachment content

Published Aug 13, 2026 CVSS 3.1 · 5.9 Medium EPSS < 1% KEV · Not listed
Description
Cross-repository issue/comment attachment re-linking can expose private attachment content

Analysis

AI-generated

Technical impact

The vulnerability allows an attacker to re-link attachments from one repository to an issue or comment in another repository, thereby exposing private attachment content that should not be publicly accessible. This flaw arises from insufficient access control and missing authorization checks, as identified by CWE-639 and CWE-862.

Affected Systems

The affected product is Gitea Open Source Git Server. No specific version information is provided in the advisory.

Risk and Exploitability

The exploit probability is low, as indicated by the EPSS score of < 1%, yet remains non-zero, and the vulnerability is not listed in CISA KEV. The CVSS score of 5.9 provides a moderate severity assessment, but the potential to leak private data suggests a moderate to high risk. The likely attack vector is through the UI or API mechanisms that enable attachment re-linking across repositories, inferred from the description of the issue.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Review Gitea release notes and security advisories for any patches addressing attachment re-linking flaws; apply the update when available.
  • If an immediate update is not possible, consider disabling or restricting cross-repository attachment re-linking in Gitea settings or via repository permissions.
  • Regularly audit issue and comment attachments to detect unintended exposure of private data.

Generated by OpenCVE AI on August 14, 2026 at 20:44 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-6c6r-5xr4-cr5m Gitea: Cross-repository issue/comment attachment re-linking can expose private attachment content
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 5.9, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:N'}

Type Values Removed Values Added
First Time appeared Gitea
Gitea gitea Open Source Git Server
Vendors & Products Gitea
Gitea gitea Open Source Git Server
Type Values Removed Values Added
Description Cross-repository issue/comment attachment re-linking can expose private attachment content
Title Cross-repository issue/comment attachment re-linking can expose private attachment content
Weaknesses CWE-639
CWE-862
References
Weaknesses
  • CWE-639

    Authorization Bypass Through User-Controlled Key

  • CWE-862

    Missing Authorization

Sources

Status
PUBLISHED
Assigner
Gitea
Published
Updated
Aug 14, 2026, 5:38 PM
Reserved
Jul 8, 2026, 9:19 AM
Status
Deferred
Published
Aug 13, 2026, 5:17 PM
Modified
Aug 26, 2026, 4:53 PM