Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

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

Quick assessment

Affected
Gitea Gitea
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

当在 配置项中设置 时,Gitea 会将新创建的仓库默认设为私有仓库。然而,在通过推送(push)操作创建的空仓库上,post-receive 钩子(hook)仍然会应用 的推送选项。这使得任何具备创建仓库权限的用户能够将其新建的仓库设为公开状态,从而违反实例的安全策略。默认配置不受此问题影响。

Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-89182

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Gitea push-to-create bypass of FORCE_PRIVATE policy
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
N/A
Source: CVE Program / CVE List V5
Vulnerability Type
授权机制不正确
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
Gitea Gitea 1.27.0 ~ 28.0.0 -

II. Public POCs for CVE-2026-89182

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-89182

请登录查看更多情报信息。

Other References for CVE-2026-89182 (5)

Same Patch Batch · Gitea · 2026-10-06 · 30 CVEs total

CVE-2026-96399 Gitea denial of service through external issue tracker patterns
CVE-2026-97626 Gitea profile feed disclosure bypassing user visibility
CVE-2026-96594 Gitea repository media API stored XSS
CVE-2026-104633 Gitea migration memory exhaustion from zero page size
CVE-2026-101023 Gitea OAuth2 refresh token grant accepts access tokens
CVE-2026-105267 Gitea tag delete route deletes releases without release permission
CVE-2026-105268 Gitea issue attachment API allows changing comment attachments
CVE-2026-86684 Gitea push mirror local path check uses the repository owner
CVE-2026-97208 Gitea push mirror API bypass of DISABLE_NEW_PUSH policy
CVE-2026-73278 Gitea WebAuthn bypass during OAuth and OIDC sign-in
CVE-2026-79960 Gitea deploy key pushes acting as the repository owner
CVE-2026-70357 Gitea repository migration SSRF through DNS rebinding
CVE-2026-96580 Gitea Actions memory exhaustion through large static matrices
CVE-2026-96589 Gitea private repository access retained after rejected transfer
CVE-2026-96400 Gitea migration SSRF to reserved addresses through ALLOWED_DOMAINS
CVE-2026-94205 Gitea fork workflow approval bypass through maintainer-triggered events
CVE-2026-96404 Gitea installer authentication bypass for existing accounts
CVE-2026-104626 Gitea fork workflow job revival through later approval
CVE-2026-104632 Gitea fork workflow approval bypass through cancel and rerun
CVE-2026-104636 Gitea SSRF through Git HTTP redirects in mirrors and fetches

Showing top 20 of 30 CVEs. View all on vendor page → →

IV. Related Vulnerabilities

V. Comments for CVE-2026-89182

No comments yet


Leave a comment