CVEvulnerability

CVE-2026-89182

5.4 MEDIUM Published 2026-10-06 Modified 2026-10-13 Official page ↗
Status
Analyzed
Published
2026-10-06
Last modified
2026-10-13
Assigner
88ee5874-cf24-4952-aea0-31affedb7ff2
CVSS 3.1 (134c704f-9b21-4f2e-91b3-4a467353bcc0)
5.4 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
Weaknesses
CWE-863

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.

Affected configurations

• gitea gitea (>= 1.27.0 < 28.1.0)

Related

Weakness · CWE (1)

  • CWE-863 Incorrect Authorization weakness

References