Description
Koha Eval Code Injection Remote Code Execution Vulnerability. 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. Was ZDI-CAN-29165.
Published: 2026-09-15
Score: 8.8 High
EPSS: < 1% Very Low
KEV: No
Impact: Remote Code Execution
Action: Immediate Patch
AI Analysis

Impact

The vulnerability is caused by the use of an unsafe eval function in Koha’s web service. Unvalidated user‑supplied strings are passed directly to eval, enabling code injection. An attacker who can authenticate to the Koha instance can submit a crafted request that is executed under the service account, giving the attacker full control over that account’s privileges on the host.

Affected Systems

Koha installations running the vulnerable web service on TCP port 8081 are affected. The advisory does not enumerate specific versions, so any Koha instance that has not applied the vendor’s fix should be considered potentially vulnerable, regardless of the date of the installation.

Risk and Exploitability

The CVSS score of 8.8 denotes high severity. The EPSS score of less than 1% indicates a low probability that the vulnerability is being actively exploited in the wild, and the advisory is not listed in the CISA KEV catalog. Nevertheless, because authentication is required, a threat actor needs valid Koha credentials to use the flaw. Once authenticated, a simple carefully crafted payload sent over port 8081 can invoke eval and execute arbitrary code in the context of the service account, which could be used to pivot to the underlying system or exfiltrate data.

Generated by OpenCVE AI on September 20, 2026 at 15:44 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the official Koha security update that removes the unsafe eval usage or install the latest stable release.
  • If no update is immediately available, limit access to the web service on port 8081 to trusted networks, enforce TLS, and require strong authentication.
  • Run the Koha service under a least‑privilege account to reduce the impact of any successful code execution.
  • Add input validation or replace eval with a safer alternative to prevent future injection vulnerabilities.

Generated by OpenCVE AI on September 20, 2026 at 15:44 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 22 Sep 2026 18:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Tue, 15 Sep 2026 18:45:00 +0000

Type Values Removed Values Added
First Time appeared Koha
Koha koha
Vendors & Products Koha
Koha koha

Tue, 15 Sep 2026 16:30:00 +0000

Type Values Removed Values Added
Description Koha Eval Code Injection Remote Code Execution Vulnerability. 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. Was ZDI-CAN-29165.
Title Koha Eval Code Injection Remote Code Execution Vulnerability
Weaknesses CWE-95
References
Metrics cvssV3_0

{'score': 8.8, 'vector': 'CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}


cve-icon MITRE

Status: PUBLISHED

Assigner: zdi

Published:

Updated: 2026-09-22T17:57:08.187Z

Reserved: 2026-08-13T17:43:05.969Z

Link: CVE-2026-19780

cve-icon Vulnrichment

Updated: 2026-09-22T17:57:03.948Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-09-15T17:17:11.383

Modified: 2026-09-22T18:17:12.520

Link: CVE-2026-19780

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-20T15:45:17Z

Weaknesses
  • CWE-95

    Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')