{"id":78847,"date":"2026-05-26T03:47:50","date_gmt":"2026-05-26T00:17:50","guid":{"rendered":"https:\/\/afaghhosting.net\/blog\/cve-2026-42497-archivetar-versions-before-3-08-for-perl-extract-hardlinks-to-attacker-controlled-paths-outside-the-extraction-directory\/"},"modified":"2026-05-26T03:47:50","modified_gmt":"2026-05-26T00:17:50","slug":"cve-2026-42497-archivetar-versions-before-3-08-for-perl-extract-hardlinks-to-attacker-controlled-paths-outside-the-extraction-directory","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/cve-2026-42497-archivetar-versions-before-3-08-for-perl-extract-hardlinks-to-attacker-controlled-paths-outside-the-extraction-directory\/","title":{"rendered":"CVE-2026-42497 &#8211; Archive::Tar versions before 3.08 for Perl extract hardlinks to attacker controlled paths outside the extraction directory"},"content":{"rendered":"<p>CVE ID :CVE-2026-42497<\/p>\n<p>  Published : May 26, 2026, 12:17 a.m. | 1\u00a0hour, 39\u00a0minutes ago<\/p>\n<p>  Description :Archive::Tar versions before 3.08 for Perl extract hardlinks to attacker controlled paths outside the extraction directory.<\/p>\n<p>_make_special_file() passes the tar header&#8217;s linkname to link() without validating it against absolute paths or .. segments, creating a hardlink that shares the victim file&#8217;s inode.<\/p>\n<p>A subsequent write through the extracted name modifies the victim file, and the post-extraction chmod, chown, and utime block in _extract_file() (guarded only against symlinks via -l) applies the tar header&#8217;s mode, owner, and timestamps to the shared inode during extraction alone.<\/p>\n<p>  Severity: 0.0 | NA<\/p>\n<p>  Visit the link for more details, such as CVSS details, affected products, timeline, and more&#8230;\u00a0<\/p>\n","protected":false},"excerpt":{"rendered":"<p>CVE ID :CVE-2026-42497 Published : May 26, 2026, 12:17 a.m. | 1\u00a0hour, 39\u00a0minutes ago Description :Archive::Tar versions before 3.08 for Perl extract hardlinks to attacker controlled paths outside the extraction directory. _make_special_file() passes the tar header&#8217;s linkname to link() without validating it against absolute paths or .. segments, creating a hardlink that shares the victim &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26],"tags":[],"class_list":["post-78847","post","type-post","status-publish","format-standard","hentry","category-vulnerability"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/78847","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/comments?post=78847"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/78847\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=78847"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=78847"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=78847"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}