CVE-2026-123002
High 7.5No known exploitationFix status unknownTitle not yet published
Record last updated
CVSS score
7.5
High on a 0 to 10 scale
EPSS, chance of exploitation in 30 days
0.3%
Higher than 25% of scored CVEs. A prediction, not evidence.
CISA remediation deadline
None
Not in the KEV catalog
Description
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 two-factor authentication. After five failed passcodes, further attempts for the account are now refused for 15 minutes.
Weakness: CWE-307
Patching and mitigation
- Patch status
- Unknown: no source documents a fix
- Mitigation
- None documented
- Vendor guidance
- No vendor link on record
Affected products
No affected products documented yet.
Timeline
- No dated events documented yet.
Vendor guidance and references
- https://blog.gitea.com/release-of-28.4.0/ (opens in a new tab)
- https://github.com/go-gitea/gitea/pull/39993 (opens in a new tab)
- https://github.com/go-gitea/gitea/pull/40374 (opens in a new tab)
- https://github.com/go-gitea/gitea/releases/tag/v28.4.0 (opens in a new tab)
- https://github.com/go-gitea/gitea/security/advisories/GHSA-5mx6-8rwm-52wf (opens in a new tab)