Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-18508: Improper Link Resolution Before File Access ('Link Following') in Red Hat Red Hat Enterprise Linux 10

0
Medium
VulnerabilityCVE-2026-18508cvecve-2026-18508
Published: 08/03/2026 (08/03/2026, 14:51:41 UTC)
Source: CVE Database V5
Vendor/Project: Red Hat
Product: Red Hat Enterprise Linux 10

Description

A flaw was found in GNU tar. When extracting an archive with the --one-top-level option, hardlink targets are not confined to the designated top-level directory and may resolve relative to the extraction working directory. A crafted archive can create hardlinks that escape the intended boundary and, when combined with a preexisting symbolic link under the working directory, may allow writing outside that boundary during a single extraction.

CVSS v3.1

Score 4.4medium

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
None
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/03/2026, 16:10:23 UTC

Technical Analysis

This vulnerability in GNU tar arises from improper link resolution during archive extraction with the --one-top-level option. Hardlink targets are not confined to the specified top-level directory and may resolve relative to the extraction working directory. An attacker can craft an archive that creates hardlinks escaping the intended directory boundary. When combined with existing symbolic links under the working directory, this can lead to arbitrary file writes outside the extraction directory during a single extraction operation. The flaw is specific to the use of --one-top-level and does not affect default extraction behavior.

Potential Impact

An attacker who can supply a crafted archive and cause it to be extracted with the --one-top-level option may be able to write files outside the intended extraction directory. This could lead to modification of unexpected files, potentially bypassing security mechanisms relying on file integrity. The confidentiality and integrity impacts are rated low, with no availability impact. The vulnerability requires local access and user interaction (extracting the archive).

Mitigation Recommendations

Red Hat advises not to use the --one-top-level option as the sole confinement mechanism when extracting untrusted archives. Instead, extract archives as an unprivileged user into a freshly created empty directory after changing into that directory. Avoid extracting as root from sensitive directories such as /. Follow GNU tar security guidance for handling untrusted archives. Currently, no fixed packages are available; users should apply these mitigations until a fix is released. Patch status is not yet confirmed — check the Red Hat advisory at https://access.redhat.com/security/cve/CVE-2026-18508 for updates.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
redhat
Date Reserved
2026-07-31T17:08:04.550Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null
Vendor Advisory Urls
[{"url":"https://access.redhat.com/security/cve/CVE-2026-18508","vendor":"Red Hat"}]

Threat ID: 6a70b4e4bf32cb7a34cc8d1d

Added to database: 08/03/2026, 15:33:56 UTC

Last enriched: 08/03/2026, 16:10:23 UTC

Last updated: 08/03/2026, 16:27:25 UTC

Views: 5

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses