CVE-2026-89182

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 repositories could make their new repository public in violation of the instance policy. The default configuration is not affected.
Configurations

Configuration 1 (hide)

cpe:2.3:a:gitea:gitea:*:*:*:*:*:*:*:*

History

13 Oct 2026, 18:03

Type Values Removed Values Added
CPE cpe:2.3:a:gitea:gitea:*:*:*:*:*:*:*:*
First Time Gitea gitea
Gitea
References () https://blog.gitea.com/release-of-28.1.0/ - () https://blog.gitea.com/release-of-28.1.0/ - Release Notes
References () https://github.com/go-gitea/gitea/pull/39501 - () https://github.com/go-gitea/gitea/pull/39501 - Patch, Issue Tracking
References () https://github.com/go-gitea/gitea/pull/39507 - () https://github.com/go-gitea/gitea/pull/39507 - Patch, Issue Tracking
References () https://github.com/go-gitea/gitea/releases/tag/v28.1.0 - () https://github.com/go-gitea/gitea/releases/tag/v28.1.0 - Release Notes
References () https://github.com/go-gitea/gitea/security/advisories/GHSA-fx95-gwfc-grgc - () https://github.com/go-gitea/gitea/security/advisories/GHSA-fx95-gwfc-grgc - Mitigation, Vendor Advisory

07 Oct 2026, 12:17

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 5.4
References () https://github.com/go-gitea/gitea/security/advisories/GHSA-fx95-gwfc-grgc - () https://github.com/go-gitea/gitea/security/advisories/GHSA-fx95-gwfc-grgc -

06 Oct 2026, 22:17

Type Values Removed Values Added
New CVE

Information

Published : 2026-10-06 22:17

Updated : 2026-10-13 18:03


NVD link : CVE-2026-89182

Mitre link : CVE-2026-89182

CVE.ORG link : CVE-2026-89182


JSON object : View

Products Affected

gitea

  • gitea
CWE
CWE-863

Incorrect Authorization