Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. gitea.dev
  4. ›
  5. CVE-2026-58438

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

July 21, 2026

This is a cross-repository IDOR / broken access control issue. An attacker can tamper with issue-tracking state (dependency relationships) and inject an attacker-authored comment into a private repository they cannot otherwise read or write to, crossing a trust boundary the “add” path explicitly enforces. Impact is bounded - it requires an existing dependency link and discloses no repository content - but it is a genuine unauthorized-write primitive across a private-repo boundary.

References

  • github.com/advisories/GHSA-xv9x-fj9g-vj6h
  • github.com/go-gitea/gitea/releases/tag/v1.27.0
  • github.com/go-gitea/gitea/security/advisories/GHSA-xv9x-fj9g-vj6h
  • nvd.nist.gov/vuln/detail/CVE-2026-58438

Code Behaviors & Features

Detect and mitigate CVE-2026-58438 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.27.0

Fixed versions

  • 1.27.0

Solution

Upgrade to version 1.27.0 or above.

Impact 3.5 LOW

CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:N/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-862: Missing Authorization

Source file

go/gitea.dev/CVE-2026-58438.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 08 Aug 2026 00:17:44 +0000.