PT-2026-63278 · Gitea+1 · Gitea+1

·

CVE-2026-54481

·

Published

2026-07-21

·

Updated

2026-08-26

CVSS v3.1

7.5

High

VectorAV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Gitea (affected versions not specified)
Description The internal API HTTP client in modules/private/internal.go hardcodes TLSClientConfig.InsecureSkipVerify = true, which disables TLS certificate verification for outbound internal requests. When the LOCAL ROOT URL is configured to use HTTPS on a non-loopback target (such as in split-host or multi-pod topologies), the client accepts any TLS certificate, including self-signed ones.
An attacker with an on-path position on the internal network segment can perform a man-in-the-middle (MITM) attack to intercept the connection and capture the static high-privilege INTERNAL TOKEN sent in the X-Gitea-Internal-Auth header. This token is the sole authentication mechanism for all /api/internal/* endpoints. A captured token allows an attacker to perform administrative actions, including shutting down or restarting the server, authorizing SSH keys, executing git commands, controlling repository hooks, sending emails, and generating Actions runner tokens.
Recommendations At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

Improper Certificate Validation

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-54481
GHSA-94V3-77J7-VM48
GO-2026-6048
OPENSUSE-SU-2026:21483-1

Affected Products

Gitea
Red Os