Ubuntu 26.10 : pyjwt vulnerabilities (USN-8916-2)

critical Nessus Plugin ID 390486

Synopsis

The remote Ubuntu host is missing one or more security updates.

Description

The remote Ubuntu 26.10 host has a package installed that is affected by multiple vulnerabilities as referenced in the USN-8916-2 advisory.

USN-8916-1 fixed vulnerabilities in PyJWT. This update provides the corresponding fix for PyJWT on Ubuntu 26.10.

YuSung Han discovered that PyJWT did not properly validate certain JWK keys when performing HMAC verification. An attacker could possibly use this issue to forge authentication tokens. (CVE-2026-102266)

Rohan Das discovered that PyJWT incorrectly handled redirects when fetching key sets. A remote attacker could possibly use this issue to

cause PyJWT to disclose sensitive information. (CVE-2026-102267)

It was discovered that PyJWT incorrectly recognized certain PEM representations. An attacker who knew the public key could possibly use this issue to forge authentication tokens. (CVE-2026-102268)

Nuno Lopes discovered that PyJWT incorrectly handled DER public keys when performing HMAC verification. An attacker who knew the public key could possibly use this issue to forge authentication tokens. (CVE-2026-102271)

It was discovered that PyJWT did not properly handle certain JWK keys prefixed with a byte-order mark. An attacker who knew the public key could possibly use this issue to forge authentication tokens. (CVE-2026-102272)

Charles Vosburgh discovered that PyJWT incorrectly handled certain JWK containers when performing HMAC verification. An attacker who knew the public key could possibly use this issue to forge authentication tokens.
(CVE-2026-102273)

Tenable has extracted the preceding description block directly from the Ubuntu security advisory.

Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version number.

Solution

Update the affected python3-jwt package.

See Also

https://ubuntu.com/security/CVE-2026-102266

https://ubuntu.com/security/CVE-2026-102267

https://ubuntu.com/security/CVE-2026-102268

https://ubuntu.com/security/CVE-2026-102271

https://ubuntu.com/security/CVE-2026-102272

https://ubuntu.com/security/CVE-2026-102273

https://ubuntu.com/security/notices/USN-8916-2

Plugin Details

Severity: Critical

ID: 390486

File Name: ubuntu_USN-8916-2.nasl

Version: 1.1

Type: Local

Agent: unix

Published: 12/1/2026

Updated: 12/1/2026

Supported Sensors: Nessus Agent, Continuous Assessment, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.3

Percentile: 96.1

CVSS v2

Risk Factor: High

Base Score: 9.4

Temporal Score: 7.4

Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:N

CVSS Score Source: CVE-2026-102267

CVSS v3

Risk Factor: Critical

Base Score: 9.1

Temporal Score: 8.2

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

CPE: cpe:/o:canonical:ubuntu_linux:26.10, p-cpe:/a:canonical:ubuntu_linux:python3-jwt

Required KB Items: Host/cpu, Host/Debian/dpkg-l, Host/Ubuntu, Host/Ubuntu/release

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 10/15/2026

Vulnerability Publication Date: 9/28/2026

Reference Information

CVE: CVE-2026-102266, CVE-2026-102267, CVE-2026-102268, CVE-2026-102271, CVE-2026-102272, CVE-2026-102273

USN: 8916-2