{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-47199",
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "state": "PUBLISHED",
        "assignerShortName": "GitHub_M",
        "dateReserved": "2026-05-18T22:07:37.436Z",
        "datePublished": "2026-07-10T21:14:12.195Z",
        "dateUpdated": "2026-07-13T15:59:34.730Z"
    },
    "containers": {
        "cna": {
            "title": "Frappe: check_safe_sql_query Permits SELECT INTO OUTFILE",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-89",
                            "lang": "en",
                            "description": "CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "metrics": [
                {
                    "cvssV4_0": {
                        "attackVector": "NETWORK",
                        "attackComplexity": "LOW",
                        "attackRequirements": "PRESENT",
                        "privilegesRequired": "LOW",
                        "userInteraction": "NONE",
                        "vulnConfidentialityImpact": "NONE",
                        "vulnIntegrityImpact": "LOW",
                        "vulnAvailabilityImpact": "NONE",
                        "subConfidentialityImpact": "NONE",
                        "subIntegrityImpact": "NONE",
                        "subAvailabilityImpact": "NONE",
                        "baseScore": 2.3,
                        "baseSeverity": "LOW",
                        "vectorString": "CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N",
                        "version": "4.0"
                    }
                }
            ],
            "references": [
                {
                    "name": "https://github.com/frappe/frappe/security/advisories/GHSA-wx8j-cw4r-vrhv",
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://github.com/frappe/frappe/security/advisories/GHSA-wx8j-cw4r-vrhv"
                },
                {
                    "name": "https://github.com/frappe/frappe/pull/39345",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/frappe/frappe/pull/39345"
                },
                {
                    "name": "https://github.com/frappe/frappe/pull/39346",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/frappe/frappe/pull/39346"
                },
                {
                    "name": "https://github.com/frappe/frappe/commit/628e103f7ffe307447d9fc9e2c572cbddedfa3b5",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/frappe/frappe/commit/628e103f7ffe307447d9fc9e2c572cbddedfa3b5"
                },
                {
                    "name": "https://github.com/frappe/frappe/commit/91d3ded038d1c901b73f4a2293e134d691c1662d",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/frappe/frappe/commit/91d3ded038d1c901b73f4a2293e134d691c1662d"
                },
                {
                    "name": "https://github.com/frappe/frappe/releases/tag/v15.108.0",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/frappe/frappe/releases/tag/v15.108.0"
                },
                {
                    "name": "https://github.com/frappe/frappe/releases/tag/v16.18.3",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/frappe/frappe/releases/tag/v16.18.3"
                }
            ],
            "affected": [
                {
                    "vendor": "frappe",
                    "product": "frappe",
                    "versions": [
                        {
                            "version": "< 15.108.0",
                            "status": "affected"
                        },
                        {
                            "version": ">= 16.0.0-beta.1, < 16.18.3",
                            "status": "affected"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
                "shortName": "GitHub_M",
                "dateUpdated": "2026-07-10T21:14:12.195Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "Frappe is a full-stack web application framework. Prior to 16.18.3 and 15.108.0, check_safe_sql_query permitted SELECT INTO OUTFILE queries, which could potentially work on self-hosted sites if database permissions are not well aligned and MySQL FILE privileges are available. This issue is fixed in versions 16.18.3 and 15.108.0."
                }
            ],
            "source": {
                "advisory": "GHSA-wx8j-cw4r-vrhv",
                "discovery": "UNKNOWN"
            }
        },
        "adp": [
            {
                "metrics": [
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2026-07-13T15:59:27.298539Z",
                                "id": "CVE-2026-47199",
                                "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-07-13T15:59:34.730Z"
                }
            }
        ]
    }
}