{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-86684",
        "assignerOrgId": "88ee5874-cf24-4952-aea0-31affedb7ff2",
        "state": "PUBLISHED",
        "assignerShortName": "Gitea",
        "dateReserved": "2026-10-04T22:02:04.866Z",
        "datePublished": "2026-10-06T21:17:09.942Z",
        "dateUpdated": "2026-10-06T21:17:09.942Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "88ee5874-cf24-4952-aea0-31affedb7ff2",
                "shortName": "Gitea",
                "dateUpdated": "2026-10-06T21:17:09.942Z"
            },
            "title": "Gitea push mirror local path check uses the repository owner",
            "descriptions": [
                {
                    "lang": "en",
                    "value": "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": [
                {
                    "vendor": "Gitea",
                    "product": "Gitea",
                    "packageName": "gitea.dev",
                    "defaultStatus": "unaffected",
                    "versions": [
                        {
                            "version": "1.18.0",
                            "status": "affected",
                            "lessThanOrEqual": "28.0.0",
                            "versionType": "semver"
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://github.com/go-gitea/gitea/security/advisories/GHSA-7v5j-mph8-9w6g",
                    "name": "GitHub Security Advisory GHSA-7v5j-mph8-9w6g",
                    "tags": [
                        "vendor-advisory"
                    ]
                },
                {
                    "url": "https://github.com/go-gitea/gitea/pull/39501",
                    "name": "Fix: go-gitea/gitea pull request #39501",
                    "tags": [
                        "patch"
                    ]
                },
                {
                    "url": "https://github.com/go-gitea/gitea/pull/39507",
                    "name": "Fix backport to release/v28: go-gitea/gitea pull request #39507",
                    "tags": [
                        "patch"
                    ]
                },
                {
                    "url": "https://blog.gitea.com/release-of-28.1.0/",
                    "name": "Gitea 28.1.0 release announcement",
                    "tags": [
                        "release-notes"
                    ]
                },
                {
                    "url": "https://github.com/go-gitea/gitea/releases/tag/v28.1.0",
                    "name": "go-gitea/gitea v28.1.0 release",
                    "tags": [
                        "release-notes"
                    ]
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "lang": "en",
                            "type": "CWE",
                            "cweId": "CWE-863",
                            "description": "CWE-863: Incorrect Authorization"
                        }
                    ]
                }
            ],
            "credits": [
                {
                    "lang": "en",
                    "value": "https://github.com/opensec-intelligence",
                    "type": "tool"
                },
                {
                    "lang": "en",
                    "value": "https://github.com/mayank-jangid-moon",
                    "type": "reporter"
                },
                {
                    "lang": "en",
                    "value": "https://github.com/Kushalkhemka",
                    "type": "reporter"
                },
                {
                    "lang": "en",
                    "value": "https://github.com/skigeek16",
                    "type": "reporter"
                },
                {
                    "lang": "en",
                    "value": "https://github.com/silverwind",
                    "type": "remediation developer"
                },
                {
                    "lang": "en",
                    "value": "https://github.com/bircni",
                    "type": "remediation developer"
                }
            ]
        }
    }
}