{
  "id": "CVE-2026-25537",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-25537",
  "published_at": "2026-02-04T21:31:53.511Z",
  "title": "jsonwebtoken has Type Confusion that leads to potential authorization bypass",
  "vendor": "Keats",
  "product": "jsonwebtoken",
  "cvss": {
    "score": 7.5,
    "source": "nvd",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "jsonwebtoken is a JWT lib in rust. Prior to version 10.3.0, there is a Type Confusion vulnerability in jsonwebtoken, specifically, in its claim validation logic. When a standard claim (such as nbf or exp) is provided with an incorrect JSON type (Like a String instead of a Number), the library’s internal parsing mechanism marks the claim as “FailedToParse”. Crucially, the validation logic treats this “FailedToParse” state identically to “NotPresent”. This means that if a check is enabled (like: validate_nbf = true), but the claim is not explicitly marked as required in required_spec_claims, the library will skip the validation check entirely for the malformed claim, treating it as if it were not there. This allows attackers to bypass critical time-based security restrictions (like “Not Before” checks) and commit potential authentication and authorization bypasses. This issue has been patched in version 10.3.0.",
  "cwe": "CWE-843",
  "cpes": [
    "cpe:2.3:a:keats:jsonwebtoken:*:*:*:*:*:rust:*:*"
  ],
  "cvss_by_source": {
    "cna": 5.5,
    "nvd": 7.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Keats",
        "product": "jsonwebtoken",
        "ranges": [
          "\u003c 10.3.0"
        ],
        "fixed_in": [
          "10.3.0"
        ]
      }
    ],
    "upgrade": [
      "Upgrade jsonwebtoken to 10.3.0 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/Keats/jsonwebtoken/security/advisories/GHSA-h395-gr6q-cpjc"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/Keats/jsonwebtoken/commit/abbc3076742c4161347bc6b8bf4aa5eb86e1dc01"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
