{"id":"CVE-2026-70370","state":"PUBLISHED","title":"Koha - SQL Injection in reports/catalogue_stats.pl","description":"Koha's reports/catalogue_stats.pl builds dynamic SQL in sub calculate by interpolating the user-controlled Line and Column request parameters directly into identifier positions of the query (SELECT DISTINCTROW, GROUP BY, ORDER BY) with no whitelist validation.","publishedAt":"2026-08-04T13:00:07.967Z","updatedAt":"2026-08-10T11:44:40.413Z","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/catalogue_stats.pl"]}],"references":["https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42363","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-70370.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-70370","state":"PUBLISHED","datePublished":"2026-08-04T13:00:07.967Z","dateUpdated":"2026-08-10T11:44:40.413Z","assignerShortName":"TuranSec","assignerOrgId":"309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c","dateReserved":"2026-08-04T07:13:07.992Z"},"containers":{"cna":{"title":"Koha - SQL Injection in reports/catalogue_stats.pl","descriptions":[{"lang":"en","value":"Koha's reports/catalogue_stats.pl builds dynamic SQL in sub calculate by interpolating the user-controlled Line and Column request parameters directly into identifier positions of the query (SELECT DISTINCTROW, GROUP BY, ORDER BY) with no whitelist validation."}],"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/catalogue_stats.pl"]}],"references":[{"url":"https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42363","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:40.413Z"},"credits":[{"lang":"en","value":"Sanjar Tulkinov Anvar o'g'li","type":"finder"}],"source":{"discovery":"EXTERNAL"},"datePublic":"2026-08-04T13:00:07.967Z"},"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:20:50.487239Z","id":"CVE-2026-70370","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:21:08.809Z"}}]}}}