CVE-2026-31844
JSON

8.7high

Authenticated SQL Injection in Koha displayby parameter of suggestion.pl

Severity
8.7high CVSS:4.0 by TuranSec
Exploit likelihood
0.42% (higher than 38% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
TuranSec

Description

An authenticated SQL Injection vulnerability (CWE-89) exists in the Koha staff interface in the /cgi-bin/koha/suggestion/suggestion.pl endpoint due to improper validation of the displayby parameter used by the GetDistinctValues functionality. Successful exploitation may lead to full compromise of the backend database, including disclosure or modification of stored data.

Affected

Product or packageVersionsReported by
Koha Community Kohafrom 24.11.0 up to 24.11.12, from 25.05.0 up to 25.05.07, from 25.11.0 up to 25.11.01CVE List
koha kohafrom 24.11.0 before 24.11.12, from 25.05.0 before 25.05.07, 25.11.00NVD

All scores

TuranSec8.7high CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
TuranSec8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
TuranSec9.0critical CVSS:2.0AV:N/AC:L/Au:S/C:C/I:C/A:C

Classification

CWE-89

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total.

What each source says

CVE List

An authenticated SQL Injection vulnerability (CWE-89) exists in the Koha staff interface in the /cgi-bin/koha/suggestion/suggestion.pl endpoint due to improper validation of the displayby parameter used by the GetDistinctValues functionality. Successful exploitation may lead to full compromise of the backend database, including disclosure or modification of stored data.

NVD (es)

Existe una vulnerabilidad de inyección SQL autenticada (CWE-89) en la interfaz de personal de Koha, en el endpoint /cgi-bin/koha/suggestion/suggestion.pl, debido a una validación incorrecta del parámetro displayby utilizado por la funcionalidad GetDistinctValues. Un usuario de personal con bajos privilegios puede inyectar consultas SQL arbitrarias a través de solicitudes manipuladas a este parámetro, permitiendo la ejecución de sentencias SQL no intencionadas y la exposición de información sensible de la base de datos. La explotación exitosa puede llevar a un compromiso total de la base de datos de backend, incluyendo la divulgación o modificación de los datos almacenados.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-31844 changed 2026-08-10CVE Terms of Use
NVDCVE-2026-31844 changed 2026-08-10Public domain