SCA: security update for gogs.io/gogs (GHSA-xxhq-69mf-w8cr)

medium Tenable Cloud Security Plugin ID 443815

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, an open redirect vulnerability exists in
Gogs where attacker-controlled redirect_to parameters can bypass validation, allowing redirection to
arbitrary external sites. All redirects in Gogs that are validated via the IsSameSite function are
vulnerable. The function only inspects the first two characters of the URL string. This check fails to
account for directory traversal sequences followed by backslashes. This vulnerability is fixed in 0.14.3.
(CVE-2026-52802)

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-xxhq-69mf-w8cr

Plugin Details

Severity: Medium

ID: 443815

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: 2.1

Percentile: 7.77

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: Medium

Base Score: 6.4

Temporal Score: 4.7

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

CVSS Score Source: CVE-2026-52802

CVSS v3

Risk Factor: Medium

Base Score: 5.4

Temporal Score: 4.7

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

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

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 6/23/2026

Vulnerability Publication Date: 6/23/2026

Reference Information

CVE: CVE-2026-52802

cwe: CWE-601