Arbitrary file write via unsafe symlink extraction
Published Aug 8, 2025 · Updated Nov 4, 2025
Link-following in 7-Zip before 25.01 allows attackers to write arbitrary files when a user extracts a malicious archive. CArchiveExtractCallback::SetLink validates a calculated link path without accounting for hardlink aliasing or chained extraction-root symlinks, then extraction follows the resulting link outside the destination. Successful exploitation requires a link-capable archive and user extraction; Linux is directly affected, while Windows also requires symlink-creation capability, and the write can replace shell startup or SSH authorization files.
Summary
What happened
Link-following in 7-Zip before 25.01 allows attackers to write arbitrary files when a user extracts a malicious archive. CArchiveExtractCallback::SetLink validates a calculated link path without accounting for hardlink aliasing or chained extraction-root symlinks, then extraction follows the resulting link outside the destination. Successful exploitation requires a link-capable archive and user extraction; Linux is directly affected, while Windows also requires symlink-creation capability, and the write can replace shell startup or SSH authorization files.
The record
- CVE
- CVE-2025-55188
- Published
- Aug 8, 2025
- Updated
- Nov 4, 2025
- Vendor
- 7-Zip
- Product
- 7-Zip
- Classifications
- CWE-59, T1204.002
- Attack vector
- local
- Privileges
- unauthenticated
Timeline
How it unfolded
- Aug 8, 2025CVE publishedPublication date reported by the CVE source.
- Nov 4, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=0 <25.01
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- CVE-2025-55188 7-Zip arbitrary-file-write proof of conceptproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo