Gitea Actions Artifacts V4 signed URL HMAC ambiguity allows cross-repository artifact read and cross-task upload-state write (CVE-2026-58426)
Gitea Actions Artifacts V4 signed URLs suffer from an HMAC signature ambiguity that allows an attacker with permission to run a Gitea Actions job to rewrite signed URLs. This enables unauthorized reading of artifacts from other repository tasks and unauthorized writing to other task artifact upload staging areas, including private repositories. The vulnerability arises because the HMAC input concatenates multiple fields without delimiters, allowing different URL parameter combinations to produce the same signature. This flaw affects versions from 1.22.0 up to but not including 1.26.2.
AI Analysis
Technical Summary
The vulnerability in Gitea Actions Artifacts V4 arises from the construction of the HMAC signature over concatenated URL parameters (endpoint, expires, artifactName, taskID, artifactID) without delimiters or length-prefixing. This allows crafted URL tuples to produce identical HMAC inputs, enabling an attacker to forge signed URLs that access or modify artifacts in different task and repository contexts. The signed URL handlers do not authenticate requests beyond verifying the HMAC and rely on URL parameters to identify tasks and artifacts. Consequently, an attacker can perform cross-repository artifact reads (confidentiality impact) and cross-task artifact staging writes (integrity impact). The vulnerability affects Gitea code.gitea.io/gitea versions >=1.22.0 and <1.26.2. No official patch or remediation level is stated in the advisory, and no known exploits in the wild are reported.
Potential Impact
An attacker with permission to run Gitea Actions jobs can exploit this vulnerability to read artifacts from other tasks and repositories, potentially exposing sensitive data (high confidentiality impact). Additionally, the attacker can write attacker-controlled data into the artifact upload staging area of other tasks, causing unauthorized modification of artifact metadata and staged content (high integrity impact). There is no reported impact on availability. The vulnerability enables cross-repository and cross-task unauthorized access and modification of artifacts.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict permissions to run Gitea Actions jobs to trusted users only to limit exploitation potential. Monitor for updates from Gitea regarding patches or official mitigations addressing this vulnerability.
Gitea Actions Artifacts V4 signed URL HMAC ambiguity allows cross-repository artifact read and cross-task upload-state write (CVE-2026-58426)
Description
Gitea Actions Artifacts V4 signed URLs suffer from an HMAC signature ambiguity that allows an attacker with permission to run a Gitea Actions job to rewrite signed URLs. This enables unauthorized reading of artifacts from other repository tasks and unauthorized writing to other task artifact upload staging areas, including private repositories. The vulnerability arises because the HMAC input concatenates multiple fields without delimiters, allowing different URL parameter combinations to produce the same signature. This flaw affects versions from 1.22.0 up to but not including 1.26.2.
CVSS v3.1
Score 9.6critical
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in Gitea Actions Artifacts V4 arises from the construction of the HMAC signature over concatenated URL parameters (endpoint, expires, artifactName, taskID, artifactID) without delimiters or length-prefixing. This allows crafted URL tuples to produce identical HMAC inputs, enabling an attacker to forge signed URLs that access or modify artifacts in different task and repository contexts. The signed URL handlers do not authenticate requests beyond verifying the HMAC and rely on URL parameters to identify tasks and artifacts. Consequently, an attacker can perform cross-repository artifact reads (confidentiality impact) and cross-task artifact staging writes (integrity impact). The vulnerability affects Gitea code.gitea.io/gitea versions >=1.22.0 and <1.26.2. No official patch or remediation level is stated in the advisory, and no known exploits in the wild are reported.
Potential Impact
An attacker with permission to run Gitea Actions jobs can exploit this vulnerability to read artifacts from other tasks and repositories, potentially exposing sensitive data (high confidentiality impact). Additionally, the attacker can write attacker-controlled data into the artifact upload staging area of other tasks, causing unauthorized modification of artifact metadata and staged content (high integrity impact). There is no reported impact on availability. The vulnerability enables cross-repository and cross-task unauthorized access and modification of artifacts.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict permissions to run Gitea Actions jobs to trusted users only to limit exploitation potential. Monitor for updates from Gitea regarding patches or official mitigations addressing this vulnerability.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- Gitea
- Date Reserved
- 2026-06-30T18:57:20.615Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
- Gcve Source
- db.gcve.eu
Threat ID: 6a483c9d27e9c79719d7f5c6
Added to database: 07/03/2026, 22:50:05 UTC
Last enriched: 07/22/2026, 01:46:55 UTC
Last updated: 07/31/2026, 19:22:59 UTC
Views: 161
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.