CVE-2026-58432

Missing Authorization and Authorization Bypass Through User-Controlled Key and Incorrect Permission Assignment for Critical Resource and Exposure of Sensitive Information to an Unauthorized Actor in code.gitea.io/gitea

Published Aug 13, 2026 CVSS 3.1 · 5.9 Medium EPSS < 1% KEV · Not listed
Description
Missing Authorization and Authorization Bypass Through User-Controlled Key and Incorrect Permission Assignment for Critical Resource and Exposure of Sensitive Information to an Unauthorized Actor in code.gitea.io/gitea

Analysis

AI-generated

Technical impact

The flaw in Gitea allows an attacker to bypass authorization controls by supplying a user‑controlled key, resulting in incorrect assignment of permissions for critical resources. This bypass exposes sensitive repository information and can enable an unauthorized actor to gain broader access across the Git server. The weakness is captured by several common vulnerabilities: lack of proper authentication and authorization (CWE‑862), incorrect permission handling (CWE‑732), exposure of sensitive data (CWE‑200), and misuse of user‑controlled input (CWE‑639).

Affected Systems

The vulnerability affects installations of the Gitea Open Source Git Server. Specific affected version ranges are not provided in the CVE data, so all deployments should review the vendor’s release notes for available fixes.

Risk and Exploitability

The EPSS score is <1% and the vulnerability is not listed in CISA’s KEV catalog, yet its CVSS score of 5.9 indicates moderate severity and a serious risk. The likely attack vector is through API calls or key‑management interfaces that accept user‑controlled input, though no active exploitation has been reported at the time of this assessment. The data exposure and privilege escalation possibilities warrant prompt attention.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update Gitea to the latest release that contains the authorization fix
  • Review and correct repository permissions, ensuring that role assignments and access scopes reflect the principle of least privilege
  • Revoke or rotate any API or SSH keys that may have been issued with excessive rights and enforce strict key‑management policies
  • Monitor audit logs for signs of unauthorized key usage and boundary violations

Generated by OpenCVE AI on August 14, 2026 at 21:27 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-q9pg-jj6x-j9p6 Gitea: draft release attachment disclosure via missing web authorization
History
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 5.9, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Gitea
Gitea gitea Open Source Git Server
Vendors & Products Gitea
Gitea gitea Open Source Git Server
Type Values Removed Values Added
Description Missing Authorization and Authorization Bypass Through User-Controlled Key and Incorrect Permission Assignment for Critical Resource and Exposure of Sensitive Information to an Unauthorized Actor in code.gitea.io/gitea
Title Missing Authorization and Authorization Bypass Through User-Controlled Key and Incorrect Permission Assignment for Critical Resource and Exposure of Sensitive Information to an Unauthorized Actor in code.gitea.io/gitea
Weaknesses CWE-200
CWE-639
CWE-732
CWE-862
References
Weaknesses
  • CWE-200

    Exposure of Sensitive Information to an Unauthorized Actor

  • CWE-639

    Authorization Bypass Through User-Controlled Key

  • CWE-732

    Incorrect Permission Assignment for Critical Resource

  • CWE-862

    Missing Authorization

Sources

Status
PUBLISHED
Assigner
Gitea
Published
Updated
Aug 14, 2026, 7:16 PM
Reserved
Jun 30, 2026, 6:57 PM
Status
Deferred
Published
Aug 13, 2026, 5:17 PM
Modified
Aug 26, 2026, 4:53 PM