{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-6428",
        "assignerOrgId": "309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c",
        "state": "PUBLISHED",
        "assignerShortName": "TuranSec",
        "dateReserved": "2026-04-16T12:58:10.800Z",
        "datePublished": "2026-06-13T16:34:10.326Z",
        "dateUpdated": "2026-08-10T11:44:35.818Z"
    },
    "containers": {
        "cna": {
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "lang": "en",
                            "cweId": "CWE-89",
                            "description": "CWE-89 Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "impacts": [
                {
                    "descriptions": [
                        {
                            "lang": "en",
                            "value": "An authenticated staff user holding the Reports module permission can inject arbitrary SQL into the auxiliary $strsth2 statement built inside sub calculate when $tablename eq 'branches'. Because the statement is sent to DBI without bound parameters, the attacker can read any row and column accessible to the Koha application database user, including the borrowers table (password hashes, two-factor authentication secrets, personally identifiable information), borrower_password_recovery, api_keys, sessions, and all circulation data. Error-based exfiltration is single-request (EXTRACTVALUE) and exposed through the DBI exception surfaced by the Reports CGI; time-based extraction and denial of service against the database remain possible even after the related information-disclosure issue (Koha bug 42366) is patched."
                        }
                    ]
                }
            ],
            "affected": [
                {
                    "vendor": "Koha Community",
                    "product": "Koha",
                    "collectionURL": "https://koha-community.org/",
                    "repo": "https://gitlab.com/koha-community/Koha",
                    "programFiles": [
                        "reports/catalogue_out.pl"
                    ],
                    "versions": [
                        {
                            "status": "affected",
                            "version": "0",
                            "versionType": "semver",
                            "lessThanOrEqual": "22.11.38"
                        },
                        {
                            "status": "affected",
                            "version": "23.05.00",
                            "lessThanOrEqual": "23.11.15",
                            "versionType": "semver"
                        },
                        {
                            "status": "affected",
                            "version": "24.05.00",
                            "versionType": "semver",
                            "lessThanOrEqual": "24.11.16"
                        },
                        {
                            "status": "affected",
                            "version": "25.05.00",
                            "versionType": "semver",
                            "lessThanOrEqual": "25.05.11"
                        },
                        {
                            "status": "affected",
                            "version": "25.11.00",
                            "versionType": "semver",
                            "lessThanOrEqual": "25.11.05"
                        },
                        {
                            "status": "affected",
                            "version": "26.05.00",
                            "versionType": "semver",
                            "lessThanOrEqual": "26.05.01"
                        }
                    ],
                    "defaultStatus": "unaffected"
                }
            ],
            "descriptions": [
                {
                    "lang": "en",
                    "value": "SQL Injection in reports/catalogue_out.pl in Koha Community Koha through 22.11.37, 23.x, 24.x before 24.11.16, 25.05.x before 25.05.11, 25.11.x before 25.11.05, 26.05.x before 26.05.01, and 26.11.x before 26.11.00 allows an authenticated staff user with the Reports module flag to read arbitrary data from the Koha application database via the Filter URL parameter when the Criteria parameter matches /branchcode/.",
                    "supportingMedia": [
                        {
                            "type": "text/html",
                            "base64": false,
                            "value": "<p>SQL Injection in reports/catalogue_out.pl in Koha Community Koha through 22.11.37, 23.x, 24.x before 24.11.16, 25.05.x before 25.05.11, 25.11.x before 25.11.05, 26.05.x before 26.05.01, and 26.11.x before 26.11.00 allows an authenticated staff user with the Reports module flag to read arbitrary data from the Koha application database via the Filter URL parameter when the Criteria parameter matches /branchcode/.</p>"
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42361",
                    "name": "Koha Bug 42361 - SQL Injection in reports/catalogue_out.pl via Filter parameter",
                    "tags": [
                        "issue-tracking",
                        "vendor-advisory"
                    ]
                },
                {
                    "url": "https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=199539",
                    "name": "Bug 42361: Fix SQL injection in catalogue_out.pl (official patch)",
                    "tags": [
                        "patch",
                        "vendor-advisory"
                    ]
                },
                {
                    "url": "https://koha-community.org/security-releases/",
                    "name": "Koha Community Security Releases",
                    "tags": [
                        "vendor-advisory"
                    ]
                }
            ],
            "metrics": [
                {
                    "format": "CVSS",
                    "scenarios": [
                        {
                            "lang": "en",
                            "value": "An authenticated staff user holding the Reports module flag sends a crafted GET request to /cgi-bin/koha/reports/catalogue_out.pl with Criteria=branchcode and a malicious Filter parameter to read arbitrary data from the Koha application database."
                        }
                    ],
                    "cvssV4_0": {
                        "attackVector": "NETWORK",
                        "attackComplexity": "LOW",
                        "attackRequirements": "PRESENT",
                        "privilegesRequired": "LOW",
                        "userInteraction": "NONE",
                        "vulnConfidentialityImpact": "HIGH",
                        "subConfidentialityImpact": "NONE",
                        "vulnIntegrityImpact": "LOW",
                        "subIntegrityImpact": "NONE",
                        "vulnAvailabilityImpact": "LOW",
                        "subAvailabilityImpact": "NONE",
                        "exploitMaturity": "PROOF_OF_CONCEPT",
                        "Safety": "NOT_DEFINED",
                        "Automatable": "YES",
                        "Recovery": "NOT_DEFINED",
                        "valueDensity": "CONCENTRATED",
                        "vulnerabilityResponseEffort": "NOT_DEFINED",
                        "providerUrgency": "AMBER",
                        "version": "4.0",
                        "baseSeverity": "MEDIUM",
                        "baseScore": 5.6,
                        "vectorString": "CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:L/VA:L/SC:N/SI:N/SA:N/E:P/AU:Y/V:C/U:Amber"
                    }
                },
                {
                    "format": "CVSS",
                    "scenarios": [
                        {
                            "lang": "en",
                            "value": "GENERAL"
                        }
                    ],
                    "cvssV3_1": {
                        "version": "3.1",
                        "attackVector": "NETWORK",
                        "attackComplexity": "LOW",
                        "privilegesRequired": "LOW",
                        "userInteraction": "NONE",
                        "scope": "UNCHANGED",
                        "confidentialityImpact": "HIGH",
                        "integrityImpact": "LOW",
                        "availabilityImpact": "LOW",
                        "baseSeverity": "HIGH",
                        "baseScore": 7.6,
                        "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L"
                    }
                },
                {
                    "format": "CVSS",
                    "scenarios": [
                        {
                            "lang": "en",
                            "value": "GENERAL"
                        }
                    ],
                    "cvssV2_0": {
                        "version": "2.0",
                        "accessVector": "NETWORK",
                        "accessComplexity": "LOW",
                        "authentication": "SINGLE",
                        "confidentialityImpact": "COMPLETE",
                        "integrityImpact": "NONE",
                        "availabilityImpact": "PARTIAL",
                        "baseScore": 7.5,
                        "vectorString": "AV:N/AC:L/Au:S/C:C/I:N/A:P"
                    }
                }
            ],
            "credits": [
                {
                    "lang": "en",
                    "value": "Sanjar Tulkinov (Sanjarbiy)",
                    "type": "finder"
                }
            ],
            "source": {
                "discovery": "EXTERNAL"
            },
            "x_author": "Sanjar Tulkinov (Sanjarbiy)",
            "title": "Koha SQL Injection in reports/catalogue_out.pl via Filter URL Parameter",
            "providerMetadata": {
                "orgId": "309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c",
                "shortName": "TuranSec",
                "dateUpdated": "2026-08-10T11:44:35.818Z"
            },
            "datePublic": "2026-06-13T16:34:10.326Z"
        },
        "adp": [
            {
                "metrics": [
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2026-06-15T17:19:10.550362Z",
                                "id": "CVE-2026-6428",
                                "options": [
                                    {
                                        "Exploitation": "poc"
                                    },
                                    {
                                        "Automatable": "no"
                                    },
                                    {
                                        "Technical Impact": "partial"
                                    }
                                ],
                                "role": "CISA Coordinator",
                                "version": "2.0.3"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2026-06-15T17:19:39.716Z"
                }
            }
        ]
    }
}