ghsa-v2p7-4pv4-3wwh
Vulnerability from github
Published
2025-09-10 20:47
Modified
2025-09-10 20:47
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.

Show details on source website


{
  "affected": [
    {
      "package": {
        "ecosystem": "PyPI",
        "name": "infrahub-server"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.3.9"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "PyPI",
        "name": "infrahub-server"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "1.4.0"
            },
            {
              "fixed": "1.4.5"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "aliases": [
    "CVE-2025-59036"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-298"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2025-09-10T20:47:07Z",
    "nvd_published_at": "2025-09-09T22:15:34Z",
    "severity": "MODERATE"
  },
  "details": "### Impact\nA 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.\n\n### Patches\nThis issue is fixed in versions `1.3.9` and `1.4.5`\n\n### Workarounds\nUsers can delete or deactivate the account associated with a deleted API token to prevent that token from authenticating.",
  "id": "GHSA-v2p7-4pv4-3wwh",
  "modified": "2025-09-10T20:47:07Z",
  "published": "2025-09-10T20:47:07Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/opsmill/infrahub/security/advisories/GHSA-v2p7-4pv4-3wwh"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-59036"
    },
    {
      "type": "WEB",
      "url": "https://github.com/opsmill/infrahub/commit/215185f217e2f754f7c0a0aa4b77e11079a063a1"
    },
    {
      "type": "WEB",
      "url": "https://github.com/opsmill/infrahub/commit/61b49a4a9e988f10c3a44f0e86ef97f344a1e228"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/opsmill/infrahub"
    },
    {
      "type": "WEB",
      "url": "https://github.com/opsmill/infrahub/releases/tag/infrahub-v1.3.9"
    },
    {
      "type": "WEB",
      "url": "https://github.com/opsmill/infrahub/releases/tag/infrahub-v1.4.5"
    }
  ],
  "schema_version": "1.4.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Infrahub: Deleted and expired API tokens can still authenticate"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…