CVE-2026-20779
Full vulnerability record from the local CVENow database.
Description
Gitea versions from 1.5.0 before 1.26.3 have a TOTP single-use enforcement defect that allows a valid TOTP code to be accepted more than once across web two-factor authentication flows and the Basic Auth X-Gitea-OTP path.
Severity
HIGH
CVSS score
7.1
(v3.1)
Vulnerability status
Deferred
Source identifier
88ee5874-cf24-4952-aea0-31affedb7ff2
Published
2026-07-03 21:16:56.543000
Last modified
2026-10-25 15:10:00.147000
View original CVE JSON
{
"id": "CVE-2026-20779",
"sourceIdentifier": "88ee5874-cf24-4952-aea0-31affedb7ff2",
"published": "2026-07-03T21:16:56.543",
"lastModified": "2026-10-25T15:10:00.147",
"vulnStatus": "Deferred",
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "Gitea versions from 1.5.0 before 1.26.3 have a TOTP single-use enforcement defect that allows a valid TOTP code to be accepted more than once across web two-factor authentication flows and the Basic Auth X-Gitea-OTP path."
},
{
"lang": "es",
"value": "Las versiones de Gitea desde la 1.5.0 anteriores a la 1.26.3 tienen un defecto de aplicación de uso único de TOTP que permite que un código TOTP válido sea aceptado más de una vez a través de los flujos de autenticación de dos factores web y la ruta X-Gitea-OTP de autenticación básica."
}
],
"affected": [
{
"source": "88ee5874-cf24-4952-aea0-31affedb7ff2",
"affectedData": [
{
"vendor": "Gitea",
"product": "Gitea Open Source Git Server",
"defaultStatus": "unaffected",
"versions": [
{
"version": "1.5.0",
"lessThan": "1.26.3",
"versionType": "semver",
"status": "affected"
}
]
}
]
}
],
"metrics": {
"cvssMetricV31": [
{
"source": "88ee5874-cf24-4952-aea0-31affedb7ff2",
"type": "Secondary",
"cvssData": {
"version": "3.1",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N",
"baseScore": 7.1,
"baseSeverity": "HIGH",
"attackVector": "NETWORK",
"attackComplexity": "LOW",
"privilegesRequired": "NONE",
"userInteraction": "REQUIRED",
"scope": "UNCHANGED",
"confidentialityImpact": "HIGH",
"integrityImpact": "LOW",
"availabilityImpact": "NONE"
},
"exploitabilityScore": 2.8,
"impactScore": 4.2
}
],
"ssvcV203": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"ssvcData": {
"timestamp": "2026-07-06T19:02:05.918693Z",
"id": "CVE-2026-20779",
"options": [
{
"exploitation": "poc"
},
{
"automatable": "no"
},
{
"technicalImpact": "partial"
}
],
"role": "CISA Coordinator",
"version": "2.0.3"
}
}
]
},
"weaknesses": [
{
"source": "88ee5874-cf24-4952-aea0-31affedb7ff2",
"type": "Secondary",
"description": [
{
"lang": "en",
"value": "CWE-294"
}
]
}
],
"references": [
{
"url": "https://blog.gitea.com/release-of-1.26.3-and-1.26.4/",
"source": "88ee5874-cf24-4952-aea0-31affedb7ff2"
},
{
"url": "https://github.com/go-gitea/gitea/pull/38151",
"source": "88ee5874-cf24-4952-aea0-31affedb7ff2"
},
{
"url": "https://github.com/go-gitea/gitea/releases/tag/v1.26.3",
"source": "88ee5874-cf24-4952-aea0-31affedb7ff2"
},
{
"url": "https://github.com/go-gitea/gitea/security/advisories/GHSA-gx3v-q759-g323",
"source": "88ee5874-cf24-4952-aea0-31affedb7ff2"
},
{
"url": "https://github.com/go-gitea/gitea/security/advisories/GHSA-gx3v-q759-g323",
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0"
}
]
}