{"id":"CVE-2026-70372","state":"PUBLISHED","title":"Koha - SQL Injection in reports/bor_issues_top.pl","description":"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.","publishedAt":"2026-08-04T13:00:12.836Z","updatedAt":"2026-08-10T11:44:44.671Z","severity":{"score":8.8,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"TuranSec"},"assigner":"TuranSec","products":["Koha Community Koha"],"affected":[{"vendor":"Koha Community","product":"Koha","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"24.11.17","versionType":"semver"},{"version":"25.05.00","status":"affected","lessThanOrEqual":"25.05.12","versionType":"semver"},{"version":"25.11.00","status":"affected","lessThanOrEqual":"25.11.06","versionType":"semver"},{"version":"26.05.00","status":"affected","lessThanOrEqual":"26.05.01","versionType":"semver"}],"collectionURL":"https://koha-community.org/","repo":"https://gitlab.com/koha-community/Koha","programFiles":["reports/bor_issues_top.pl"]}],"references":["https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42369","https://koha-community.org/koha-25-05-12-released/","https://download.koha-community.org/koha-25.05.12.tar.gz"],"weaknesses":["CWE-89"],"ingestedAt":"2026-10-29T20:12:49.727Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/70xxx/CVE-2026-70372.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-70372","state":"PUBLISHED","datePublished":"2026-08-04T13:00:12.836Z","dateUpdated":"2026-08-10T11:44:44.671Z","assignerShortName":"TuranSec","assignerOrgId":"309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c","dateReserved":"2026-08-04T07:13:07.992Z"},"containers":{"cna":{"title":"Koha - SQL Injection in reports/bor_issues_top.pl","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Koha Community","product":"Koha","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"24.11.17","versionType":"semver"},{"version":"25.05.00","status":"affected","lessThanOrEqual":"25.05.12","versionType":"semver"},{"version":"25.11.00","status":"affected","lessThanOrEqual":"25.11.06","versionType":"semver"},{"version":"26.05.00","status":"affected","lessThanOrEqual":"26.05.01","versionType":"semver"}],"collectionURL":"https://koha-community.org/","repo":"https://gitlab.com/koha-community/Koha","programFiles":["reports/bor_issues_top.pl"]}],"references":[{"url":"https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42369","tags":["third-party-advisory"]},{"url":"https://koha-community.org/koha-25-05-12-released/","tags":["third-party-advisory"]},{"url":"https://download.koha-community.org/koha-25.05.12.tar.gz","tags":["third-party-advisory"]}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":8.8,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-89","lang":"en","description":"CWE-89 SQL Injection","type":"CWE"}]}],"providerMetadata":{"shortName":"TuranSec","orgId":"309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c","dateUpdated":"2026-08-10T11:44:44.671Z"},"credits":[{"lang":"en","value":"Sanjar Tulkinov Anvar o'g'li","type":"finder"}],"source":{"discovery":"EXTERNAL"},"datePublic":"2026-08-04T13:00:12.836Z"},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":6.5,"attackVector":"NETWORK","baseSeverity":"MEDIUM","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","integrityImpact":"NONE","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"NONE","privilegesRequired":"LOW","confidentialityImpact":"HIGH"}},{"other":{"type":"ssvc","content":{"timestamp":"2026-08-04T17:22:31.575799Z","id":"CVE-2026-70372","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-08-04T17:23:04.169Z"}}]}}}