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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-104627— Gitea OpenID account linking without session binding

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 安全设置中的 OpenID 关联回调在接收 OpenID 2.0 断言时,未验证当前已登录用户是否主动发起了该关联操作。由于 OpenID 2.0 允许非请求(unsolicited)的断言,攻击者可控制的 OpenID 提供者能够将攻击者身份绑定到已登录受害者(点击了恶意构造链接)的账户上。随后,攻击者可通过 OpenID 登录冒充该受害者,而该登录流程不会执行本地 TOTP 或 WebAuthn 验证。修复后,该回调现要求携带与用户绑定的、有时效限制的 值。

AI Predicted 8.8 Difficulty: Easy

Affected Version Matrix 1

VendorProduct Version RangeStatus
Gitea Gitea ≤ 28.1.0 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-104627

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 OpenID account linking without session binding
Source: CVE Program / CVE List V5
Vulnerability Description
The Gitea OpenID association callback in the security settings accepted a positive OpenID 2.0 assertion without checking that the signed-in user had started the linking. Because OpenID 2.0 allows unsolicited assertions, an attacker-controlled OpenID provider could attach the attacker's identity to the account of a signed-in victim who opened a crafted link, and the attacker could then sign in as the victim through OpenID login, which does not apply the local TOTP or WebAuthn checks. The callback now requires a time-limited `state` value bound to the user.
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 0 ~ 28.1.0 -

II. Public POCs for CVE-2026-104627

# 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-104627

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

Patches & Fixes for CVE-2026-104627 (2)

Other References for CVE-2026-104627 (1)

Same Patch Batch · Gitea · 2026-10-18 · 12 CVEs total

CVE-2026-109553 Gitea SSH certificate principal impersonation of other users
CVE-2026-105661 Gitea panic on the repositories route of individual users
CVE-2026-105964 Gitea Actions artifact v4 API unbounded request body
CVE-2026-109844 Gitea watched repositories API disclosure after access revocation
CVE-2026-107618 Gitea cross-site request forgery on repository topics
CVE-2026-107686 Gitea reactions accepted on locked issues and comments
CVE-2026-110494 Gitea release attachment re-linking of issue attachments
CVE-2026-110324 Gitea private profile information disclosure through POST request
CVE-2026-110311 Gitea draft release creation disclosing attachment metadata
CVE-2026-97204 Gitea label deletion across repository and organization IDs
CVE-2026-97859 Gitea API disclosure of private user social graph, keys and stars

IV. Related Vulnerabilities

V. Comments for CVE-2026-104627

No comments yet


Leave a comment