Skip to content
Heist/ feed
UnratedFix available

pyjwt vulnerabilities

Type: advisorySource: OSV1 source record

It was discovered that PyJWT incorrectly handled certain URIs when using PyJWKClient. A remote attacker could possibly use this issue to perform server-side request forgery (SSRF) or expose sensitive local files. This issue only affected Ubuntu 22.04 LTS, Ubuntu 24.04 LTS and Ubuntu 26.04 LTS. (CVE-2026-48522) It was discovered that PyJWT incorrectly verified cryptographic signatures when decoding tokens with PyJWK keys. A remote attacker could possibly use this issue to bypass signature verification and forge valid JSON Web Tokens. This issue only affected Ubuntu 26.04 LTS. (CVE-2026-48523) It was discovered that PyJWT incorrectly handled unknown key identifiers in PyJWKClient. A remote attacker could possibly use this issue to cause PyJWT to make excessive network requests, resulting in a denial of service. This issue only affected Ubuntu 24.04 LTS and Ubuntu 26.04 LTS. (CVE-2026-48524) It was discovered that PyJWT incorrectly handled payload decoding during detached JWS token verification. A remote attacker could possibly use this issue to cause PyJWT to consume excessive resources, resulting in a denial of service. This issue only affected Ubuntu 24.04 LTS and Ubuntu 26.04 LTS. (CVE-2026-48525) It was discovered that PyJWT incorrectly validated JSON Web Keys when decoding tokens with both HMAC and asymmetric algorithms enabled. A remote attacker could possibly use this issue to forge valid tokens, resulting in an authentication bypass. (CVE-2026-48526)

Announced Group revision 1
Original source ↗

USN-8823-1

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: osv:USN-8823-1

pyjwt

Source reference: /affected/0/package/name

Affected versions
1.0.0-0ubuntu1

Source reference: /affected/0/versions

1.3.0-1

Source reference: /affected/0/versions

1.3.0-1ubuntu0.1

Source reference: /affected/0/versions

1.3.0-1ubuntu0.1+esm1

Source reference: /affected/0/versions

Fixed versions
1.3.0-1ubuntu0.1+esm2

Source reference: /affected/0/ranges

Prerequisites
Not stated in this record

pyjwt

Source reference: /affected/1/package/name

Affected versions
1.4.2-1.1

Source reference: /affected/1/versions

1.5.3+ds1-1

Source reference: /affected/1/versions

1.5.3+ds1-1ubuntu0.1

Source reference: /affected/1/versions

1.5.3+ds1-1ubuntu0.1+esm1

Source reference: /affected/1/versions

Fixed versions
1.5.3+ds1-1ubuntu0.1+esm2

Source reference: /affected/1/ranges

Prerequisites
Not stated in this record

pyjwt

Source reference: /affected/2/package/name

Affected versions
1.7.0-2

Source reference: /affected/2/versions

1.7.1-1

Source reference: /affected/2/versions

1.7.1-2ubuntu1

Source reference: /affected/2/versions

1.7.1-2ubuntu2

Source reference: /affected/2/versions

1.7.1-2ubuntu2.1

Source reference: /affected/2/versions

1.7.1-2ubuntu2.1+esm1

Source reference: /affected/2/versions

Fixed versions
1.7.1-2ubuntu2.1+esm2

Source reference: /affected/2/ranges

Prerequisites
Not stated in this record

pyjwt

Source reference: /affected/3/package/name

Affected versions
1.7.1-2ubuntu2

Source reference: /affected/3/versions

2.1.0-1

Source reference: /affected/3/versions

2.3.0-1

Source reference: /affected/3/versions

2.3.0-1ubuntu0.1

Source reference: /affected/3/versions

2.3.0-1ubuntu0.2

Source reference: /affected/3/versions

2.3.0-1ubuntu0.3

Source reference: /affected/3/versions

Fixed versions
2.3.0-1ubuntu0.4

Source reference: /affected/3/ranges

Prerequisites
Not stated in this record

pyjwt

Source reference: /affected/4/package/name

Affected versions
2.7.0-1

Source reference: /affected/4/versions

2.7.0-1ubuntu0.1

Source reference: /affected/4/versions

Fixed versions
2.7.0-1ubuntu0.2

Source reference: /affected/4/ranges

Prerequisites
Not stated in this record

pyjwt

Source reference: /affected/5/package/name

Affected versions
2.10.1-2

Source reference: /affected/5/versions

2.10.1-3

Source reference: /affected/5/versions

2.10.1-3build1

Source reference: /affected/5/versions

2.10.1-4

Source reference: /affected/5/versions

2.10.1-4ubuntu1

Source reference: /affected/5/versions

Fixed versions
2.10.1-4ubuntu1.1

Source reference: /affected/5/ranges

Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "0"
          },
          {
            "fixed": "1.3.0-1ubuntu0.1+esm2"
          }
        ]
      }
    ],
    "package": {
      "name": "pyjwt",
      "purl": "pkg:deb/ubuntu/pyjwt?arch=source&distro=esm-infra-legacy%2Fxenial",
      "ecosystem": "Ubuntu:Pro:16.04:LTS"
    },
    "versions": [
      "1.0.0-0ubuntu1",
      "1.3.0-1",
      "1.3.0-1ubuntu0.1",
      "1.3.0-1ubuntu0.1+esm1"
    ],
    "database_specific": {
      "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-8823-1.json",
      "cves_map": {
        "cves": [
          {
            "id": "CVE-2026-48526",
            "severity": [
              {
                "type": "CVSS_V3",
                "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N"
              },
              {
                "type": "CVSS_V3",
                "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N"
              },
              {
                "type": "Ubuntu",
                "score": "medium"
              }
            ]
          }
        ],
        "ecosystem": "Ubuntu:Pro:16.04:LTS"
      }
    },
    "ecosystem_specific": {
      "binaries": [
        {
          "binary_name": "python-jwt",
          "binary_version": "1.3.0-1ubuntu0.1+esm2"
        },
        {
          "binary_name": "python3-jwt",
          "binary_version": "1.3.0-1ubuntu0.1+esm2"
        }
      ],
      "availability": "Available with Ubuntu Pro with Legacy support add-on: https://ubuntu.com/pro"
    }
  },
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "0"
          },
          {
            "fixed": "1.5.3+ds1-1ubuntu0.1+esm2"
          }
        ]
      }
    ],
    "package": {
      "name": "pyjwt",
      "purl": "pkg:deb/ubuntu/pyjwt?arch=source&distro=esm-infra%2Fbionic",
      "ecosystem": "Ubuntu:Pro:18.04:LTS"
    },
    "versions": [
      "1.4.2-1.1",
      "1.5.3+ds1-1",
      "1.5.3+ds1-1ubuntu0.1",
      "1.5.3+ds1-1ubuntu0.1+esm1"
    ],
    "database_specific": {
      "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-8823-1.json",
      "cves_map": {
        "cves": [
          {
            "id": "CVE-2026-48526",
            "severity": [
              {
                "type": "CVSS_V3",
                "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N"
              },
              {
                "type": "CVSS_V3",
                "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N"
              },
              {
                "type": "Ubuntu",
                "score": "medium"
              }
            ]
          }
        ],
        "ecosystem": "Ubuntu:Pro:18.04:LTS"
      }
    },
    "ecosystem_specific": {
      "binaries": [
        {
          "binary_name": "python-jwt",
          "binary_version": "1.5.3+ds1-1ubuntu0.1+esm2"
        },
        {
          "binary_name": "python3-jwt",
          "binary_version": "1.5.3+ds1-1ubuntu0.1+esm2"
        }
      ],
      "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro"
    }
  },
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "0"
          },
          {
            "fixed": "1.7.1-2ubuntu2.1+esm2"
          }
        ]
      }
    ],
    "package": {
      "name": "pyjwt",
      "purl": "pkg:deb/ubuntu/pyjwt?arch=source&distro=esm-infra%2Ffocal",
      "ecosystem": "Ubuntu:Pro:20.04:LTS"
    },
    "versions": [
      "1.7.0-2",
      "1.7.1-1",
      "1.7.1-2ubuntu1",
      "1.7.1-2ubuntu2",
      "1.7.1-2ubuntu2.1",
      "1.7.1-2ubuntu2.1+esm1"
    ],
    "database_specific": {
      "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-8823-1.json",
      "cves_map": {
        "cves": [
          {
            "id": "CVE-2026-48526",
            "severity": [
              {
                "type": "CVSS_V3",
                "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N"
              },
              {
                "type": "CVSS_V3",
                "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N"
              },
              {
                "type": "Ubuntu",
                "score": "medium"
              }
            ]
          }
        ],
        "ecosystem": "Ubuntu:Pro:20.04:LTS"
      }
    },
    "ecosystem_specific": {
      "binaries": [
        {
          "binary_name": "python3-jwt",
          "binary_version": "1.7.1-2ubuntu2.1+esm2"
        }
      ],
      "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro"
    }
  },
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "0"
          },
          {
            "fixed": "2.3.0-1ubuntu0.4"
          }
        ]
      }
    ],
    "package": {
      "name": "pyjwt",
      "purl": "pkg:deb/ubuntu/pyjwt?arch=source&distro=jammy",
      "ecosystem": "Ubuntu:22.04:LTS"
    },
    "versions": [
      "1.7.1-2ubuntu2",
      "2.1.0-1",
      "2.3.0-1",
      "2.3.0-1ubuntu0.1",
      "2.3.0-1ubuntu0.2",
      "2.3.0-1ubuntu0.3"
    ],
    "database_specific": {
      "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-8823-1.json",
      "cves_map": {
        "cves": [
          {
            "id": "CVE-2026-48522",
            "severity": [
              {
                "type": "CVSS_V3",
                "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N"
              },
              {
                "type": "Ubuntu",
                "score": "medium"
              }
            ]
          },
          {
            "id": "CVE-2026-48526",
            "severity": [
              {
                "type": "CVSS_V3",
                "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N"
              },
              {
                "type": "CVSS_V3",
                "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N"
              },
              {
                "type": "Ubuntu",
                "score": "medium"
              }
            ]
          }
        ],
        "ecosystem": "Ubuntu:22.04:LTS"
      }
    },
    "ecosystem_specific": {
      "binaries": [
        {
          "binary_name": "python3-jwt",
          "binary_version": "2.3.0-1ubuntu0.4"
        }
      ],
      "availability": "No subscription required"
    }
  },
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "0"
          },
          {
            "fixed": "2.7.0-1ubuntu0.2"
          }
        ]
      }
    ],
    "package": {
      "name": "pyjwt",
      "purl": "pkg:deb/ubuntu/pyjwt?arch=source&distro=noble",
      "ecosystem": "Ubuntu:24.04:LTS"
    },
    "versions": [
      "2.7.0-1",
      "2.7.0-1ubuntu0.1"
    ],
    "database_specific": {
      "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-8823-1.json",
      "cves_map": {
        "cves": [
          {
            "id": "CVE-2026-48522",
            "severity": [
              {
                "type": "CVSS_V3",
                "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N"
              },
              {
                "type": "Ubuntu",
                "score": "medium"
              }
            ]
          },
          {
            "id": "CVE-2026-48524",
            "severity": [
              {
                "type": "CVSS_V3",
                "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L"
              },
              {
                "type": "Ubuntu",
                "score": "medium"
              }
            ]
          },
          {
            "id": "CVE-2026-48525",
            "severity": [
              {
                "type": "CVSS_V3",
                "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"
              },
              {
                "type": "Ubuntu",
                "score": "medium"
              }
            ]
          },
          {
            "id": "CVE-2026-48526",
            "severity": [
              {
                "type": "CVSS_V3",
                "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N"
              },
              {
                "type": "CVSS_V3",
                "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N"
              },
              {
                "type": "Ubuntu",
                "score": "medium"
              }
            ]
          }
        ],
        "ecosystem": "Ubuntu:24.04:LTS"
      }
    },
    "ecosystem_specific": {
      "binaries": [
        {
          "binary_name": "python3-jwt",
          "binary_version": "2.7.0-1ubuntu0.2"
        }
      ],
      "availability": "No subscription required"
    }
  },
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "0"
          },
          {
            "fixed": "2.10.1-4ubuntu1.1"
          }
        ]
      }
    ],
    "package": {
      "name": "pyjwt",
      "purl": "pkg:deb/ubuntu/pyjwt?arch=source&distro=resolute",
      "ecosystem": "Ubuntu:26.04:LTS"
    },
    "versions": [
      "2.10.1-2",
      "2.10.1-3",
      "2.10.1-3build1",
      "2.10.1-4",
      "2.10.1-4ubuntu1"
    ],
    "database_specific": {
      "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-8823-1.json",
      "cves_map": {
        "cves": [
          {
            "id": "CVE-2026-48522",
            "severity": [
              {
                "type": "CVSS_V3",
                "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N"
              },
              {
                "type": "Ubuntu",
                "score": "medium"
              }
            ]
          },
          {
            "id": "CVE-2026-48523",
            "severity": [
              {
                "type": "CVSS_V3",
                "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N"
              },
              {
                "type": "Ubuntu",
                "score": "medium"
              }
            ]
          },
          {
            "id": "CVE-2026-48524",
            "severity": [
              {
                "type": "CVSS_V3",
                "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L"
              },
              {
                "type": "Ubuntu",
                "score": "medium"
              }
            ]
          },
          {
            "id": "CVE-2026-48525",
            "severity": [
              {
                "type": "CVSS_V3",
                "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"
              },
              {
                "type": "Ubuntu",
                "score": "medium"
              }
            ]
          },
          {
            "id": "CVE-2026-48526",
            "severity": [
              {
                "type": "CVSS_V3",
                "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N"
              },
              {
                "type": "CVSS_V3",
                "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N"
              },
              {
                "type": "Ubuntu",
                "score": "medium"
              }
            ]
          }
        ],
        "ecosystem": "Ubuntu:26.04:LTS"
      }
    },
    "ecosystem_specific": {
      "binaries": [
        {
          "binary_name": "python3-jwt",
          "binary_version": "2.10.1-4ubuntu1.1"
        }
      ],
      "availability": "No subscription required"
    }
  }
]

Publisher severity

No explicit severity was provided.

Event
#22403 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement