Bug 2513575 (CVE-2026-70622)

Summary: CVE-2026-70622 tar: tar-rs: Information Disclosure via Symlink Escape
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security <prodsec-ir-bot>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: akhatavk, anpicker, ansingla, anthomas, aos-team-art-private, aprice, aruklets, asdas, bbrownin, bcaton, blitton, bparees, brasmith, cochase, dbosanac, derez, doconnor, dpaolell, dranck, dschmidt, ehelms, ggainey, hasun, hoberger, jdelft, jfula, jlanda, jmitchel, jowilson, jpasqual, jreimann, jsamir, jupierce, juwatts, kshier, lblicha, lgarciaa, lpele, mattdavi, mbarnett, mbiarnes, mclay, mdellweg, mdessi, mhulan, mrizzi, nmoumoul, nyancey, oezr, ogajduse, ometelka, osousa, pcattana, pcreech, ppalepu, ppostler, prdhamdh, ptisnovs, rbobbitt, rchan, rekumar, rhel-process-autobot, sarad, sghai, sidsharm, simaishi, sivel, smallamp, sprizend, stcannon, suppawar, syedriko, teagle, tmalecek, vlaad, vvoronko, watson-tool-maintainers, xdharmai, yguenane, zhunting
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
A flaw was found in tar-rs. This vulnerability, a symlink escape, allows a local attacker to read sensitive files outside of the intended directory. By planting specially crafted symbolic links in an untrusted directory, an attacker can trick a privileged process, when archiving that directory, into including arbitrary files from the system. This leads to the disclosure of potentially confidential information to the attacker.
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-08-10 18:01:33 UTC
tar-rs versions 0.4.11 through 0.4.46 contain a symlink escape vulnerability in the Builder::append_dir_all() function that allows attackers to read files outside the intended source root directory by planting symlinks in an attacker-controlled directory. When a privileged process archives an untrusted directory, the function follows symlinks without verifying that resolved targets remain within the source root, causing out-of-bounds files to be included in the archive as regular files and disclosed to the attacker.