ADVISORIES

PyPA Advisory Database

PYSEC-2026-1463

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.

Affected packages

EcosystemPackageAffected versions
PyPIinfrahub-server
All versions before 1.3.9 (fixed in 1.3.9)
From 1.4.0 before 1.4.5 (fixed in 1.4.5)

References