CVE-2025-59036
JSON

5.5medium

Infrahub allows authentication with deleted and expired API tokens

Severity
5.5medium CVSS:3.1 by GitHub_M
Exploit likelihood
0.21% (higher than 12% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-v2p7-4pv4-3wwhPYSEC-2026-1463

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.

Affected

Product or packageVersionsReported by
opsmill infrahub< 1.3.9, >= 1.4.0, < 1.4.5CVE List
infrahub-server (PyPI)before 1.3.9, from 1.4.0 before 1.4.5GitHub Advisory Database, PyPA Advisory Database

All scores

GitHub_M5.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L
GitHub5.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L
PyPA Advisory Database5.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L

Classification

CWE-298

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

GitHub Advisory Database
Impact

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.

Patches

This issue is fixed in versions 1.3.9 and 1.4.5

Workarounds

Users can delete or deactivate the account associated with a deleted API token to prevent that token from authenticating.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-59036 changed 2025-09-10CVE Terms of Use
GitHub Advisory DatabaseGHSA-v2p7-4pv4-3wwh changed 2026-07-07CC-BY-4.0
NVDCVE-2025-59036 changed 2026-06-17Public domain
PyPA Advisory DatabasePYSEC-2026-1463 changed 2026-07-07CC-BY-4.0