Skip to content
RCE Advisory Intermediate CVE-2026-19780

Koha Eval Code Injection Remote Code Execution Vulnerability

Koha's web service passed a user-supplied string to the eval function without proper validation. An authenticated attacker could use this to run arbitrary code as the service account.

Shukrulloh Raximov Follow

Originally disclosed on Zero Day Initiative

High 8.8 View original

This vulnerability allows remote attackers to execute arbitrary code on affected installations of Koha. Authentication is required to exploit this vulnerability.

Shukrulloh Raximov, on the Zero Day Initiative

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

User-controlled input was passed directly into an eval function without validation, so it was interpreted as code.

Impact

An authenticated attacker could execute arbitrary code in the context of the service account, though a login is required.

What the attacker needed

Valid authenticated account

The fix

The vendor fixed the flaw in several released versions.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

The software took text typed in by a logged-in user and ran it as program code instead of treating it as plain data. Because the code ran on the server, an attacker with an account could make the server do whatever they wanted, such as reading files or running commands.

What is RCE?

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.

More from Zero Day Initiative

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Remote code execution

The lesson behind this report.

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.