CWE-298Weakness · CWE-298

CVE-2025-59036

MEDIUM · 5.5 CVSS v3.1 Published 2025-09-09
Mitigation only
No fix yet — a mitigation exists. There is no fixed release. A documented workaround reduces exposure in the meantime.
See remediation →
59/100
Remediation priority · Elevated
Remotely reachable

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 · unedited
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.

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 confidence

A 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.

MitigationUpgrade 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.

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 checks

Work through these to decide whether this CVE applies to you.

  1. Identify Infrahub installation and version
    Locate the Infrahub installation and check its version by querying the API endpoint /api/version or checking the version file in the Infrahub deployment
    Affected if The installed version is any version prior to 1.3.9 or between 1.4.0 and 1.4.4 inclusive
  2. Confirm API token authentication is enabled
    Verify that API token-based authentication is configured and active in the Infrahub deployment by reviewing the authentication settings in the configuration or admin interface
    Affected if API token authentication is enabled and the Infrahub version falls within the affected range
  3. Check for presence of API tokens
    Query the Infrahub API or admin interface to list all API tokens associated with user accounts, looking for tokens that may have been deleted or expired
    Affected if There exist API tokens associated with active user accounts, and the Infrahub version is affected
  4. Test token revocation effectiveness
    Delete or expire an existing API token for a test user, then attempt to authenticate using that token to verify whether revocation is properly enforced
    Affected 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.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

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 · scoped
Mitigation available No clean upgrade yet — mitigate in the meantime
Mitigation

Upgrade 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.

Recommended fix Moderate confidence

Upgrade to Infrahub version 1.3.9 or 1.4.5

  1. 1. Back up your current Infrahub database and configuration
  2. 2. Identify your current Infrahub version using your deployment method (Docker, pip, etc.)
  3. 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. 4. If running version 1.3.x - 1.3.8: upgrade to version 1.3.9
  5. 5. If running version 1.4.x - 1.4.4: upgrade to version 1.4.5
  6. 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. 7. For pip installations: run 'pip install infrahub==1.3.9' or 'infrahub==1.4.5'
  8. 8. Restart the Infrahub services
Caveat Review release notes for your target version to check for any breaking changes between your current version and the target

Generated from the published advisory — verify against the referenced sources before acting.

Have this fixed Scoped from the published advisory
  • Consultation2.0 h
  • Implementation4.0 h
  • Testing2.0 h
  • Review / QA1.0 h
9.0 hours of engineering $1,600
Get help mitigating

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 locally
dbcve dependency scanner

Check 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 sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2025-59036 in production — separate from our analysis above.

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.

What this is

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.

What belongs here
  • 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