CVE-2026-86684
JSON

7.1high

Gitea push mirror local path check uses the repository owner

Severity
7.1high CVSS:3.1 by CISA-ADP
Exploit likelihood
0.11% (higher than 1% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Gitea
Also known as
BIT-GITEA-2026-86684GHSA-7v5j-mph8-9w6g

Description

The Gitea push mirror API checked whether the repository owner, instead of the requesting user, may use local file system paths. On instances with `[security] IMPORT_LOCAL_PATHS = true`, a repository administrator who is not allowed to import local paths could add a push mirror to a local path on the server when the repository owner has that permission. Gitea then pushed the repository's refs into an existing Git repository at that path with the permissions of the Gitea process.

Affected

Product or packageVersionsReported by
gitea.devfrom 1.18.0 up to 28.0.0CVE List
gitea giteafrom 1.18.0 before 28.1.0NVD
gitea (Bitnami)from 1.18.0 before 28.1.0Bitnami Vulnerability Database

All scores

CISA-ADP7.1high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
Bitnami Vulnerability Databasehigh rating

Classification

CWE-863

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-86684 changed 2026-10-07CVE Terms of Use
NVDCVE-2026-86684 changed 2026-10-13Public domain
Bitnami Vulnerability DatabaseBIT-GITEA-2026-86684 changed 2026-10-14Apache-2.0