CVE-2026-26194

Gogs: Release tag option injection in release deletion

Published Mar 5, 2026 CVSS 4.0 · 8.8 High EPSS < 1% KEV · Not listed
Description
Gogs is an open source self-hosted Git service. Prior to version 0.14.2, there's a security issue in gogs where deleting a release can fail if a user controlled tag name is passed to git without the right separator, this lets git options get injected and mess with the process. This issue has been patched in version 0.14.2.

Analysis

AI-generated

Technical impact

Deleting a release in Gogs prior to version 0.14.2 can fail when a user‑controlled tag name is passed to git without the correct separator. This flaw allows git options to be injected, which can alter the Git command execution flow. The result may enable an attacker to introduce unintended git options, potentially leading to execution of arbitrary commands within the host environment or disruption of the repository management workflow. The weakness is classified as CWE‑88, indicating a lack of proper input sanitization for command execution.

Affected Systems

The affected product is Gogs, the open‑source self‑hosted Git server. All installations of Gogs running any version earlier than 0.14.2 are vulnerable.

Risk and Exploitability

The CVSS score is 8.8, reflecting a high severity that could allow modification of repository data or execution of arbitrary code. The EPSS score is less than 1%, suggesting that, as of this analysis, the likelihood of exploitation is low. The vulnerability is not listed in the CISA KEV catalog, so no known widespread active exploitation has been reported. The most likely attack vector is a malicious user who can initiate a release deletion operation, potentially with elevated privileges, to inject invalid git options.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Gogs to version 0.14.2 or later to apply the vendor patch that fixes the tag handling bug.
  • Restrict the ability to delete releases to trusted users only, ensuring that command‑line injection is not possible through ordinary user actions.
  • Configure audit logging or real‑time alerts for unexpected git command execution patterns to detect any accidental or malicious misuse of the release deletion flow.

Generated by OpenCVE AI on April 17, 2026 at 12:41 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-v9vm-r24h-6rqm Gogs: Release tag option injection in release deletion
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Gogs
Gogs gogs
CPEs cpe:2.3:a:gogs:gogs:*:*:*:*:*:*:*:*
Vendors & Products Gogs
Gogs gogs
Metrics cvssV3_1

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

Type Values Removed Values Added
Description Gogs is an open source self-hosted Git service. Prior to version 0.14.2, there's a security issue in gogs where deleting a release can fail if a user controlled tag name is passed to git without the right separator, this lets git options get injected and mess with the process. This issue has been patched in version 0.14.2.
Title Gogs: Release tag option injection in release deletion
Weaknesses CWE-88
References
Metrics cvssV4_0

{'score': 8.8, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-88

    Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Mar 6, 2026, 6:09 PM
Reserved
Feb 11, 2026, 7:56 PM
Status
Analyzed
Published
Mar 5, 2026, 7:16 PM
Modified
Jun 17, 2026, 10:25 AM