ZDI-26-616: Koha Eval Code Injection Remote Code Execution Vulnerability

Published Sep 8, 2026
·
Updated

This vulnerability allows remote attackers to execute arbitrary code on affected installations of Koha. Authentication is required to exploit this vulnerability. The specific flaw exists within the web service, which listens on TCP port 8081 by default. The issue results from the lack of proper validation of a user-supplied string before passing it to the eval function. An attacker can leverage this vulnerability to execute code in the context of the service account.

Other sources

This vulnerability allows remote attackers to execute arbitrary code on affected installations of Koha. Authentication is required to exploit this vulnerability. The ZDI has assigned a CVSS rating of 8.8. The following CVEs are assigned: CVE-2026-19780.

— ZDI

Affected Software

2 affected components
Koha
Koha Koha

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Patch ZDI-26-616
  2. Compensating control

    Restrict network access to the Koha web service that listens on TCP port 8081 by default (e.g., allowlist only required source IPs at the firewall/reverse proxy).

Event History

Sep 8, 2026
Advisory Published
via ZDI·12:00 AM
Data Sourced
via ZDI·12:00 AM
DescriptionSeverityAffected Software
Advisory Published
via ZDI·05:00 AM

Frequently Asked Questions

1

Who can exploit this issue?

An attacker must be authenticated to exploit the vulnerability. The provided information does not identify which authenticated roles or permissions are sufficient.

2

What impact could successful exploitation have?

A successful attacker can execute arbitrary code on an affected Koha installation. ZDI assigned the issue a CVSS score of 8.8.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203