https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42404 --- Comment #23 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 200842 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=200842&action=edit Bug 42404: (follow-up) Canonicalize extraction directory before path-traversal check The path-traversal guard compares Cwd::abs_path(\$full_path) against \$dirname using a regex anchor. If \$dirname itself contains unresolved symlink components the comparison could be fooled. Resolve \$dirname via Cwd::abs_path() immediately after extraction (once the directory exists on disk) so both sides of the comparison are fully canonicalized. -- You are receiving this mail because: You are watching all bug changes.