CVE-2024-36057

Critical

Description

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 uploading a .zip file and clicking Process Images.

SeverityCritical
CVSS9.8
Exploit probability—
ProductKoha Library
PublishedApr 7, 2026
First seenApr 7, 2026

How to fix

Update
  • Koha Library23.05.10 or later

Affected products

ProductAffected versionsFixed in
Koha LibraryNo range specified23.05.10

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.