Bug 2588102 (CVE-2026-140247)

Summary: CVE-2026-140247 tar: node-tar: Arbitrary file write via improper symbolic link validation
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security DevOps Team <prodsec-dev>
Status: NEW --- QA Contact:
Severity: high Docs Contact:
Priority: high    
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. An attacker can exploit this vulnerability by providing a specially crafted archive containing malicious symbolic links (symlinks). Because path validation evaluates symlink targets lexically without resolving prior link components, extracted links can point outside the intended extraction directory. This allows an attacker to read or write arbitrary files outside the extraction root when the links are subsequently accessed.
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 18:01:40 UTC
node-tar is a tar archive manipulation library for Node.js. Prior to 8.0.0, a crafted archive can create a SymbolicLink inside the extraction directory whose linkpath contains a previously created symlink component followed by a parent traversal. STRIPABSOLUTEPATH evaluates the target lexically, but the filesystem follows the earlier symlink first, so the planted link target resolves outside the extraction root. A later consumer that follows the link can read or write outside that root. This issue is fixed in version 8.0.0.