Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. code.gitea.io/gitea
  4. ›
  5. CVE-2026-28705

CVE-2026-28705: Gitea release asset dumps permit path traversal through crafted names

July 3, 2026 (updated September 1, 2026)

Gitea versions before 1.25.5 use release tag names and asset names as filesystem path components when dumping release assets, allowing specially crafted names to affect dump output paths.

References

  • blog.gitea.com/release-of-1.25.5
  • github.com/advisories/GHSA-7jvx-g65v-r899
  • github.com/go-gitea/gitea/commit/833304ac15bce17d0f03c4852af5f60c186f6a70
  • github.com/go-gitea/gitea/commit/f7ac5076711af3a260f3f98b2c1f8c19b32f6d09
  • github.com/go-gitea/gitea/pull/36799
  • github.com/go-gitea/gitea/pull/36839
  • github.com/go-gitea/gitea/releases/tag/v1.25.5
  • nvd.nist.gov/vuln/detail/CVE-2026-28705

Code Behaviors & Features

Detect and mitigate CVE-2026-28705 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.25.5

Fixed versions

  • 1.25.5

Solution

Upgrade to version 1.25.5 or above.

Impact 5.3 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Source file

go/code.gitea.io/gitea/CVE-2026-28705.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Tue, 08 Sep 2026 00:16:01 +0000.