CVE-2026-89182: Gitea push-to-create bypass of FORCE_PRIVATE policy

CVE-2026-89182 affects 5 listed versions of Gitea in the Dawnsentry catalogue.

5.4CVSS medium
Proof of concept publicexploitation
under 1%EPSS (next 30 days)
6 October 2026published

Affected products and versions

The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.

Gitea

5 of 124 listed versions are affected. Fixed in 28.1.0. The newest release, 28.4.0, is not affected.

28.0.0 1.27.3 1.27.2 1.27.1 1.27.0

What it is

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.

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N (Gitea)

Published by Gitea on 6 October 2026. Last changed 13 October 2026.

Sources

Check one version you run: look CVE-2026-89182 up, or pick a product and version in the quick lookup.

Updated 2 December 2026.