Skip to content
RedCVE

CVE-2026-105107Koha Community Koha SQL injection

Koha CommunityPublished:

CVSS score

7.2

High

CVSS 4.0 from 309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c

Exploit probability (EPSS)

0.28%

0.28% chance of exploitation in the next 30 days, higher than 20.6% of all CVEs.

CISA KEV

Not in KEV

No confirmed exploitation reported by CISA so far.

Official description

Koha is vulnerable to SQL injection in the Most-circulated items report. The reports/cat_issues_top.pl script (sub calculate) concatenates the user-controlled Criteria, Filter, and Limit request parameters directly into dynamic SQL. Criteria is only prefix-normalized and never validated against an allow-list, so it is inserted verbatim into identifier positions (SELECT DISTINCTROW, GROUP BY, ORDER BY, and the main calculation query). Filter values are concatenated raw into single-quoted LIKE, BETWEEN, and comparison fragments. Limit is appended raw to a LIMIT clause. An authenticated staff user with the reports module permission (not requiring superlibrarian) can inject arbitrary SQL and read any table reachable by the Koha database user, including borrowers (userid and bcrypt password hashes, two-factor secrets, personal data), api_keys, and sessions. The issue is fixed in Koha 24.11.19, 25.05.14, 25.11.08, and 26.05.03, and in the 26.11 development branch. This is the unpatched twin of reports/bor_issues_top.pl (CVE-2026-70372).

Source: NVD · CNA: 309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c

How to fix it, step by step

  1. Check whether you're affected

    Find every system running Koha Community Koha and compare its version with the affected versions.

  2. Update to a fixed version

    • Update Koha to 24.11.00, 24.11.19, 25.05.14, 25.11.08 or later, on the branch you run.
  3. Confirm the fix

    Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.

Was this useful?

How it can be exploited

Attack vector
Network
Attack complexity
Low
Attack requirements
None
Privileges required
Low
User interaction
None
Confidentiality
High
Integrity
Low
Availability
Low

Values in red make the vulnerability easier to exploit or more damaging. CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:L/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Affected products

Affected productsVersions
Koha Community Koha< 24.11.00 · ≥ 24.11.00, < 24.11.19 · ≥ 25.05.00, < 25.05.14 · ≥ 25.11.00, < 25.11.08 · ≥ 26.05.00, < 26.05.03

Weakness

Timeline

  1. Published:
  2. Last modified:

Frequently asked questions

Is CVE-2026-105107 being exploited?

There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.3% probability of exploitation in the next 30 days.

What is the CVSS score of CVE-2026-105107?

CVE-2026-105107 has a CVSS 4.0 base score of 7.2 (high).

Which versions are affected?

Koha Community Koha (< 24.11.00; ≥ 24.11.00, < 24.11.19; ≥ 25.05.00, < 25.05.14; ≥ 25.11.00, < 25.11.08; ≥ 26.05.00, < 26.05.03)

Is there a patch for CVE-2026-105107?

The official record links to vendor advisories or patches; see “What to do” above.

References

Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.