Bug 2588323 (CVE-2026-140243)

Summary: CVE-2026-140243 tar: node-tar: Arbitrary file access via improper symbolic link path validation
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security DevOps Team <prodsec-dev>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: aazores, abarbaro, abrianik, akhatavk, alizardo, amctagga, anujha, aoconnor, aos-team-art-private, aruklets, aschwart, asdas, asoldano, aszczucz, bbaranow, bbrownin, bmaxwell, bniver, boliveir, bstansbe, cdrage, cmah, crizzo, csuconic, dbruscin, dfreiber, dhanak, dlofthou, doconnor, dpaolell, drichtar, drosa, drow, dsimansk, dymurray, eaguilar, ebaron, eborisov, flucifre, fmariani, gbenhaim, ggrzybek, gmalinko, gmeno, gparvin, groman, gtanzill, gtully, ibolton, istudens, ivassile, iweiss, janstey, jbaesner, jbalunas, jburrell, jbuscemi, jchui, jdelft, jhe, jkrystof, jlanda, jmatsuok, jmatthew, jmontleo, jraez, jsherman, jtolenti, jupierce, jwon, kaycoth, kingland, kshier, ktsao, kvanderr, lball, lchilton, lgarciaa, manissin, mbenjamin, mbiarnes, mcarlett, mhackett, mnovotny, mosmerov, mposolda, mstipich, msvehla, nboldt, ngough, niyer, nwallace, oaljalju, parichar, pberan, pdelbell, pesilva, pgaikwad, pjindal, pmackay, ppalepu, ppostler, prdhamdh, psrna, rbobbitt, rexwhite, rgemmell, rgodfrey, rhaigner, rhel-process-autobot, rmartinc, rstancel, rstepani, rushinde, sausingh, sdawley, sfeifer, sghai, shudeshp, sidsharm, simaishi, slucidi, sostapov, sseago, ssilvert, stcannon, sthirugn, sthorger, suppawar, tasato, tbish, tcunning, thjenkin, tlavocat, tmielke, tsze, twaugh, tzimanyi, vdosoudi, vereddy, veshanka, vkumar, vlaad, vmuzikar, watson-tool-maintainers, yfang, yguenane
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
A flaw was found in node-tar. A remote attacker could exploit this vulnerability by convincing an application to extract a specially crafted archive containing a symbolic link—a shortcut pointing to another location—that includes trailing path markers. Because path validation fails to properly restrict these entries, the application creates symbolic links pointing outside the designated extraction directory. This can allow an attacker to read or overwrite arbitrary files on the target system.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description OSIDB Bzimport 2026-12-01 23:32:28 UTC
node-tar is a tar archive manipulation library for Node.js. From 7.5.5 until 8.0.0, there is a symlink escape from the extraction directory via a trailing /. in the entry path. Any application that extracts attacker-supplied tarballs with tar.x() / tar.extract() and then reads, serves, copies or rewrites the extracted files can be pointed at an arbitrary file outside the extraction directory. This issue is fixed in version 8.0.0.