{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-129337",
        "assignerOrgId": "88ee5874-cf24-4952-aea0-31affedb7ff2",
        "state": "PUBLISHED",
        "assignerShortName": "Gitea",
        "dateReserved": "2026-11-15T20:31:51.054Z",
        "datePublished": "2026-11-15T21:14:17.755Z",
        "dateUpdated": "2026-11-15T21:14:17.755Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "88ee5874-cf24-4952-aea0-31affedb7ff2",
                "shortName": "Gitea",
                "dateUpdated": "2026-11-15T21:14:17.755Z"
            },
            "title": "Gitea push without write access to repositories still being created",
            "descriptions": [
                {
                    "lang": "en",
                    "value": "Git over HTTP lowers the required permission for pushes to read access, so that the AGit flow works, and relies on the repository's server-side hooks to enforce write access. A repository that is still being created by a migration, fork or template generation has no hooks yet, so a user with read access to it could push branches and tags during that window, or after a failed migration that left the repository in that state. Git over HTTP now refuses requests to repositories that are still being created."
                }
            ],
            "affected": [
                {
                    "vendor": "Gitea",
                    "product": "Gitea",
                    "packageName": "gitea.dev",
                    "defaultStatus": "unaffected",
                    "versions": [
                        {
                            "version": "1.16.0",
                            "status": "affected",
                            "lessThan": "28.4.0",
                            "versionType": "semver"
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://github.com/go-gitea/gitea/security/advisories/GHSA-8cjj-9p56-j54f",
                    "name": "GitHub Security Advisory GHSA-8cjj-9p56-j54f",
                    "tags": [
                        "vendor-advisory"
                    ]
                },
                {
                    "url": "https://github.com/go-gitea/gitea/pull/40120",
                    "name": "Fix: go-gitea/gitea pull request #40120",
                    "tags": [
                        "patch"
                    ]
                },
                {
                    "url": "https://github.com/go-gitea/gitea/pull/40268",
                    "name": "Fix backport to release/v28: go-gitea/gitea pull request #40268",
                    "tags": [
                        "patch"
                    ]
                },
                {
                    "url": "https://blog.gitea.com/release-of-28.4.0/",
                    "name": "Gitea 28.4.0 release announcement",
                    "tags": [
                        "release-notes"
                    ]
                },
                {
                    "url": "https://github.com/go-gitea/gitea/releases/tag/v28.4.0",
                    "name": "go-gitea/gitea v28.4.0 release",
                    "tags": [
                        "release-notes"
                    ]
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "lang": "en",
                            "type": "CWE",
                            "cweId": "CWE-862",
                            "description": "CWE-862: Missing Authorization"
                        }
                    ]
                }
            ],
            "credits": [
                {
                    "lang": "en",
                    "value": "https://github.com/silverwind",
                    "type": "remediation developer"
                }
            ]
        }
    }
}