CVE-2026-54481
published 2026-08-13CVE-2026-54481: Internal API HTTP client hardcodes InsecureSkipVerify:true with no config override (CWE-295)
PriorityP343high7.5CVSS 3.1
AVAACHPRNUINSUCHIHAH
EPSS
0.21%
11.4th percentile
Internal API HTTP client hardcodes InsecureSkipVerify:true with no config override (CWE-295)
Affected
2 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| code.gitea.io | gitea | >= 0 < 1.27.0 | 1.27.0 |
| gitea | gitea_open_source_git_server | <= 1.26.4 | — |
CVSS provenance
nvdv3.17.5HIGHCVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
vendor_redhat7.5HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
Gitea: Internal API HTTP client hardcodes InsecureSkipVerify:true with no config override
ghsa·2026-07-21
CVE-2026-54481 [HIGH] CWE-295 Gitea: Internal API HTTP client hardcodes InsecureSkipVerify:true with no config override
Gitea: Internal API HTTP client hardcodes InsecureSkipVerify:true with no config override
Summary
Gitea's internal API HTTP client (modules/private/internal.go) hardcodes
TLSClientConfig.InsecureSkipVerify = true with no configuration override. It is the only
outbound TLS client in the codebase that cannot be made to verify its peer's certificate —
webhook, migrations, MinIO, LDAP, SMTP, Redis and incoming-mail all expose a secure-by-default
SkipVerify toggle, this one does not.
When an operator configures internal communication over HTTPS to a non-loopback target
(LOCAL_ROOT_URL=https:/// in a split-host / multi-pod topology), the gitea serv / gitea hook
subprocess that calls the internal API will accept ANY TLS certificate. An attacker with on-path
position on that internal segment ca
Red Hat
code.gitea.io/gitea: Gitea: Insecure TLS verification in internal API client
vendor_redhat·2026-08-13·CVSS 7.5
CVE-2026-54481 [HIGH] CWE-295 code.gitea.io/gitea: Gitea: Insecure TLS verification in internal API client
code.gitea.io/gitea: Gitea: Insecure TLS verification in internal API client
Internal API HTTP client hardcodes InsecureSkipVerify:true with no config override (CWE-295)
A flaw was found in Gitea. The internal API HTTP client is configured to skip Transport Layer Security (TLS) certificate verification, which is an insecure practice. A remote attacker on the same network segment could exploit this vulnerability to perform man-in-the-middle (MITM) attacks. This allows the attacker to intercept and potentially alter communications with the internal API, leading to unauthorized information disclosure or data manipulation.
Statement: This is an Important Man-in-the-Middle attack vulnerability in Gitea's internal API client. This flaw, caused by hardcoded InsecureSkipVerify:true, allows an a
No detection rules found.
No public exploits indexed.
2026-08-13
Published