{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-70370",
        "assignerOrgId": "309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c",
        "state": "PUBLISHED",
        "assignerShortName": "TuranSec",
        "dateReserved": "2026-08-04T07:13:07.992Z",
        "datePublished": "2026-08-04T13:00:07.967Z",
        "dateUpdated": "2026-08-10T11:44:40.413Z"
    },
    "containers": {
        "cna": {
            "title": "Koha - SQL Injection in reports/catalogue_stats.pl",
            "descriptions": [
                {
                    "lang": "en",
                    "value": "Koha's reports/catalogue_stats.pl builds dynamic SQL in sub calculate by interpolating the user-controlled Line and Column request parameters directly into identifier positions of the query (SELECT DISTINCTROW, GROUP BY, ORDER BY) with no whitelist validation.",
                    "supportingMedia": [
                        {
                            "type": "text/html",
                            "base64": false,
                            "value": "<p>Koha's reports/catalogue_stats.pl builds dynamic SQL in sub calculate by interpolating the user-controlled Line and Column request parameters directly into identifier positions of the query (SELECT DISTINCTROW, GROUP BY, ORDER BY) with no whitelist validation.</p>"
                        }
                    ]
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "lang": "en",
                            "description": "CWE-89 SQL Injection",
                            "cweId": "CWE-89",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "affected": [
                {
                    "vendor": "Koha Community",
                    "product": "Koha",
                    "collectionURL": "https://koha-community.org/",
                    "repo": "https://gitlab.com/koha-community/Koha",
                    "programFiles": [
                        "reports/catalogue_stats.pl"
                    ],
                    "versions": [
                        {
                            "version": "0",
                            "versionType": "semver",
                            "status": "affected",
                            "lessThanOrEqual": "24.11.17"
                        },
                        {
                            "version": "25.05.00",
                            "versionType": "semver",
                            "status": "affected",
                            "lessThanOrEqual": "25.05.12"
                        },
                        {
                            "version": "25.11.00",
                            "versionType": "semver",
                            "status": "affected",
                            "lessThanOrEqual": "25.11.06"
                        },
                        {
                            "version": "26.05.00",
                            "versionType": "semver",
                            "status": "affected",
                            "lessThanOrEqual": "26.05.01"
                        }
                    ],
                    "defaultStatus": "unaffected"
                }
            ],
            "references": [
                {
                    "url": "https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42363",
                    "tags": [
                        "third-party-advisory"
                    ]
                },
                {
                    "url": "https://koha-community.org/koha-25-05-12-released/",
                    "tags": [
                        "third-party-advisory"
                    ]
                },
                {
                    "url": "https://download.koha-community.org/koha-25.05.12.tar.gz",
                    "tags": [
                        "third-party-advisory"
                    ]
                }
            ],
            "credits": [
                {
                    "lang": "en",
                    "value": "Sanjar Tulkinov Anvar o'g'li",
                    "type": "finder"
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "version": "3.1",
                        "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
                        "baseScore": 8.8,
                        "baseSeverity": "HIGH",
                        "attackVector": "NETWORK",
                        "attackComplexity": "LOW",
                        "privilegesRequired": "LOW",
                        "userInteraction": "NONE",
                        "scope": "UNCHANGED",
                        "confidentialityImpact": "HIGH",
                        "integrityImpact": "HIGH",
                        "availabilityImpact": "HIGH"
                    }
                }
            ],
            "providerMetadata": {
                "orgId": "309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c",
                "shortName": "TuranSec",
                "dateUpdated": "2026-08-10T11:44:40.413Z"
            },
            "source": {
                "discovery": "EXTERNAL"
            },
            "datePublic": "2026-08-04T13:00:07.967Z"
        },
        "adp": [
            {
                "metrics": [
                    {
                        "cvssV3_1": {
                            "scope": "UNCHANGED",
                            "version": "3.1",
                            "baseScore": 6.5,
                            "attackVector": "NETWORK",
                            "baseSeverity": "MEDIUM",
                            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N",
                            "integrityImpact": "NONE",
                            "userInteraction": "NONE",
                            "attackComplexity": "LOW",
                            "availabilityImpact": "NONE",
                            "privilegesRequired": "LOW",
                            "confidentialityImpact": "HIGH"
                        }
                    },
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2026-08-04T17:20:50.487239Z",
                                "id": "CVE-2026-70370",
                                "options": [
                                    {
                                        "Exploitation": "none"
                                    },
                                    {
                                        "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-08-04T17:21:08.809Z"
                }
            }
        ]
    }
}