Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.6%top 55%

CVE-2026-58443: CWE-863 in Gitea Gitea Open Source Git Server

0
Critical
Published: 08/13/2026 (08/13/2026, 16:44:55 UTC)
Source: GCVE Database
Vendor/Project: Gitea
Product: Gitea Open Source Git Server

Description

Public-only repository tokens can update private PR head branches

CVSS v3.1

Score 9.1critical

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H

Affected software

Goghsa
code.gitea.io/gitea
Affected versions
<1.27.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/14/2026, 13:00:10 UTC

Technical Analysis

CVE-2026-58443 in Gitea allows a token restricted to public repositories with write permissions to update the head branch of a private pull request. The issue arises because the public-only restriction is checked against the public base repository route but is not re-applied when updating the private head repository branch. This flaw enables the token to push changes into private branches indirectly, bypassing intended access controls and leading to unauthorized code modifications in private repositories.

Potential Impact

The vulnerability enables an attacker with a token limited to public repositories to modify private pull request head branches, resulting in unauthorized code changes in private repositories. This can compromise the integrity of private codebases and potentially disrupt development workflows. The CVSS score of 9.6 indicates a critical severity with high impact on integrity and availability.

Mitigation Recommendations

A patch is available for this vulnerability. Users should upgrade Gitea to version 1.27.0 or later to remediate this issue. Applying the official fix will enforce proper access control checks on private pull request head branches, preventing unauthorized updates via public-only tokens.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-xxjv-752h-3vp2
Osv Schema Version
1.4.0
Aliases
["CVE-2026-58443"]
Ecosystems
["Go"]
Database Specific Severity
CRITICAL
Cvss Version
3.1

Threat ID: 6a600ab79c2644c7f8fe24f9

Added to database: 07/22/2026, 00:11:35 UTC

Last enriched: 08/14/2026, 13:00:10 UTC

Last updated: 09/04/2026, 23:01:31 UTC

Views: 296

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses