CVE-2026-89182

Gitea push-to-create bypass of FORCE_PRIVATE policy

State
Published
Severity
5.4 Medium
Published
Oct 6, 2026
Updated
Oct 7, 2026
Reserved
Oct 4, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.15.4 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:NCISA-ADP

Weaknesses

Affected Products

ProductVersions
GiteaGitea
  • 1.27.0 through 28.0.0Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.