Advisory

GHSA-v2p7-4pv4-3wwh

Also known as: CVE-2025-59036, PYSEC-2026-1463

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: The source's own band: MODERATE

Dates

Published
2025-09-10 20:47 UTC
Modified
2026-07-07 17:57 UTC

Affected packages and fixes

infrahub-server

PyPI · All systems

Affected

  • introduced 0, fixed 1.3.9 (ecosystem)

Fixed versions

1.3.9

Fix

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

infrahub-server

PyPI · All systems

Affected

  • introduced 1.4.0, fixed 1.4.5 (ecosystem)

Fixed versions

1.4.5

Fix

  • 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: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences