SCA: security update for gogs.io/gogs (GHSA-4j89-2c4f-44c6)

low Tenable Cloud Security Plugin ID 443763

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- Gogs is an open source self-hosted Git service. Prior to 0.14.3, specially crafted issue index pattern can
cause a panic when rendering, resulting in denial of service. In internal/markup/markup.go,
RenderIssueIndexPattern renders the issue index pattern to a link using com.Expand, which is not safe:
when the configured pattern contains an opening brace { but no closing brace }, strings.Index(template,
"}") returns -1 and the subsequent slice template[:-1] triggers a panic. Once such a pattern is set, any
page in the affected repository that contains an issue index reference such as #1 becomes unavailable.
This vulnerability is fixed in 0.14.3. (CVE-2026-52796)

Solution

Update the gogs.io/gogs library and its related packages to version 0.14.3 or later.

See Also

https://github.com/advisories/GHSA-4j89-2c4f-44c6

Plugin Details

Severity: Low

ID: 443763

Version: Revision 1.5

Type: Local

Family: SCA Checks

Published: 6/23/2026

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Low

Score: 1.2

Percentile: 0.01

Vendor

Vendor Severity: Low

CVSS v2

Risk Factor: Medium

Base Score: 4

Temporal Score: 3

Vector: CVSS2#AV:N/AC:L/Au:S/C:N/I:N/A:P

CVSS Score Source: CVE-2026-52796

CVSS v3

Risk Factor: Low

Base Score: 3.5

Temporal Score: 3.1

Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:L

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 6/22/2026

Vulnerability Publication Date: 6/22/2026

Reference Information

CVE: CVE-2026-52796