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.2%top 89%

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

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

Description

Public-only API token restriction is not enforced on team API routes

CVSS v3.1

Score 4.3medium

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

Affected software

Goghsa
gitea.dev
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, 12:58:34 UTC

Technical Analysis

Gitea before version 1.27.0 contains an access control vulnerability (CVE-2026-58431) where public-only API tokens, which should be limited to accessing only public repositories and organizations, can bypass restrictions on team API routes. This is due to the organization visibility check being bypassed because of missing organization context, and the absence of repository-level public-only filtering. As a result, private team repository metadata and private team activity feed entries can be retrieved using a public-only token. The vulnerability has been verified on version 1.26.2 and nightly builds. The CVSS 3.1 score is 4.3 (medium severity).

Potential Impact

An attacker with a public-only API token can access private metadata and activity feeds of team repositories that should be restricted. This leads to unauthorized disclosure of private repository information, although it does not allow modification or denial of service. The impact is limited to confidentiality loss of private team repository metadata and activity feed entries.

Mitigation Recommendations

A patch is available in Gitea version 1.27.0 that fixes this vulnerability by properly enforcing public-only API token restrictions on team API routes. Users should upgrade to version 1.27.0 or later to remediate this issue.

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-h56g-4qw7-2mxg
Osv Schema Version
1.4.0
Aliases
["CVE-2026-58431"]
Ecosystems
["Go"]
Database Specific Severity
MODERATE
Cvss Version
3.1

Threat ID: 6a600aa29c2644c7f8fdfcc4

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

Last enriched: 08/14/2026, 12:58:34 UTC

Last updated: 09/04/2026, 22:52:13 UTC

Views: 53

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