Gitea 2FA brute-force due to missing rate limit fixed in 28.4.0 (CVE-2026-123002)
Compiled by RedTeamDaily · AI-assisted summaries · Human review not recorded for this version
Published
What happened
A missing rate limit on Gitea’s two‐factor endpoints (including sign-in, password reset and Basic auth via the X-Gitea-OTP header) let an attacker with a known password brute‐force six‐digit TOTP codes at hundreds of requests per second; the expected mean time to success was about 11 minutes. The issue is CVE-2026-123002 and was remediated in Gitea 28.4.0 by enforcing a lockout after five failed passcodes for 15 minutes.
For IT people · Written by AI from 1 source · Report an error
- Story priority
- High
- Highest CVSS
- 7.5
- Exploitation
- Not established here
- Sources
- 1
Why these vulnerabilities are attached
- CVE-2026-123002 · primary subject
Imported association; relationship review not recorded
Relationship review not recorded.
Affected products and technical context
These linked CVE records are maintained separately from the source summary above. They may supply affected versions or fixes that the original report did not include. Confirm the correct release branch with the vendor.
CVE-2026-123002 · CVSS 7.5
Gitea accepted an unlimited number of wrong TOTP passcodes during sign-in, in the password reset flow and for Basic authentication with the `X-Gitea-OTP` header. An attacker who already knows an account's password could guess the six-digit passcode by trying codes at a high rate and sign in despite
Exploitation: Not established by our CVE data. This does not establish that attacks have not occurred.
Affected products: Not yet available in our structured data. Check affected version ranges.
Fixed releases: Not yet available in our structured data; consult the vendor advisory.
Choose the fix for your release branch. CVE record · NVD record
Sources and editorial review
Priority basis: Automatic priority from linked CVSS scores and CISA KEV status.
No named human review has been recorded for this story. See the source evidence below.
No vendor or government source is linked to this story yet. Read the source reports; attribution is not independent verification.
How severity and exploitation labels work · All source reports · Report an error
What to do
- Update Gitea to 28.4.0.
- Verify that two‐factor lockout is enforced (five failed passcodes then refused for 15 minutes).
- Audit recent session and account activity for signs of unauthorised access if you ran Gitea up to and including 28.3.0.
Written by AI from the sources, checked against them
Source timeline (UTC) · 2 updates
Explore this report
Check my watchlist Requires sign-in · matches your saved products without AI.
Ask AI about this story
Optional follow-up answers generated from our coverage. Check the linked sources before acting.
Ask your own questionWho and what is in it
Products