{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-123642",
        "assignerOrgId": "88ee5874-cf24-4952-aea0-31affedb7ff2",
        "state": "PUBLISHED",
        "assignerShortName": "Gitea",
        "dateReserved": "2026-11-15T20:31:51.064Z",
        "datePublished": "2026-11-15T21:14:05.726Z",
        "dateUpdated": "2026-11-15T21:14:05.726Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "88ee5874-cf24-4952-aea0-31affedb7ff2",
                "shortName": "Gitea",
                "dateUpdated": "2026-11-15T21:14:05.726Z"
            },
            "title": "Gitea pull request creation without pull request access through AGit",
            "descriptions": [
                {
                    "lang": "en",
                    "value": "The AGit flow (pushing to `refs/for/...`) did not check the pusher's access to pull requests again when it created the pull request. A user or deploy key with read access to the code only, or with write access to the wiki over SSH, could open pull requests in a repository where they have no access to pull requests. Creating a pull request through AGit now requires read access to the pull requests of the repository and is refused for wiki pushes."
                }
            ],
            "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-9827-6wh6-634q",
                    "name": "GitHub Security Advisory GHSA-9827-6wh6-634q",
                    "tags": [
                        "vendor-advisory"
                    ]
                },
                {
                    "url": "https://github.com/go-gitea/gitea/pull/40131",
                    "name": "Fix: go-gitea/gitea pull request #40131",
                    "tags": [
                        "patch"
                    ]
                },
                {
                    "url": "https://github.com/go-gitea/gitea/pull/40281",
                    "name": "Fix backport to release/v28: go-gitea/gitea pull request #40281",
                    "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"
                }
            ]
        }
    }
}