Back to CVE records
Medium 5.4Published Oct 6, 2026

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

Updated under an hour ago ()

Does this affect you?

It affects Gitea. Add what you run to find out whether that includes you.

No exploitation reported and no EPSS estimate yet.

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
5.4 MEDIUM (v3.1, CISA ADP)CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
Weakness (CWE)
CWE-863
Known exploited
Not in CISA's KEV catalog
EPSS (exploitation in the next 30 days)
Not loaded for this CVE
Assigned by
Gitea
NVD analysis
Analyzed
Record last updated
Oct 7, 2026
First seen by InfoSec Signals
Oct 9, 2026

Affected products

Affected products
Gitea Gitea
gitea:gitea (from the name)
from 1.27.0 through 28.0.0
CNA record
gitea gitea
gitea:gitea
from 1.27.0 before 28.1.0
NVD

References

  • vendor-advisory, mitigation
  • patch, issue-tracking
  • patch, issue-tracking
  • release-notes
  • release-notes

The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.

Your cookie choices
We use essential cookies to run this site, and, only with your consent, an advertising cookie from Google to measure whether our ads lead to sign-ups and subscriptions. See our for details.