{"id":"CVE-2025-59036","aliases":["CVE-2025-59036","GHSA-v2p7-4pv4-3wwh","PYSEC-2026-1463"],"related":[],"kind":"vulnerability","state":"published","title":"Infrahub allows authentication with deleted and expired API tokens","summary":"Infrahub offers a central hub to manage data, templates, and playbooks. Prior to versiond 1.3.9 and 1.4.5, a bug in the authentication logic will cause API tokens that were deleted and/or expired to be considered valid. This means that any API token that is associated with an active user account can authenticate successfully. This issue is fixed in versions 1.3.9 and 1.4.5. As a workaround, users can delete or deactivate the account associated with a deleted API token to prevent that token from authenticating.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Infrahub offers a central hub to manage data, templates, and playbooks. Prior to versiond 1.3.9 and 1.4.5, a bug in the authentication logic will cause API tokens that were deleted and/or expired to be considered valid. This means that any API token that is associated with an active user account can authenticate successfully. This issue is fixed in versions 1.3.9 and 1.4.5. As a workaround, users can delete or deactivate the account associated with a deleted API token to prevent that token from authenticating.","source":"cvelist"},{"lang":"en","text":"### Impact\nA bug in the authentication logic will cause API tokens that were deleted and/or expired to be considered valid. This means that any API token that is associated with an active user account can authenticate successfully.\n\n### Patches\nThis issue is fixed in versions `1.3.9` and `1.4.5`\n\n### Workarounds\nUsers can delete or deactivate the account associated with a deleted API token to prevent that token from authenticating.","format":"markdown","source":"ghsa"}],"published":"2025-09-09T22:06:47.800Z","modified":"2026-07-07T17:57:02.906Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L","score":5.5,"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:L/I:L/A:L","score":5.5,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L","score":5.5,"rating":"MEDIUM"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-298"],"affected":[{"ranges":[{"version":"< 1.3.9","status":"affected"},{"version":">= 1.4.0, < 1.4.5","status":"affected"}],"vendor":"opsmill","product":"infrahub","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1.3.9"}],"ecosystem":"PyPI","package":"infrahub-server","purl":"pkg:pypi/infrahub-server","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"1.4.0","status":"affected","fixed":"1.4.5"}],"ecosystem":"PyPI","package":"infrahub-server","purl":"pkg:pypi/infrahub-server","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1.3.9"},{"type":"ecosystem","introduced":"1.4.0","status":"affected","fixed":"1.4.5"}],"ecosystem":"PyPI","package":"infrahub-server","purl":"pkg:pypi/infrahub-server","source":"pysec"}],"references":[{"url":"https://github.com/opsmill/infrahub/security/advisories/GHSA-v2p7-4pv4-3wwh","tags":["web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-59036","tags":["advisory"],"sources":["ghsa","pysec"]},{"url":"https://github.com/opsmill/infrahub/commit/215185f217e2f754f7c0a0aa4b77e11079a063a1","tags":["web"],"sources":["ghsa","pysec"]},{"url":"https://github.com/opsmill/infrahub/commit/61b49a4a9e988f10c3a44f0e86ef97f344a1e228","tags":["web"],"sources":["ghsa","pysec"]},{"url":"https://github.com/opsmill/infrahub","tags":["package"],"sources":["ghsa","pysec"]},{"url":"https://github.com/opsmill/infrahub/releases/tag/infrahub-v1.3.9","tags":["web"],"sources":["ghsa","pysec"]},{"url":"https://github.com/opsmill/infrahub/releases/tag/infrahub-v1.4.5","tags":["web"],"sources":["ghsa","pysec"]},{"url":"https://pypi.org/project/infrahub-server","tags":["package"],"sources":["pysec"]},{"url":"https://github.com/advisories/GHSA-v2p7-4pv4-3wwh","tags":["advisory"],"sources":["pysec"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-09-10T19:30:44.490Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-59036","url":"https://www.cve.org/CVERecord?id=CVE-2025-59036","licence":"CVE Terms of Use","modified":"2025-09-10T19:30:55.968Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-v2p7-4pv4-3wwh","url":"https://github.com/advisories/GHSA-v2p7-4pv4-3wwh","licence":"CC-BY-4.0","modified":"2026-07-07T17:57:02.906Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-59036","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-59036","licence":"Public domain","modified":"2026-06-17T09:45:28.683Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-1463","url":"https://osv.dev/vulnerability/PYSEC-2026-1463","licence":"CC-BY-4.0","modified":"2026-07-07T17:47:15.591Z"}],"updatedAt":"2026-11-25T22:59:04.473Z","epss":{"score":0.00212,"percentile":0.1224,"date":"2026-12-01T12:00:22.000Z"}}