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

CVE-2026-58426: Gitea Actions Artifacts V4 signed URL HMAC ambiguity allows cross-repository artifact read and cross-task upload-state write

July 21, 2026

Gitea Actions Artifacts V4 signed upload/download URLs can be rewritten to access a different running task and repository context while preserving the original HMAC signature. An attacker with permission to run a Gitea Actions job can turn a signed URL for an attacker-controlled artifact into a URL that reads artifacts from another task context, or writes attacker-controlled data into another task’s artifact upload staging context, including in a private repository.

This is one vulnerability with two exploit paths:

  • DownloadArtifact: cross-task/cross-repository artifact read, giving C:H.
  • UploadArtifact: cross-task artifact staging write and metadata mutation, giving I:H.

References

  • blog.gitea.com/release-of-1.26.2
  • github.com/advisories/GHSA-hg5r-vq93-9fv6
  • github.com/go-gitea/gitea/commit/1c2d5e9b03f71dd12d450b2af9a79f2557b50226
  • github.com/go-gitea/gitea/pull/37707
  • github.com/go-gitea/gitea/releases/tag/v1.26.2
  • github.com/go-gitea/gitea/security/advisories/GHSA-hg5r-vq93-9fv6
  • nvd.nist.gov/vuln/detail/CVE-2026-58426

Code Behaviors & Features

Detect and mitigate CVE-2026-58426 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 starting from 1.22.0 before 1.26.2

Fixed versions

  • 1.26.2

Solution

Upgrade to version 1.26.2 or above.

Impact 9.6 CRITICAL

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

Learn more about CVSS

Weakness

  • CWE-347: Improper Verification of Cryptographic Signature

Source file

go/code.gitea.io/gitea/CVE-2026-58426.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:31 +0000.