Vulnerabilities

CVE-2026-89430

High 8.1 CVSS 3.1

Description

Gitea validated a push mirror's remote address against the `[migrations]` allow and block lists only when the mirror was created. Each synchronization passed the stored address directly to `git push`, so a name that later resolved to a blocked or internal address was still reached. A user with administrator access to a repository, which includes repositories they create themselves, could aim push mirror synchronization at internal Git services and force-push the repository's contents to them.

Description as published by the source, in English.

Key facts

Published
2026-10-06
Last modified
2026-10-13
Assigned by
88ee5874-cf24-4952-aea0-31affedb7ff2
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
Scored by
134c704f-9b21-4f2e-91b3-4a467353bcc0
Fix available
Yes, see references

Affected products

Vendor Product Versions Status
Gitea Gitea < 28.0.0 Affected

Weakness type

  • CWE-367: Time-of-check Time-of-use (TOCTOU) Race Condition

    The product checks the state of a resource before using that resource, but the resource's state can change between the check and the use in a way that invalidates the results of the check.

  • CWE-918: Server-Side Request Forgery

    The web server receives a URL or similar request from an upstream component and retrieves the contents of this URL, but it does not sufficiently ensure that the request is being sent to the expected destination.

References

Related at Berigo

Articles

Does this affect you?

A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.

Check your asset list Browse all vulnerabilities