---
id: CVE-2026-70372
title: >-
  Koha's reports/bor_issues_top.pl builds dynamic SQL in sub calculate by
  concatenating several user-controlled request parameters directly into the
  query string
summary: >-
  Koha's reports/bor_issues_top.pl builds dynamic SQL in sub calculate by
  concatenating several user-controlled request parameters directly into the
  query string. An authenticated staff user holding the reports module
  permission can inject…
severity: high
cvss: 8.8
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'
cwe:
  - CWE-89
published: '2026-08-04'
updated: '2026-08-10'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-70372'
references:
  - url: 'https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42369'
    label: 309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c
  - url: 'https://download.koha-community.org/koha-25.05.12.tar.gz'
    label: 309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c
  - url: 'https://koha-community.org/koha-25-05-12-released/'
    label: 309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c
tags:
  - nvd
epss: 0.00306
epssPercentile: 0.23634
ingestedAt: '2026-08-10T12:39:47.547Z'
---

## Overview

Koha's reports/bor_issues_top.pl builds dynamic SQL in sub calculate by concatenating several user-controlled request parameters directly into the query string. An authenticated staff user holding the reports module permission can inject arbitrary SQL and read any table reachable by the Koha database user, including borrowers (password hashes, two-factor secrets, personal data), api_keys, and sessions.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
