{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-127958",
        "assignerOrgId": "88ee5874-cf24-4952-aea0-31affedb7ff2",
        "state": "PUBLISHED",
        "assignerShortName": "Gitea",
        "dateReserved": "2026-11-15T20:31:51.075Z",
        "datePublished": "2026-11-15T21:14:12.729Z",
        "dateUpdated": "2026-11-15T21:14:12.729Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "88ee5874-cf24-4952-aea0-31affedb7ff2",
                "shortName": "Gitea",
                "dateUpdated": "2026-11-15T21:14:12.729Z"
            },
            "title": "Gitea disclosure of pending pull request reviews created through the API",
            "descriptions": [
                {
                    "lang": "en",
                    "value": "A pull request review created through the API as a draft (`event` set to `PENDING` or left empty) was added to the pull request timeline and announced through notifications and activity feeds like a submitted review. Its body and line comments were therefore visible to everyone who can read the pull request, including anonymous visitors of a public repository, before the reviewer submitted it. Pending reviews no longer get a timeline entry or notifications until they are submitted."
                }
            ],
            "affected": [
                {
                    "vendor": "Gitea",
                    "product": "Gitea",
                    "packageName": "gitea.dev",
                    "defaultStatus": "unaffected",
                    "versions": [
                        {
                            "version": "1.12.0",
                            "status": "affected",
                            "lessThan": "28.4.0",
                            "versionType": "semver"
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://github.com/go-gitea/gitea/security/advisories/GHSA-859w-9wv7-c5x9",
                    "name": "GitHub Security Advisory GHSA-859w-9wv7-c5x9",
                    "tags": [
                        "vendor-advisory"
                    ]
                },
                {
                    "url": "https://github.com/go-gitea/gitea/pull/40260",
                    "name": "Fix: go-gitea/gitea pull request #40260",
                    "tags": [
                        "patch"
                    ]
                },
                {
                    "url": "https://github.com/go-gitea/gitea/pull/40272",
                    "name": "Fix backport to release/v28: go-gitea/gitea pull request #40272",
                    "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-200",
                            "description": "CWE-200: Exposure of Sensitive Information to an Unauthorized Actor"
                        }
                    ]
                }
            ],
            "credits": [
                {
                    "lang": "en",
                    "value": "https://github.com/lazerg",
                    "type": "remediation developer"
                }
            ]
        }
    }
}