{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-31844 exists.","fix":"No fix has been published for CVE-2026-31844 yet. Limit exposure of the affected software until one is available.","what":"CVE-2026-31844 is a high-severity SQL injection vulnerability in Koha, published on 11 Mar 2026. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-31844 and fix it if it is affected.\n\nWhat it is: CVE-2026-31844 is a high-severity SQL injection vulnerability in Koha, published on 11 Mar 2026. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-31844 exists.\n\nAffected product: Koha. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-31844/ (Markdown: https://insights.sbomify.com/CVE-2026-31844/index.md)","id":"CVE-2026-31844","markdown":"https://insights.sbomify.com/CVE-2026-31844/index.md","name":"CVE-2026-31844","record":{"aliases":["GHSA-x6wm-w6mm-jpf2"],"analysis":{"component_type":"web_application","fix_type":"patch","impacts":["data_read","data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"Koha ILS","requires_auth":"low_privilege","summary":"Authenticated attackers can exploit SQL injection in Koha's suggestion interface to read or modify backend database data.","user_interaction":"not_required","vuln_class":"sql_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"TuranSec","cpe":[{"product":"koha","vendor":"koha"}],"cvss":{"score":8.7,"severity":"high","source":"cna","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","version":"4.0"},"cwes":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command"}],"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.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":"2026-03-11","github_poc":1,"max_poc_stars":1,"metasploit":0,"nuclei":0,"refs":[{"date":"2026-03-11T22:53:00Z","kind":"github_poc","ref":"https://github.com/Mothra-1/CVE-2026-31844","stars":1,"title":null}],"tier":"weaponised"},"has_fix":false,"headline":"Authenticated SQL Injection in Koha displayby parameter of suggestion.pl","id":"CVE-2026-31844","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"sql_injection","year":"2026"},"n_packages":0,"n_references":3,"next":{"headline":"Rukovoditel CRM Reflected XSS via zd_echo Parameter in Zadarma Telephony API Endpoint","id":"CVE-2026-31845"},"packages":[],"prev":{"headline":"goodoneuz/pay-uz Unauthenticated PHP File Overwrite via /payment/api/editable/update Leading to Remote Code Execution","id":"CVE-2026-31843"},"products":["Koha"],"published":"2026-03-11","related":[{"cvss_score":9.8,"headline":"SQL injection in n/a","id":"CVE-2014-1924","kev_date_added":null,"published":"2020-01-24"},{"cvss_score":9.8,"headline":"SQL injection in n/a","id":"CVE-2014-1925","kev_date_added":null,"published":"2020-01-24"},{"cvss_score":9.8,"headline":"SQL injection in n/a","id":"CVE-2015-4633","kev_date_added":null,"published":"2018-10-18"},{"cvss_score":9.6,"headline":"Command injection in n/a","id":"CVE-2024-28739","kev_date_added":null,"published":"2024-08-06"},{"cvss_score":8.8,"headline":"Code injection in n/a","id":"CVE-2024-24337","kev_date_added":null,"published":"2024-02-12"},{"cvss_score":8.8,"headline":"KOHA Library System version 16.11.x (up until 16.11.13) and 17.05.x (up until 17.05.05) contains a Cross Site Request Forgery (CSRF) vulnera","id":"CVE-2018-1000669","kev_date_added":null,"published":"2018-09-06"},{"cvss_score":8.8,"headline":"Cross-site scripting in n/a","id":"CVE-2015-4639","kev_date_added":null,"published":"2017-07-21"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-08-10","vendors":["Koha Community"]},"summary":"Authenticated attackers can exploit SQL injection in Koha's suggestion interface to read or modify backend database data.","url":"https://insights.sbomify.com/CVE-2026-31844/"}