CVE-2026-70357 Affecting gitea-compat package, versions <28.0.0-r0


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.26% (16th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-MINIMOSLATEST-GITEACOMPAT-20948270
  • published15 Oct 2026
  • disclosed6 Oct 2026

Introduced: 6 Oct 2026

NewCVE-2026-70357  (opens in a new tab)

How to fix?

Upgrade Minimos:latest gitea-compat to version 28.0.0-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream gitea-compat package and not the gitea-compat package as distributed by Minimos. See How to fix? for Minimos:latest relevant fixed versions and status.

Gitea validates a repository migration hostname against its network allow and block lists before invoking Git, but the Git subprocess independently resolves the hostname when connecting. An attacker who can start a migration and control the destination's DNS can change the address between validation and connection to reach a blocked internal address. The affected path is the Git clone operation; validation in the migration HTTP client's dialer does not protect the independently connecting Git subprocess.