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

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2026-20904 — AI Deep Analysis Summary

Q1What is this vulnerability? (Essence + Consequences)

🚨 **Root Cause**: When Gitea switches the visibility of OpenID URIs, it **fails to properly verify ownership**. 💥 **Impact**: Authenticated users can **tamper with the OpenID visibility settings** of other users.

Q2Root Cause? (CWE/Flaw)

🔍 **Vulnerability Point**: Missing logical validation. 📉 **CWE Tendency**: Broken Access Control (Lack of ownership check). ⚠️ **Core Issue**: The system allows users to modify the visibility status of OpenID URIs that t…

Q3Who is affected? (Versions/Components)

📦 **Component**: Gitea (a lightweight Git service developed in Go). 📅 **Affected Versions**: All versions prior to v1.25.4. ✅ **Fixed Version**: v1.25.4.

Q4What can hackers do? (Privileges/Data)

🕵️ **Attacker Capabilities**: 1. **Privacy Leakage**: Forcefully change other users' OpenID visibility (e.g., from private to public). 2.…

Q5Is exploitation threshold high? (Auth/Config)

🔑 **Difficulty**: **Low**. ✅ **Prerequisite**: Only requires a standard **authenticated** user account. ⛔ **Not Required**: Administrator privileges or remote code execution vulnerabilities.

Q6Is there a public Exp? (PoC/Wild Exploitation)

📜 **Exp/PoC**: 🚫 **No Public PoC**: The `pocs` field is empty in the data. 🌍 **In-the-Wild Exploitation**: No reports available. 🔗 **Fixing PRs**: #36361 and #36346 have been merged.

Q7How to self-check? (Features/Scanning)

🔎 **Self-Check Method**: 1. **Check Version**: Confirm if the Gitea version is < v1.25.4. 2. **Review Logs**: Check for any operations modifying OpenID URI visibility where the user is not the owner. 3.…

Q8Is it fixed officially? (Patch/Mitigation)

🛡️ **Officially Fixed**: ✅ **Patch**: **Gitea v1.25.4** has been released. 📝 **Details**: See GitHub Security Advisory (GHSA-jrpc-w85r-hgqx) and the official blog.

Q9What if no patch? (Workaround)

🚧 **Temporary Mitigation**: 1. **Upgrade**: Immediately upgrade to v1.25.4 or later. 2. **Restrict Permissions**: Limit the ability of regular users to modify OpenID settings (if supported by the UI). 3.…

Q10Is it urgent? (Priority Suggestion)

⚡ **Priority**: **Medium-High**. 📌 **Reason**: Involves **privacy leakage** and **unauthorized operations**, with a low exploitation threshold (requires only login).…