CVE-2026-20779

Source
https://cve.org/CVERecord?id=CVE-2026-20779
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-20779.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-20779
Aliases
  • GHSA-gx3v-q759-g323
Published
2026-07-03T20:19:29.239Z
Modified
2026-07-09T03:52:34.926275489Z
Severity
  • 7.1 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N CVSS Calculator
Summary
Gitea TOTP single-use enforcement defect allows OTP replay
Details

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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/20xxx/CVE-2026-20779.json",
    "cwe_ids": [
        "CWE-294"
    ],
    "cna_assigner": "Gitea"
}
References

Affected packages

Git / github.com/go-gitea/gitea

Affected ranges

Type
GIT
Repo
https://github.com/go-gitea/gitea
Events
Database specific
{
    "source": [
        "AFFECTED_FIELD",
        "DESCRIPTION",
        "REFERENCES"
    ],
    "extracted_events": [
        {
            "introduced": "1.5.0"
        },
        {
            "fixed": "1.26.3"
        }
    ]
}

Affected versions

v1.*
v1.10.0-dev
v1.10.0-rc1
v1.10.5
v1.11.0-dev
v1.11.0-rc1
v1.12.0-dev
v1.13.0-dev
v1.14.0-dev
v1.15.0-dev
v1.15.0-rc1
v1.16.0-dev
v1.16.0-rc1
v1.17.0-dev
v1.18.0-dev
v1.18.0-rc0
v1.19.0-dev
v1.19.0-rc0
v1.20.0-dev
v1.20.0-rc0
v1.21.0-dev
v1.21.0-rc0
v1.22.0-dev
v1.22.0-rc0
v1.22.0-rc1
v1.23.0-dev
v1.24.0-dev
v1.25.0-dev
v1.26.0
v1.26.0-dev
v1.26.0-rc0
v1.26.1
v1.26.2
v1.27.0-dev
v1.5.0-dev
v1.5.0-rc1
v1.6.0-dev
v1.6.0-rc1
v1.7.0-dev
v1.9.0-dev
v1.9.0-rc1

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-20779.json"