{"id":"CVE-2026-89182","title":"With `[repository] FORCE_PRIVATE = true`, Gitea creates new repositories as private, but the post-receive hook still applied the `repo.private=false` push option to an empty repository created by push","summary":"With `[repository] FORCE_PRIVATE = true`, Gitea creates new repositories as private, but the post-receive hook still applied the `repo.private=false` push option to an empty repository created by push. Any user who can create repositorie…","severity":"medium","cvss":5.4,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","cwe":["CWE-863"],"vendor":"gitea","product":"gitea","affected":["gitea >= 1.27.0, < 28.1.0"],"patched":["gitea 28.1.0"],"published":"2026-10-06","updated":"2026-10-13","sourceUpdated":"2026-10-13T18:03:37.053","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-89182","references":[{"url":"https://blog.gitea.com/release-of-28.1.0/","label":"88ee5874-cf24-4952-aea0-31affedb7ff2"},{"url":"https://github.com/go-gitea/gitea/pull/39501","label":"88ee5874-cf24-4952-aea0-31affedb7ff2"},{"url":"https://github.com/go-gitea/gitea/pull/39507","label":"88ee5874-cf24-4952-aea0-31affedb7ff2"},{"url":"https://github.com/go-gitea/gitea/releases/tag/v28.1.0","label":"88ee5874-cf24-4952-aea0-31affedb7ff2"},{"url":"https://github.com/go-gitea/gitea/security/advisories/GHSA-fx95-gwfc-grgc","label":"88ee5874-cf24-4952-aea0-31affedb7ff2"},{"url":"https://github.com/go-gitea/gitea/security/advisories/GHSA-fx95-gwfc-grgc","label":"134c704f-9b21-4f2e-91b3-4a467353bcc0"},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-89182.json"},{"url":"https://access.redhat.com/security/cve/CVE-2026-89182"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-89182"}],"tags":["nvd","cve.org","exploit-available","csaf","vex","red-hat"],"epss":0.00196,"epssPercentile":0.09259,"exploitAvailable":true,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-10-07T11:33:52.355355Z"},"scores":{"nvd":5.4,"vendor":4.3},"ingestedAt":"2026-10-06T22:23:15.972Z","slug":"CVE-2026-89182","body":"## Overview\n\nWith `[repository] FORCE_PRIVATE = true`, Gitea creates new repositories as private, but the post-receive hook still applied the `repo.private=false` push option to an empty repository created by push. Any user who can create repositories could make their new repository public in violation of the instance policy. The default configuration is not affected.\n\n## Affected\n\n- `gitea >= 1.27.0, < 28.1.0`\n\n## Remediation\n\nUpgrade past the affected range:\n\n- `gitea 28.1.0`\n\n## Vendor advisories\n\n- **Red Hat VEX** · updated 2026-10-07 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-89182.json)","depth":"twilight","depthScore":42,"depthScoreParts":{"impact":29.7,"likelihood":0,"exploitation":12,"ransomware":0},"changes":[{"seq":217497,"id":"CVE-2026-89182","ts":1791376249746,"field":"exploit_available","old":"false","new":"true"},{"seq":217496,"id":"CVE-2026-89182","ts":1791376249746,"field":"cvss","old":"4.3","new":"5.4"},{"seq":217099,"id":"CVE-2026-89182","ts":1791360682594,"field":"cvss","old":null,"new":"4.3"},{"seq":217098,"id":"CVE-2026-89182","ts":1791360682594,"field":"severity","old":"none","new":"medium"}]}