RockyLinux 9 : tar (RLSA-2026:61581)

medium Nessus Plugin ID 342154

Synopsis

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

Description

The remote RockyLinux 9 host has packages installed that are affected by multiple vulnerabilities as referenced in the RLSA-2026:61581 advisory.

* tar: tar: Hidden file injection via crafted archives (CVE-2026-5704)

* tar: tar: TOCTOU in incremental dumpdir 'X' rename handling allows restore path escape (CVE-2026-18477)

* tar: tar: --one-top-level hardlink targets not confined to top-level directory enabling arbitrary file overwrite (CVE-2026-18508)

Bug Fix(es) and Enhancement(s):

* tar: --one-top-level with absolute path fails [rhel-9] (JIRA:Rocky Linux-144021)

Tenable has extracted the preceding description block directly from the RockyLinux 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 tar, tar-debuginfo and / or tar-debugsource packages.

See Also

https://bugzilla.redhat.com/show_bug.cgi?id=2455360

https://bugzilla.redhat.com/show_bug.cgi?id=2509735

https://bugzilla.redhat.com/show_bug.cgi?id=2509843

https://errata.rockylinux.org/RLSA-2026:61581

Plugin Details

Severity: Medium

ID: 342154

File Name: rocky_linux_RLSA-2026-61581.nasl

Version: 1.1

Type: Local

Published: 9/1/2026

Updated: 9/1/2026

Supported Sensors: Nessus Agent, Continuous Assessment, Nessus

Risk Information

VPR

Risk Factor: Low

Score: 3

Percentile: 23.74

CVSS v2

Risk Factor: Medium

Base Score: 4.9

Temporal Score: 3.8

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

CVSS Score Source: CVE-2026-5704

CVSS v3

Risk Factor: Medium

Base Score: 5.5

Temporal Score: 5

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

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

Vulnerability Information

CPE: cpe:/o:rocky:linux:9, p-cpe:/a:rocky:linux:tar-debuginfo, p-cpe:/a:rocky:linux:tar-debugsource, p-cpe:/a:rocky:linux:tar

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

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 9/1/2026

Vulnerability Publication Date: 4/6/2026

Reference Information

CVE: CVE-2026-18477, CVE-2026-18508, CVE-2026-5704