PoC Monitor
← All CVEs
CVE-2026-31844published 11 Mar 2026 06:34 UTCData: JSON · API

Koha Community Koha

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.

First public PoC 16 hafter publication · 11 Mar 2026
Public PoCs11 on GitHub
CVSS9.0critical · scored by CNA · CWE-89
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

Koha Community Koha
  • >= 24.11.0, <= 24.11.12
  • >= 25.05.0, <= 25.05.07
  • >= 25.11.0, <= 25.11.01

Mitigation

The record names no fix. Check the vendor advisory below.

References

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published11 Mar 2026 · t = 0First public PoC11 Mar 2026 · t+16h

First public PoC 16 h after publication; not in CISA KEV. First PoC: Mothra-1/CVE-2026-31844 (created 11 Mar 2026, found by us: backfilled).

PoC repositories

Found on GitHub.

1 PoCs

PoCs 1
RepositoryCreatedStarsAssessment
Mothra-1/CVE-2026-31844 11 Mar 2026 +16 h 1 PoC
Flags · score 30
  • owner account created less than 7 days before the repo

Below the suspicion threshold (50); does not change the assessment.

Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.

PoC characteristics

What to hunt for in your logs · from 1 PoC repo

GET /cgi-bin/koha/suggestion/suggestion.pl

Query
op=else displayby=STATUS
Key headers
Cookie: CGISESSID=your_session_id_here
Ports
8081
PoC User-Agent
Mozilla/5.0
Seen in
1 repo: Mothra-1/CVE-2026-31844
Evidence
Mothra-1/CVE-2026-31844/README.md:120

Regex

Generated from PoC characteristics; not yet reviewed. Matches the request path and query.

GET /cgi-bin/koha/suggestion/suggestion.pl
(?i)^/cgi-bin/koha/suggestion/suggestion\.pl\?(?:.*&)?op=else.*displayby=STATUS

Suricata

Template generated from PoC characteristics. Review before deploying.

GET /cgi-bin/koha/suggestion/suggestion.pl
alert http any any -> $HOME_NET [8081] (msg:"GG PoC-Monitor CVE-2026-31844 Koha Community Koha exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/cgi-bin/koha/suggestion/suggestion.pl"; http.uri; content:"op=else"; http.uri; content:"displayby=STATUS"; http.header; content:"Cookie: CGISESSID=your_session_id_here"; nocase; reference:url,poc.griffinguard.io/cve/CVE-2026-31844; classtype:web-application-attack; sid:9731689; rev:1;)

Sigma

Template generated from PoC characteristics. Review before deploying.

GET /cgi-bin/koha/suggestion/suggestion.pl
title: Koha Community Koha exploit attempt (CVE-2026-31844)
id: gg-pocmon-cve-2026-31844-9731689
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-31844. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2026-31844
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/cgi-bin/koha/suggestion/suggestion.pl'
    cs-uri-query|contains|all:
      - 'op=else'
      - 'displayby=STATUS'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2026.31844