PT-2026-63278 · Gitea+1 · Gitea+1
CVSS v3.1
7.5
High
| Vector | AV: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
Affected Products
Gitea
Red Os