BreachSpiderVerified, not vibes

CVE-2007-4131 in Gnu Tar and 3 more products

Medium 6.8

Directory traversal vulnerability in the contains_dot_dot function in src/names.c in GNU tar allows user-assisted remote attackers to overwrite arbitrary files via certain //.. (slash slash dot dot) sequences in directory symlinks in a TAR archive.

Affects 4 products from 3 vendors. Facts below cite their sources.

CVSS 2.06.8
EPSS2.7%
EPSS percentile87th
FixUnknown

Remotely exploitable over the network.

Affected products and versions

VendorProductAffected versions
Gnu Tar 1.13 1.13.5 1.13.11 1.13.14 1.13.16 1.13.17
+10 more1.13.18 1.13.19 1.13.25 1.14 1.14.90 1.15 1.15.1 1.15.90 1.15.91 1.16

Platforms listed by the source (the vulnerable product runs on these; they are not themselves vulnerable): Redhat Enterprise Linux, Redhat Enterprise Linux Desktop, Rpath Rpath Linux

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official description

Directory traversal vulnerability in the contains_dot_dot function in src/names.c in GNU tar allows user-assisted remote attackers to overwrite arbitrary files via certain //.. (slash slash dot dot) sequences in directory symlinks in a TAR archive.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2007-4131
BreachSpider IDBS-2007-GLOBAL-333611-M
CVSS vectorAV:N/AC:M/Au:N/C:P/I:P/A:P
Published2007-08-25
Last modified2026-06-16
SourceNVD

Analysis AI-written, not human-reviewed

This vulnerability was disclosed in 2007. A medium severity vulnerability affects Gnu systems (CVE-2007-4131). No public exploit code is currently available. Isolate affected systems if patching is not feasible.

Vulnerability details: Directory traversal vulnerability in the contains_dot_dot function in src/names.c in GNU tar allows user-assisted remote attackers to overwrite arbitrary files via certain //.. (slash slash dot dot) sequences in directory symlinks in a TAR archive. CVSS vector: AV:N/AC:M/Au:N/C:P/I:P/A:P.

Questions

What is CVE-2007-4131?

This vulnerability was disclosed in 2007. A medium severity vulnerability affects Gnu systems (CVE-2007-4131). No public exploit code is currently available. Isolate affected systems if patching is not feasible.

What is the CVSS score for CVE-2007-4131?

CVE-2007-4131 has CVSS 6.8 (Medium). Vector: AV:N/AC:M/Au:N/C:P/I:P/A:P. EPSS: 2.7%.

Is CVE-2007-4131 actively exploited?

No confirmed active exploitation of CVE-2007-4131 as of 2026-09-25.

How do I remediate CVE-2007-4131?

Priority: MONITOR.

What systems are affected by CVE-2007-4131?

CVE-2007-4131 affects Gnu Tar.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Gnu","product":"Tar","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-16.