CVE-2026-58443
Deferred Deferred - Pending Action

Public-only Repository Token Privilege Escalation in GitHub

Vulnerability report for CVE-2026-58443, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-08-13

Last updated on: 2026-08-26

Assigner: Gitea Limited

Description

Public-only repository tokens can update private PR head branches

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-08-13
Last Modified
2026-08-26
Generated
2026-09-03
AI Q&A
2026-08-13
EPSS Evaluated
2026-09-01
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
go-gitea gitea to 1.26.4 (inc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-863 The product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

CVE-2026-58443 is a critical vulnerability in Gitea versions up to v1.26.4. It allows a public-only write token to update a private pull request head branch via a public base repository route. The issue occurs because Gitea checks the token's public-only restriction against the public base repository but fails to reapply this restriction when updating the private head repository.

Detection Guidance

Check Gitea version with 'gitea --version' or via admin panel. Inspect pull request branches in private repositories for unauthorized updates from public repositories. Review token scopes for public-only and write:repository permissions.

Impact Analysis

An attacker with a valid token can push public base commits into a private head branch, bypassing direct private repository write restrictions. This grants write access to the private repository, compromising its integrity. If Actions is enabled, the attack also triggers workflow execution.

Compliance Impact

This vulnerability could lead to unauthorized access or modification of private repositories, which may contain sensitive data. For GDPR, this could result in unauthorized processing or disclosure of personal data, violating principles of data protection and user rights. For HIPAA, it may expose protected health information (PHI) to unauthorized individuals, compromising confidentiality and integrity requirements.

Mitigation Strategies

Upgrade Gitea to version v1.26.5 or later. Revoke public-only tokens with write:repository scopes. Disable Actions on private repositories if not needed. Monitor private repository branches for unauthorized changes.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-58443. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart