# CVE-2025-59036: Infrahub allows authentication with deleted and expired API tokens

- Severity: Medium 5.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 12% of CVEs (2026-12-01)
- Published: 2025-09-09T22:06:47.800Z
- Modified: 2026-07-07T17:57:02.906Z
- Also known as: GHSA-v2p7-4pv4-3wwh, PYSEC-2026-1463
- Weaknesses: CWE-298
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- opsmill infrahub: < 1.3.9; >= 1.4.0, < 1.4.5
- infrahub-server (PyPI): before 1.3.9; from 1.4.0 before 1.4.5

## Every score

- GitHub_M: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L`
- GitHub: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L`
- PyPA Advisory Database: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L`

## References

- <https://github.com/opsmill/infrahub/security/advisories/GHSA-v2p7-4pv4-3wwh> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-59036> (advisory)
- <https://github.com/opsmill/infrahub/commit/215185f217e2f754f7c0a0aa4b77e11079a063a1> (web)
- <https://github.com/opsmill/infrahub/commit/61b49a4a9e988f10c3a44f0e86ef97f344a1e228> (web)
- <https://github.com/opsmill/infrahub> (package)
- <https://github.com/opsmill/infrahub/releases/tag/infrahub-v1.3.9> (web)
- <https://github.com/opsmill/infrahub/releases/tag/infrahub-v1.4.5> (web)
- <https://pypi.org/project/infrahub-server> (package)
- <https://github.com/advisories/GHSA-v2p7-4pv4-3wwh> (advisory)

## Sources

- CVE List: [CVE-2025-59036](https://www.cve.org/CVERecord?id=CVE-2025-59036), CVE Terms of Use, modified 2025-09-10
- GitHub Advisory Database: [GHSA-v2p7-4pv4-3wwh](https://github.com/advisories/GHSA-v2p7-4pv4-3wwh), CC-BY-4.0, modified 2026-07-07
- NVD: [CVE-2025-59036](https://nvd.nist.gov/vuln/detail/CVE-2025-59036), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-1463](https://osv.dev/vulnerability/PYSEC-2026-1463), CC-BY-4.0, modified 2026-07-07

---

Page: https://cve.day/CVE-2025-59036 · Whole record: https://cve.day/CVE-2025-59036.json · Rebuilt by cve.day 2026-11-25T22:59:04.473Z
