CVE-2024-36057: Vulnerability in Koha Library

Critical. Koha Library before 23.05.10 fails to sanitize user-controllable filenames prior to unzipping, leading to remote code execution. The line "qx/unzip $filename -d $dirname/;" in upload-cover-image.pl is vulnerable to command injection via shell metacharacters because input data can be controlled by an attacker and is directly included in a system command, i.e., an attack can occur via malicious filenames after...

CWE-94

Exploitation
None confirmed
Severity
9.8 of 10
Attack likelihood
Unknown
Fix
Fixed version known
Patch deadline
No deadline set

Details

Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-94
Published
7 Apr 2026
Last change
8 Nov 2026

Affected products

Affected versions and the first fixed release

  • Koha Library Before 23.05.10. Fixed in 23.05.10

Advisories

Vendor and security advisories

Patches and fixes

Updates, commits and release notes

Related