CVE-2026-123002 (GCVE-0-2026-123002)
Vulnerability from cvelistv5 – Published: 2026-11-15 21:13 – Updated: 2026-11-15 21:13
VLAI
EPSS
VEX
Title
Gitea missing attempt limit for TOTP passcodes
Summary
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.
Severity
No CVSS data available.
CWE
- CWE-307 - Improper Restriction of Excessive Authentication Attempts
Assigner
References
5 references
| URL | Tags |
|---|---|
| https://github.com/go-gitea/gitea/security/adviso… | vendor-advisory |
| https://github.com/go-gitea/gitea/pull/39993 | patch |
| https://github.com/go-gitea/gitea/pull/40374 | patch |
| https://blog.gitea.com/release-of-28.4.0/ | release-notes |
| https://github.com/go-gitea/gitea/releases/tag/v28.4.0 | release-notes |
{
"containers": {
"cna": {
"affected": [
{
"defaultStatus": "unaffected",
"packageName": "gitea.dev",
"product": "Gitea",
"vendor": "Gitea",
"versions": [
{
"lessThan": "28.4.0",
"status": "affected",
"version": "0",
"versionType": "semver"
}
]
}
],
"credits": [
{
"lang": "en",
"type": "reporter",
"value": "https://github.com/SakusenSec"
},
{
"lang": "en",
"type": "reporter",
"value": "https://github.com/Pedromdsn"
},
{
"lang": "en",
"type": "reporter",
"value": "https://github.com/sandiyochristan"
},
{
"lang": "en",
"type": "reporter",
"value": "https://github.com/glenaster"
}
],
"descriptions": [
{
"lang": "en",
"value": "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\u0027s 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."
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-307",
"description": "CWE-307: Improper Restriction of Excessive Authentication Attempts",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-11-15T21:13:56.636Z",
"orgId": "88ee5874-cf24-4952-aea0-31affedb7ff2",
"shortName": "Gitea"
},
"references": [
{
"name": "GitHub Security Advisory GHSA-5mx6-8rwm-52wf",
"tags": [
"vendor-advisory"
],
"url": "https://github.com/go-gitea/gitea/security/advisories/GHSA-5mx6-8rwm-52wf"
},
{
"name": "Fix: go-gitea/gitea pull request #39993",
"tags": [
"patch"
],
"url": "https://github.com/go-gitea/gitea/pull/39993"
},
{
"name": "Fix backport to release/v28: go-gitea/gitea pull request #40374",
"tags": [
"patch"
],
"url": "https://github.com/go-gitea/gitea/pull/40374"
},
{
"name": "Gitea 28.4.0 release announcement",
"tags": [
"release-notes"
],
"url": "https://blog.gitea.com/release-of-28.4.0/"
},
{
"name": "go-gitea/gitea v28.4.0 release",
"tags": [
"release-notes"
],
"url": "https://github.com/go-gitea/gitea/releases/tag/v28.4.0"
}
],
"title": "Gitea missing attempt limit for TOTP passcodes"
}
},
"cveMetadata": {
"assignerOrgId": "88ee5874-cf24-4952-aea0-31affedb7ff2",
"assignerShortName": "Gitea",
"cveId": "CVE-2026-123002",
"datePublished": "2026-11-15T21:13:56.636Z",
"dateReserved": "2026-11-15T20:29:37.631Z",
"dateUpdated": "2026-11-15T21:13:56.636Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"vulnerability-lookup:meta": {
"epss": {
"cve": "CVE-2026-123002",
"date": "2026-11-16",
"epss": "0.00193",
"percentile": "0.08979"
},
"nvd": {
"cve": {
"affected": [
{
"affectedData": [
{
"defaultStatus": "unaffected",
"packageName": "gitea.dev",
"product": "Gitea",
"vendor": "Gitea",
"versions": [
{
"lessThan": "28.4.0",
"status": "affected",
"version": "0",
"versionType": "semver"
}
]
}
],
"source": "88ee5874-cf24-4952-aea0-31affedb7ff2"
}
],
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "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\u0027s 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."
}
],
"id": "CVE-2026-123002",
"lastModified": "2026-11-15T22:17:18.153",
"metrics": {},
"published": "2026-11-15T22:17:18.050",
"references": [
{
"source": "88ee5874-cf24-4952-aea0-31affedb7ff2",
"url": "https://blog.gitea.com/release-of-28.4.0/"
},
{
"source": "88ee5874-cf24-4952-aea0-31affedb7ff2",
"url": "https://github.com/go-gitea/gitea/pull/39993"
},
{
"source": "88ee5874-cf24-4952-aea0-31affedb7ff2",
"url": "https://github.com/go-gitea/gitea/pull/40374"
},
{
"source": "88ee5874-cf24-4952-aea0-31affedb7ff2",
"url": "https://github.com/go-gitea/gitea/releases/tag/v28.4.0"
},
{
"source": "88ee5874-cf24-4952-aea0-31affedb7ff2",
"url": "https://github.com/go-gitea/gitea/security/advisories/GHSA-5mx6-8rwm-52wf"
}
],
"sourceIdentifier": "88ee5874-cf24-4952-aea0-31affedb7ff2",
"vulnStatus": "Deferred",
"weaknesses": [
{
"description": [
{
"lang": "en",
"value": "CWE-307"
}
],
"source": "88ee5874-cf24-4952-aea0-31affedb7ff2",
"type": "Secondary"
}
]
}
}
}
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…
The MITRE ATT&CK techniques below are AI-generated suggestions, inferred from the description of the
vulnerability by the CIRCL/vulnerability-attack-technique-classification-roberta-base
model, served locally by ML-Gateway.
They have not been verified by an analyst and are provided for guidance only.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Loading…
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.
Loading…