CVE-2026-89182

MEDIUM CVSS 3.1: 5.4 EPSS 0.17%
Updated Oct 13, 2026
Gitea
Parameter Value
CVSS 5.4 (MEDIUM)
Affected Versions 1.27.0 — 28.1.0
Fixed In 28.1.0
Type CWE-863 (Incorrect Authorization)
Vendor Gitea
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Privileges Required
Low
Basic privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
Low
Partial data leak
Integrity
Low
Partial data modification
Availability
None
No disruption

CVSS Vector v3.1

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Gitea Gitea
cpe:2.3:a:gitea:gitea:*:*:*:*:*:*:*:*
1.27.0 28.1.0