Vulnerability

CVE-2024-36057

criticalCVSS 3.1 9.8Published 7 Apr 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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.

Affected products

The NVD has not attached product data to this record yet; the description names what is affected.

Weakness type

References

  • github.com /hacklantic/Research/tree/main/CVE-2024-36057
  • gitlab.com /koha-community/Koha/-/blob/23.05.x/misc/release_notes/rele…
  • gitlab.com /koha-community/Koha/-/blob/23.05.x/misc/release_notes/rele…
  • koha-community.org /koha-22-05-22-released/

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning