Amazon Linux 2 : python, --advisory ALAS2-2026-3227 (ALAS-2026-3227)

high Nessus Plugin ID 306273

Synopsis

The remote Amazon Linux 2 host is missing a security update.

Description

The version of python installed on the remote host is prior to 2.7.18-1. It is, therefore, affected by multiple vulnerabilities as referenced in the ALAS2-2026-3227 advisory.

The tarfile module would still apply normalization of AREGTYPE (\x00) blocks to DIRTYPE, even while processing a multi-block member such as GNUTYPE_LONGNAME or GNUTYPE_LONGLINK. This could result in a crafted tar archive being misinterpreted by the tarfile module compared to other implementations.
(CVE-2025-13462)

pkgutil.get_data() did not validate the resource argument as documented, allowing path traversals.
(CVE-2026-3479)

The webbrowser.open() API would accept leading dashes in the URL whichcould be handled as command line options for certain web browsers. Newbehavior rejects leading dashes. Users are recommended to sanitize URLsprior to passing to webbrowser.open(). (CVE-2026-4519)

Tenable has extracted the preceding description block directly from the tested product 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

Run 'yum update python' or or 'yum update --advisory ALAS2-2026-3227' to update your system.

See Also

https://alas.aws.amazon.com//AL2/ALAS2-2026-3227.html

https://alas.aws.amazon.com/faqs.html

https://explore.alas.aws.amazon.com/CVE-2025-13462.html

https://explore.alas.aws.amazon.com/CVE-2026-3479.html

https://explore.alas.aws.amazon.com/CVE-2026-4519.html

Plugin Details

Severity: High

ID: 306273

File Name: al2_ALAS-2026-3227.nasl

Version: 1.1

Type: Local

Agent: unix

Published: 4/14/2026

Updated: 4/14/2026

Supported Sensors: Agentless Assessment, Continuous Assessment, Frictionless Assessment Agent, Frictionless Assessment AWS, Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: High

Score: 7.0

CVSS v2

Risk Factor: High

Base Score: 7.3

Temporal Score: 5.4

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

CVSS Score Source: CVE-2026-4519

CVSS v3

Risk Factor: High

Base Score: 7.1

Temporal Score: 6.2

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

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

CVSS v4

Risk Factor: High

Base Score: 7

Threat Score: 3.7

Threat Vector: CVSS:4.0/E:U

Vector: CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

Vulnerability Information

CPE: p-cpe:/a:amazon:linux:python-tools, p-cpe:/a:amazon:linux:python-test, p-cpe:/a:amazon:linux:python-debuginfo, p-cpe:/a:amazon:linux:python-devel, p-cpe:/a:amazon:linux:python-debug, p-cpe:/a:amazon:linux:python-libs, p-cpe:/a:amazon:linux:python, cpe:/o:amazon:linux:2, p-cpe:/a:amazon:linux:tkinter

Required KB Items: Host/local_checks_enabled, Host/AmazonLinux/release, Host/AmazonLinux/rpm-list

Exploit Ease: No known exploits are available

Patch Publication Date: 4/14/2026

Vulnerability Publication Date: 2/12/2026

Reference Information

CVE: CVE-2025-13462, CVE-2026-3479, CVE-2026-4519

IAVA: 2026-A-0142