SCA: security update for gogs.io/gogs (GHSA-268j-37xf-pp52)

high Tenable Cloud Security Plugin ID 443820

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, three API endpoints — PATCH
/api/v1/repos/:owner/:repo/issue-tracker, PATCH /api/v1/repos/:owner/:repo/wiki, and POST
/api/v1/repos/:owner/:repo/mirror-sync — are gated by reqRepoWriter() rather than reqRepoAdmin(). The
equivalent operations in the web UI sit behind reqRepoAdmin, which requires AccessMode >= AccessModeAdmin.
A write-level collaborator (who has AccessMode == AccessModeWrite < AccessModeAdmin) can therefore call
these API endpoints directly to disable the native issue tracker or wiki, inject attacker-controlled
external tracker/wiki URLs that redirect all repository visitors, or trigger mirror sync — none of which
they are authorized to do. This vulnerability is fixed in 0.14.3. (CVE-2026-52808)

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-268j-37xf-pp52

Plugin Details

Severity: High

ID: 443820

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

Percentile: 51.97

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 5.5

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

CVSS Score Source: CVE-2026-52808

CVSS v3

Risk Factor: High

Base Score: 7.1

Temporal Score: 6.2

Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/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/23/2026

Vulnerability Publication Date: 6/23/2026

Reference Information

CVE: CVE-2026-52808