{"api_version":"1","generated_at":"2026-07-04T20:38:17+00:00","cve":"CVE-2026-27775","urls":{"html":"https://cve.report/CVE-2026-27775","api":"https://cve.report/api/cve/CVE-2026-27775.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-27775","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-27775"},"summary":{"title":"Gitea pre-receive hook permission cache allows full repository write access","description":"Gitea 1.25.5 caches a branch-specific write-permission result across multiple refs in one pre-receive hook session, allowing a per-branch maintainer-edit grant to be reused for other refs and escalate to full repository write access.","state":"PUBLISHED","assigner":"Gitea","published_at":"2026-07-03 21:16:59","updated_at":"2026-07-03 21:16:59"},"problem_types":["CWE-863","CWE-863 CWE-863"],"metrics":[],"references":[{"url":"https://blog.gitea.com/release-of-1.26.3-and-1.26.4/","name":"https://blog.gitea.com/release-of-1.26.3-and-1.26.4/","refsource":"88ee5874-cf24-4952-aea0-31affedb7ff2","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/go-gitea/gitea/security/advisories/GHSA-649p-mmhf-85c7","name":"https://github.com/go-gitea/gitea/security/advisories/GHSA-649p-mmhf-85c7","refsource":"88ee5874-cf24-4952-aea0-31affedb7ff2","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/go-gitea/gitea/pull/38151","name":"https://github.com/go-gitea/gitea/pull/38151","refsource":"88ee5874-cf24-4952-aea0-31affedb7ff2","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/go-gitea/gitea/releases/tag/v1.26.3","name":"https://github.com/go-gitea/gitea/releases/tag/v1.26.3","refsource":"88ee5874-cf24-4952-aea0-31affedb7ff2","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-27775","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-27775","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Gitea","product":"Gitea Open Source Git Server","version":"affected 1.25.5 semver","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[{"source":"CNA","value":"adrian-doyensec","lang":"en"}],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Gitea Open Source Git Server","vendor":"Gitea","versions":[{"status":"affected","version":"1.25.5","versionType":"semver"}]}],"credits":[{"lang":"en","type":"reporter","value":"adrian-doyensec"}],"descriptions":[{"lang":"en","value":"Gitea 1.25.5 caches a branch-specific write-permission result across multiple refs in one pre-receive hook session, allowing a per-branch maintainer-edit grant to be reused for other refs and escalate to full repository write access."}],"problemTypes":[{"descriptions":[{"cweId":"CWE-863","description":"CWE-863","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-07-03T20:19:37.275Z","orgId":"88ee5874-cf24-4952-aea0-31affedb7ff2","shortName":"Gitea"},"references":[{"name":"GitHub Security Advisory","tags":["vendor-advisory"],"url":"https://github.com/go-gitea/gitea/security/advisories/GHSA-649p-mmhf-85c7"},{"name":"GitHub Pull Request #38151","tags":["patch"],"url":"https://github.com/go-gitea/gitea/pull/38151"},{"name":"Gitea v1.26.3 Release","tags":["release-notes"],"url":"https://github.com/go-gitea/gitea/releases/tag/v1.26.3"},{"name":"Gitea v1.26.4 Release Blog Post","tags":["release-notes"],"url":"https://blog.gitea.com/release-of-1.26.3-and-1.26.4/"}],"title":"Gitea pre-receive hook permission cache allows full repository write access","x_generator":{"engine":"cvelib 1.8.0"}}},"cveMetadata":{"assignerOrgId":"88ee5874-cf24-4952-aea0-31affedb7ff2","assignerShortName":"Gitea","cveId":"CVE-2026-27775","datePublished":"2026-07-03T20:19:37.275Z","dateReserved":"2026-03-03T03:25:59.996Z","dateUpdated":"2026-07-03T20:19:37.275Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-07-03 21:16:59","lastModifiedDate":"2026-07-03 21:16:59","problem_types":["CWE-863","CWE-863 CWE-863"],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"27775","Ordinal":"1","Title":"Gitea pre-receive hook permission cache allows full repository w","CVE":"CVE-2026-27775","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"27775","Ordinal":"1","NoteData":"Gitea 1.25.5 caches a branch-specific write-permission result across multiple refs in one pre-receive hook session, allowing a per-branch maintainer-edit grant to be reused for other refs and escalate to full repository write access.","Type":"Description","Title":"Gitea pre-receive hook permission cache allows full repository w"}]}}}