CVE-2026-31844

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. A low-privileged staff user can inject arbitrary SQL queries via crafted requests to this parameter, allowing execution of unintended SQL statements and exposure of sensitive database information. Successful exploitation may lead to full compromise of the backend database, including disclosure or modification of stored data.
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:koha:koha:*:*:*:*:*:*:*:*
cpe:2.3:a:koha:koha:*:*:*:*:*:*:*:*
cpe:2.3:a:koha:koha:25.11.00:*:*:*:*:*:*:*

History

07 May 2026, 18:27

Type Values Removed Values Added
Summary
  • (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.
CPE cpe:2.3:a:koha:koha:*:*:*:*:*:*:*:*
cpe:2.3:a:koha:koha:25.11.00:*:*:*:*:*:*:*
First Time Koha koha
Koha
References () https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41593 - () https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41593 - Issue Tracking
References () https://koha-community.gitlab.io/KohaAdvent/2025-12-09-security-all/ - () https://koha-community.gitlab.io/KohaAdvent/2025-12-09-security-all/ - Not Applicable
References () https://koha-community.org/koha-25-11-01-released/ - () https://koha-community.org/koha-25-11-01-released/ - Release Notes

11 Mar 2026, 08:16

Type Values Removed Values Added
Summary (en) An authenticated SQL Injection vulnerability (CWE-89) in the displayby parameter of /cgi-bin/koha/suggestion/suggestion.pl in Koha allows a low-privileged staff user to execute arbitrary SQL queries and retrieve sensitive database information. (en) 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. A low-privileged staff user can inject arbitrary SQL queries via crafted requests to this parameter, allowing execution of unintended SQL statements and exposure of sensitive database information. Successful exploitation may lead to full compromise of the backend database, including disclosure or modification of stored data.
References
  • () https://koha-community.gitlab.io/KohaAdvent/2025-12-09-security-all/ -
  • () https://koha-community.org/koha-25-11-01-released/ -

11 Mar 2026, 07:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-03-11 07:16

Updated : 2026-06-17 10:34


NVD link : CVE-2026-31844

Mitre link : CVE-2026-31844

CVE.ORG link : CVE-2026-31844


JSON object : View

Products Affected

koha

  • koha
CWE
CWE-89

Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')