CVE-2026-89182

medium

Description

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.

References

https://github.com/go-gitea/gitea/security/advisories/GHSA-fx95-gwfc-grgc

https://github.com/go-gitea/gitea/releases/tag/v28.1.0

https://github.com/go-gitea/gitea/pull/39507

https://github.com/go-gitea/gitea/pull/39501

https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-94065

https://blog.gitea.com/release-of-28.1.0/

Details

Source: Mitre, NVD

Published: 2026-10-06

Updated: 2026-10-07

Risk Information

CVSS v2

Base Score: 5.5

Vector: CVSS2#AV:N/AC:L/Au:S/C:P/I:P/A:N

Severity: Medium

CVSS v3

Base Score: 5.4

Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N

Severity: Medium

EPSS

EPSS: 0.00148