Bug 2588090 (CVE-2026-140235)

Summary: CVE-2026-140235 tar: node-tar: Path traversal and file attribute forgery via improper PAX header parsing
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 can exploit this issue by supplying a crafted tar archive containing newline characters within Portable Archive Exchange (PAX) header values. The parser incorrectly splits length-delimited records on newline characters, allowing the attacker to drop legitimate attributes and inject forged fields such as file paths, sizes, or link targets. This can result in unauthorized file attribute manipulation or path traversal, allowing files to be extracted outside the intended target directory.
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 17:32:49 UTC
node-tar is a tar archive manipulation library for Node.js. From 7.5.0 until 8.0.0, parseKV splits length-delimited PAX records on newline characters, so a newline inside a record value can drop the original field and turn a trailing fragment into a forged path, size, linkpath, or other entry attribute. Default extraction confines a forged path to the extraction root. When preservePaths is enabled, the forged path may instead be absolute or contain a parent-directory component. This issue is fixed in version 8.0.0.