Description
Gitea LFS Deploy-Key Privilege Escalation
Published: 2026-08-13
Score: 5.4 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Gitea LFS deploy‑key functionality contains a flaw that allows certain users to achieve higher privileges than intended. The vulnerability stems from insecure management of deploy‑key credentials and the inability to enforce scope restrictions, enabling an attacker who can create or modify a deploy key to access or modify data beyond their granted rights. This could result in unauthorized code changes, secret exposure, or full repository takeover.

Affected Systems

The issue affects Gitea Open Source Git Server versions released prior to the 1.27.0 update. Systems running older releases should be considered vulnerable until the fix is applied.

Risk and Exploitability

Because the flaw relies on the deploy‑key mechanism, the likely attack vector is via an authenticated session that has the ability to create or manage deploy keys. The EPSS score of <1% indicates a low but non‑zero likelihood of exploitation, and the CVSS score of 5.4 reflects a moderate severity. The vulnerability is not listed in CISA's KEV catalog. An attacker needs legitimate repository access or the ability to add a deploy key to exploit the weakness; after which elevated privileges can be leveraged to read or modify data that should be restricted.

Generated by OpenCVE AI on August 14, 2026 at 19:37 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Gitea to version 1.27.0 or later, which contains the fix for the LFS deploy‑key privilege escalation flaw.
  • If an upgrade is not immediately possible, temporarily disable deploy‑key usage or restrict it to read‑only scopes until the patch can be applied.
  • Review all existing deploy keys, remove any unused or overly permissive ones, and enforce least‑privilege scopes for the remaining keys.

Generated by OpenCVE AI on August 14, 2026 at 19:37 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-rh79-75qm-gwjr Gitea LFS Deploy-Key Privilege Escalation
History

Fri, 14 Aug 2026 18:30:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

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


Thu, 13 Aug 2026 19:15:00 +0000

Type Values Removed Values Added
First Time appeared Gitea
Gitea gitea Open Source Git Server
Vendors & Products Gitea
Gitea gitea Open Source Git Server

Thu, 13 Aug 2026 17:00:00 +0000

Type Values Removed Values Added
Description Gitea LFS Deploy-Key Privilege Escalation
Title Gitea LFS Deploy-Key Privilege Escalation
Weaknesses CWE-266
CWE-639
References

Subscriptions

Gitea Gitea Open Source Git Server
cve-icon MITRE

Status: PUBLISHED

Assigner: Gitea

Published:

Updated: 2026-08-14T17:20:22.792Z

Reserved: 2026-06-30T18:57:20.616Z

Link: CVE-2026-58435

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Deferred

Published: 2026-08-13T17:17:27.490

Modified: 2026-08-26T16:53:48.300

Link: CVE-2026-58435

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-14T19:45:16Z

Weaknesses
  • CWE-266

    Incorrect Privilege Assignment

  • CWE-639

    Authorization Bypass Through User-Controlled Key