CVE-2025-59036
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedInfrahub 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.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceA bug in Infrahub's authentication logic causes API tokens that were deleted and/or expired to still be considered valid. This allows any API token associated with an active user account to authenticate successfully, bypassing token revocation.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- Low
- User interaction
- Required
- Scope
- Unchanged
- Confidentiality
- Low
- Integrity
- Low
- Availability
- Low
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Identify Infrahub installation and versionLocate the Infrahub installation and check its version by querying the API endpoint /api/version or checking the version file in the Infrahub deploymentAffected if The installed version is any version prior to 1.3.9 or between 1.4.0 and 1.4.4 inclusive
-
Confirm API token authentication is enabledVerify that API token-based authentication is configured and active in the Infrahub deployment by reviewing the authentication settings in the configuration or admin interfaceAffected if API token authentication is enabled and the Infrahub version falls within the affected range
-
Check for presence of API tokensQuery the Infrahub API or admin interface to list all API tokens associated with user accounts, looking for tokens that may have been deleted or expiredAffected if There exist API tokens associated with active user accounts, and the Infrahub version is affected
-
Test token revocation effectivenessDelete or expire an existing API token for a test user, then attempt to authenticate using that token to verify whether revocation is properly enforcedAffected if The deleted or expired token still successfully authenticates after revocation, indicating the vulnerability is present
A user is affected if their Infrahub instance is version 1.3.8 or earlier, or version 1.4.0 through 1.4.4, and they use API token authentication with tokens that may have been deleted or expired.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scopedUpgrade Infrahub to version 1.3.9 or 1.4.5 to patch the authentication bug. As a temporary workaround, delete or deactivate user accounts associated with deleted API tokens.
Upgrade to Infrahub version 1.3.9 or 1.4.5
- 1. Back up your current Infrahub database and configuration
- 2. Identify your current Infrahub version using your deployment method (Docker, pip, etc.)
- 3. If running a version prior to 1.3.x: plan upgrade path to reach 1.3.9 first, then consider 1.4.5
- 4. If running version 1.3.x - 1.3.8: upgrade to version 1.3.9
- 5. If running version 1.4.x - 1.4.4: upgrade to version 1.4.5
- 6. For Docker deployments: update your image tag (e.g., docker pull registry.opsmill.io/infrahub/server:v1.3.9 or v1.4.5)
- 7. For pip installations: run 'pip install infrahub==1.3.9' or 'infrahub==1.4.5'
- 8. Restart the Infrahub services
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation2.0 h
- Implementation4.0 h
- Testing2.0 h
- Review / QA1.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $2,560.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2025-59036 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2025-59036 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data