PatchSiren cyber security CVE debrief
CVE-2026-70622 composefs CVE debrief
CVE-2026-70622 is a symlink escape vulnerability in the tar-rs library, specifically in the Builder::append_dir_all() function. This vulnerability allows attackers to read files outside the intended source root directory by creating symlinks in a controlled directory. When a privileged process archives an untrusted directory, the function follows symlinks without verifying that the resolved targets remain within the source root, potentially disclosing out-of-bounds files to the attacker.
- Vendor
- composefs
- Product
- tar-rs
- CVSS
- HIGH 7.1
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-08-10
- Original CVE updated
- 2026-09-24
- Advisory published
- 2026-08-10
- Advisory updated
- 2026-09-24
Who should care
Defenders responsible for maintaining and securing systems that utilize the tar-rs library should be aware of this vulnerability and take necessary actions to mitigate potential risks.
Why it matters
CVE-2026-70622 is a symlink escape vulnerability in the tar-rs library that allows attackers to read files outside the intended source root directory. Defenders should prioritize verifying and updating the tar-rs library, ensuring cautious archive creation, and monitoring for potential exploitation attempts.
- Verify and update the tar-rs library to prevent potential exploitation
- Ensure that archives are created with caution to prevent disclosure of sensitive information
- Monitor for potential exploitation attempts to detect and respond to potential security incidents
Technical summary
The tar-rs library, specifically version 0.4.11 through 0.4.46, contains a symlink escape vulnerability in the Builder::append_dir_all() function. This vulnerability allows attackers to read files outside the intended source root directory by creating symlinks in a controlled directory. When a privileged process archives an untrusted directory, the function follows symlinks without verifying that the resolved targets remain within the source root, potentially disclosing out-of-bounds files to the attacker.
Defensive priority
Defenders should prioritize verifying and updating the tar-rs library to a secure version, ensuring that archives are created with caution, and monitoring for potential exploitation attempts.
Recommended defensive actions
- Verify and update the tar-rs library to a secure version
- Ensure that archives are created with caution, especially when dealing with untrusted directories
- Monitor for potential exploitation attempts and implement additional security measures as needed
- Review compensating controls for exposed systems while remediation is scheduled and verified
- Check relevant monitoring, detection, and logs for exposed assets that need extra review
- Track exceptions, retest remediated assets, and close the item only after evidence is documented
- Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up
Evidence notes
The CVE record and NVD entry provide details about the vulnerability in tar-rs versions 0.4.11 through 0.4.46, specifically in the Builder::append_dir_all() function, allowing attackers to read files outside the intended source root directory by creating symlinks in a controlled directory. Defenders should verify and update the tar-rs library, ensure cautious archive creation, and monitor for potential exploitation attempts. Official sources indicate a need for further verification of affected versions and potential impact. The CVE-
Sources and references
Verified primary and authoritative sources
-
CVE-2026-70622 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2026-70622
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2026-70622 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2026-70622
NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.
Supplemental references
-
Source reference
Unverified legacy reference
URL: https://gist.github.com/thesmartshadow/e7dac0bb690ee17b9cc142154cb11726
-
Source reference
Unverified legacy reference
URL: https://www.vulncheck.com/advisories/tar-rs-symlink-escape-via-append-dir-all
Methodology and review provenance
AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.