CVE-2026-58426: Gitea Actions Artifacts V4 Signed URL HMAC Ambiguity
CVE-2026-58426 is a critical authorization-bypass vulnerability in Gitea’s Actions Artifacts V4 signed upload and download URL handling. The flaw stems from ambiguous HMAC input construction for signed URLs, where raw concatenated fields are signed in a way that does not unambiguously bind the request context. As a result, a user who can run a Gitea Actions job can rewrite or repurpose signed artifact URLs so that they validate for unintended targets. Successful exploitation can enable cross-repository artifact reads and cross-task upload-state writes. The issue affects artifact access control by failing to securely bind the signature to the full intended artifact identity and request context, including task and repository scoping. The weakness is consistent with improper verification of a cryptographic signature.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Exploitation allows an attacker with low privileges to bypass intended authorization boundaries in Gitea Actions artifact handling. An attacker able to run an Actions job can read artifacts associated with another running task, including artifacts belonging to private repositories, resulting in unauthorized disclosure of build outputs or other sensitive workflow-generated data. The attacker can also write attacker-controlled data into another task’s artifact upload staging context and mutate artifact metadata, creating integrity risk and potential downstream artifact poisoning. The vulnerability primarily impacts confidentiality and integrity, and depending on workflow reliance on artifacts, may also contribute to availability or operational disruption.
Mitigation
If you can’t patch tonight, do this now.
If immediate patching is not possible, disable or tightly restrict use of Gitea Actions artifact V4 signed URL functionality where operationally feasible. Limit which users can run Gitea Actions jobs, especially on multi-tenant or untrusted instances. Reduce exposure of workflows and artifacts from private repositories to users who do not require access. Assess whether deployment architecture or storage backend behavior changes exposure, particularly where direct backend URLs may bypass vulnerable handlers. Monitor for suspicious unauthenticated artifact upload or download requests involving running tasks, and investigate unexpected artifact metadata changes or anomalous cross-repository artifact access patterns.
Remediation
Patch, then assume compromise.
Upgrade Gitea to version 1.26.2 or later. The fix should ensure that signed URLs are generated and verified over a canonical structured payload rather than ambiguous concatenated fields. Signature validation should be bound to the full request context, including endpoint, expiry, task ID, artifact ID, artifact name, run ID, run attempt ID, repository ID, and owner ID. After verification, artifact enforcement should be performed using the signed artifact identifier rather than weaker contextual lookups. Additional hardening includes applying artifact-name validation to V4 artifact creation. After upgrading, review artifact access controls and inspect task upload states for signs of unauthorized cross-task or cross-repository access.
Exploits
No public exploits tracked yet. Mallory keeps watching.
References
Frequently asked questions
- Is CVE-2026-58426 exploited in the wild?
- As of Sep 25, 2026, Mallory has no reports of CVE-2026-58426 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2026-58426?
- Yes. As of Sep 25, 2026, Mallory has reports of a public exploit for CVE-2026-58426.
- Is there a patch for CVE-2026-58426?
- Upgrade Gitea to version 1.26.2 or later. The fix should ensure that signed URLs are generated and verified over a canonical structured payload rather than ambiguous concatenated fields.
- How severe is CVE-2026-58426?
- CVE-2026-58426 has a CVSS v3.1 score of 9.6 (Critical) and an EPSS score of 0.30% (15th percentile) as of Sep 25, 2026.
Recent activity
8 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.