LiveActive security incident?Get immediate response
CVE Record

CVE-2026-31844: Authenticated SQL Injection in Koha displayby parameter of suggestion.pl

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.

CriticalCVSS 9Not KEV-listedUpdated
Glexia's TakeAutomated analysiscritical

Security readout for executives and security teams

Plain-English summary

Koha staff users with valid credentials may be able to manipulate a report parameter and access or alter the library system’s backend database. This could expose patron, catalogue, account, or operational data stored there. The supplied record rates the issue critical, but provides no evidence of active exploitation.

Executive priority

Treat as an urgent remediation item for affected Koha installations, especially internet-accessible staff interfaces. Authentication is required, but stolen or misused staff credentials could turn this into a full database confidentiality and integrity incident.

Technical view

CVE-2026-31844 is an authenticated SQL injection in Koha’s staff endpoint /cgi-bin/koha/suggestion/suggestion.pl. Improper validation of the displayby parameter, used by GetDistinctValues, may permit database disclosure, modification, or broader compromise. The supplied CVSS v2 score is 9.0 (AV:N/AC:L/Au:S/C:C/I:C/A:C).

Likely exposure

The supplied record identifies Koha 24.11.0, 25.05.0, and 25.11.0. Exploitation requires authenticated access to the staff interface, reducing anonymous exposure but increasing concern where credentials are compromised or broadly assigned. Evidence supplied does not establish wider affected version ranges.

Exploitation context

The attack is remotely reachable but requires a valid Koha staff session. The CVE is not listed as KEV in the supplied bundle, and no supplied source claims active exploitation. Database impact could be severe if exploitation succeeds.

Researcher notes

The vulnerable data flow is displayby into GetDistinctValues within suggestion.pl, categorized as CWE-89. The bundle identifies three affected releases but does not provide complete version-boundary or patch-diff details. Avoid inferring additional affected versions or confirmed exploitation without vendor evidence.

Mitigation direction

  • Inventory Koha deployments and identify whether any run the three listed versions.
  • Consult the linked Koha advisory and release notes for the vendor-approved corrected release.
  • Prioritize remediation for staff interfaces reachable from untrusted or broadly accessible networks.
  • Restrict staff-interface access and review unnecessary staff accounts while remediation is pending.
  • Back up the database and protect backups before applying vendor-directed changes.

Validation and detection

  • Confirm the deployed Koha version using trusted asset or deployment records.
  • Verify staff-interface network exposure and authentication controls.
  • Review access logs for unusual requests involving suggestion.pl or the displayby parameter.
  • Examine database audit logs for unexpected queries or unauthorized data changes.
  • After remediation, confirm the installed version matches current Koha guidance.
Prepared
Confidence
high
Sources
5

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · medium confidence lookup

CWE-89: Database access and collection lookup

Injection into data stores can inform collection, data access, and exfiltration detection reviews. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
description · low confidence lookup

Database behavior lookup

The CVE wording references database injection or access, so collection and exfiltration review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2026-31844 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Critical
CVSS
9 (2.0)
Known Exploited
No
Published

Vector: AV:N/AC:L/Au:S/C:C/I:C/A:C

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

3CVSS vectors
3Timeline events
1ADP providers
4Source links

SSVC decision data

CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: pocAutomatable: noTechnical Impact: total

CVSS vector scores

3 official scores

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
9CVSS 2.0CriticalAV:N/AC:L/Au:S/C:C/I:C/A:C810TuranSec
8.8CVSS 3.1HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H2.85.9TuranSec
8.7CVSS 4.0HighCVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N——TuranSec

Vulnerability scoring details

Base CVSS 4.0 score

8.7High
CVSS 4.0 vector shape for CVE-2026-31844Attack VectorAttack ComplexityAttack RequirementsPrivileges RequiredUser InteractionVS ConfidentialityVS IntegrityVS AvailabilitySS ConfidentialitySS IntegritySS Availability

Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Attack Requirements
NonePresent
Privileges Required
NoneLowHigh
User Interaction
NonePassiveActive
VS Confidentiality
HighLowNone
VS Integrity
HighLowNone
VS Availability
HighLowNone
SS Confidentiality
HighLowNone
SS Integrity
HighLowNone
SS Availability
HighLowNone

Vulnerability timeline

Timeline events are normalized from CVE metadata, CNA source timelines, ADP timelines, and KEV metadata when present.

  1. CVE reservedCVE Program

    The CVE ID was reserved by the assigning CNA.

  2. CVE publishedCVE Program

    The CVE record was published.

  3. CVE updatedCVE Program

    The CVE record metadata indicates this as the latest update time.

ADP provider summaries

CISA-ADPCISA ADP Vulnrichment
other:ssvc

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
Koha CommunityKoha24.11.0, 25.05.0, 25.11.0unaffected
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-89 · source CWE mapping

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

Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.