{"id":"CVE-2026-33473","aliases":["CVE-2026-33473","GHSA-p747-qc5p-773r","GO-2026-4805"],"related":[],"kind":"vulnerability","state":"published","title":"Vikunja has TOTP Reuse During Validity Window","summary":"Vikunja is an open-source self-hosted task management platform. Starting in version 0.13 and prior to version 2.2.1, any user that has enabled 2FA can have their TOTP reused during the standard 30 second validity window. Version 2.2.1 patches the issue.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Vikunja is an open-source self-hosted task management platform. Starting in version 0.13 and prior to version 2.2.1, any user that has enabled 2FA can have their TOTP reused during the standard 30 second validity window. Version 2.2.1 patches the issue.","source":"cvelist"},{"lang":"en","text":"### Summary\nAny user that has enabled 2FA can have their TOTP reused during the standard 30 second validity window.\n\n### Details\nThe below code is called when a user that has 2FA is authenticating to the application. Once they submit a valid username-password-totp combination, the user gets authenticated. If that same TOTP is used for the same user's account again within the validity window, it will allow the other session to authenticate successfully.\n\n**Source**: <ins>pkg/user/totp.go:128</ins>\n```go\n// ValidateTOTPPasscode validated totp codes of users.\nfunc ValidateTOTPPasscode(s *xorm.Session, passcode *TOTPPasscode) (t *TOTP, err error) {\n\tt, err = GetTOTPForUser(s, passcode.User)\n\tif err != nil {\n\t\treturn\n\t}\n\n\tif !totp.Validate(passcode.Passcode, t.Secret) {\n\t\treturn nil, ErrInvalidTOTPPasscode{Passcode: passcode.Passcode}\n\t}\n\n\treturn\n}\n```\n\nSection 6.5.1 within the [Authentication](https://github.com/OWASP/ASVS/blob/master/5.0/en/0x15-V6-Authentication.md) section of the OWASP ASVS recommends multiple checks, some of which involving TOTPs:\n\n> Verify that lookup secrets, out-of-band authentication requests or codes, and time-based one-time passwords (TOTPs) are only successfully usable once.\n\nThe OWASP WSTG also references this as one of their [checks](https://owasp.org/www-project-web-security-testing-guide/latest/4-Web_Application_Security_Testing/04-Authentication_Testing/11-Testing_Multi-Factor_Authentication) to look for:\n\n> Can the OTPs be used more than once?\n\n### PoC\n\nhttps://github.com/user-attachments/assets/19d3b4c3-c219-4f59-b57d-45c9f6a264c8\n\n### Impact\nAny user who uses 2FA could be impacted if their traffic is able to be captured, they're phished/social engineered, or other methods of attack. This disrupts one layer of the defense-in-depth model surrounding 2FA.\n\n### Similar CVEs\n\n- [CVE-2025-6014](https://nvd.nist.gov/vuln/detail/CVE-2025-6014)\n- [CVE-2025-55003](https://nvd.nist.gov/vuln/detail/CVE-2025-55003)\n\n### Remediation\n\nStore a deny-list of TOTP codes for their validity windows and check submitted codes against it to ensure none are being reused. After their validity window has closed, the 2FA code can be removed from the list.","format":"markdown","source":"ghsa"},{"lang":"en","text":"Vikunja has TOTP Reuse During Validity Window in code.vikunja.io/api.\n\nNOTE: The source advisory for this report contains additional versions that could not be automatically mapped to standard Go module versions.\n\n(If this is causing false-positive reports from vulnerability scanners, please suggest an edit to the report.)\n\nThe additional affected modules and versions are: .","format":"markdown","source":"go"},{"lang":"es","text":"Vikunja es una plataforma de gestión de tareas de código abierto autoalojada. A partir de la versión 0.13 y antes de la versión 2.2.1, cualquier usuario que haya habilitado 2FA puede ver su TOTP reutilizado durante la ventana de validez estándar de 30 segundos. La versión 2.2.1 corrige el problema.","source":"nvd"}],"published":"2026-03-20T20:43:00.000Z","modified":"2026-09-10T03:50:40.065Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N","score":5.7,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N","score":5.7,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N","score":5.7,"rating":"MEDIUM"}],"cwes":["CWE-287"],"affected":[{"ranges":[{"version":">= 0.13, < 2.2.1","status":"affected"}],"vendor":"go-vikunja","product":"vikunja","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0.13","status":"affected"}],"ecosystem":"Go","package":"code.vikunja.io/api","purl":"pkg:golang/code.vikunja.io/api","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"code.vikunja.io/api","purl":"pkg:golang/code.vikunja.io/api","source":"go"},{"ranges":[{"status":"affected","introduced":"0.13","fixed":"2.2.1"}],"vendor":"vikunja","product":"vikunja","cpe":"cpe:2.3:a:vikunja:vikunja:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/go-vikunja/vikunja/security/advisories/GHSA-p747-qc5p-773r","tags":["advisory","exploit","vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://vikunja.io/changelog/vikunja-v2.2.0-was-released","tags":["release-notes","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://vikunja.io/changelog/vikunja-v2.2.2-was-released","tags":["release-notes","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-33473","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/go-vikunja/vikunja","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2026-03-24T17:05:22.501Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-33473","url":"https://www.cve.org/CVERecord?id=CVE-2026-33473","licence":"CVE Terms of Use","modified":"2026-03-24T17:11:26.042Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-p747-qc5p-773r","url":"https://github.com/advisories/GHSA-p747-qc5p-773r","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:40.065Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2026-4805","url":"https://pkg.go.dev/vuln/GO-2026-4805","licence":"CC-BY-4.0","modified":"2026-03-23T18:45:23.542Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-33473","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-33473","licence":"Public domain","modified":"2026-06-17T10:37:33.483Z"}],"updatedAt":"2026-11-25T22:59:16.577Z","epss":{"score":0.00323,"percentile":0.27364,"date":"2026-12-01T12:00:22.000Z"}}