Advisory

PYSEC-2026-1463

Also known as: CVE-2025-59036, GHSA-v2p7-4pv4-3wwh

Summary

Infrahub: Deleted and expired API tokens can still authenticate

Details

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.

Severity

Medium Basis: CVSS v3 score 5.5, vector CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L

Dates

Published
2026-07-07 16:03 UTC
Modified
2026-07-07 17:47 UTC

Affected packages and fixes

infrahub-server

PyPI · All systems

Affected

  • introduced 0, fixed 1.3.9, introduced 1.4.0, fixed 1.4.5 (ecosystem)

Fixed versions

1.3.9, 1.4.5

Fix

  • Fixed version 1.3.9
    pip install --upgrade infrahub-server==1.3.9
  • Fixed version 1.4.5
    pip install --upgrade infrahub-server==1.4.5

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences