{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-66001",
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "state": "PUBLISHED",
        "assignerShortName": "GitHub_M",
        "dateReserved": "2026-07-23T18:54:15.833Z",
        "datePublished": "2026-08-20T18:27:32.056Z",
        "dateUpdated": "2026-08-20T18:27:32.056Z"
    },
    "containers": {
        "cna": {
            "title": "Frappe: Improper Authorization in OAuth2 Consent Endpoint",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-352",
                            "lang": "en",
                            "description": "CWE-352: Cross-Site Request Forgery (CSRF)",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "metrics": [
                {
                    "cvssV4_0": {
                        "attackVector": "NETWORK",
                        "attackComplexity": "LOW",
                        "attackRequirements": "NONE",
                        "privilegesRequired": "NONE",
                        "userInteraction": "ACTIVE",
                        "vulnConfidentialityImpact": "HIGH",
                        "vulnIntegrityImpact": "HIGH",
                        "vulnAvailabilityImpact": "NONE",
                        "subConfidentialityImpact": "NONE",
                        "subIntegrityImpact": "NONE",
                        "subAvailabilityImpact": "NONE",
                        "baseScore": 8.5,
                        "baseSeverity": "HIGH",
                        "vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N",
                        "version": "4.0"
                    }
                }
            ],
            "references": [
                {
                    "name": "https://github.com/frappe/frappe/security/advisories/GHSA-2ph8-x773-8p2x",
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://github.com/frappe/frappe/security/advisories/GHSA-2ph8-x773-8p2x"
                },
                {
                    "name": "https://github.com/frappe/frappe/pull/40073",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/frappe/frappe/pull/40073"
                },
                {
                    "name": "https://github.com/frappe/frappe/pull/40700",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/frappe/frappe/pull/40700"
                },
                {
                    "name": "https://github.com/frappe/frappe/pull/40701",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/frappe/frappe/pull/40701"
                },
                {
                    "name": "https://github.com/frappe/frappe/commit/336c7d335db762b494acdfe43aea69d459fd51d7",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/frappe/frappe/commit/336c7d335db762b494acdfe43aea69d459fd51d7"
                },
                {
                    "name": "https://github.com/frappe/frappe/commit/d7460769f999c68d3121b680119f8724ddd3eb9d",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/frappe/frappe/commit/d7460769f999c68d3121b680119f8724ddd3eb9d"
                },
                {
                    "name": "https://github.com/frappe/frappe/commit/eb9c1446cac13236c6d573b136786db2e46254fa",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/frappe/frappe/commit/eb9c1446cac13236c6d573b136786db2e46254fa"
                },
                {
                    "name": "https://github.com/frappe/frappe/releases/tag/v15.114.0",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/frappe/frappe/releases/tag/v15.114.0"
                },
                {
                    "name": "https://github.com/frappe/frappe/releases/tag/v16.26.0",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/frappe/frappe/releases/tag/v16.26.0"
                }
            ],
            "affected": [
                {
                    "vendor": "frappe",
                    "product": "frappe",
                    "versions": [
                        {
                            "version": "< 15.114.0",
                            "status": "affected"
                        },
                        {
                            "version": ">= 16.0.0-beta.1, < 16.26.0",
                            "status": "affected"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
                "shortName": "GitHub_M",
                "dateUpdated": "2026-08-20T18:27:32.056Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "Frappe is a full-stack web application framework. Prior to 15.114.0 and 16.26.0, the approve and authorize functions in frappe/integrations/oauth2.py allow the OAuth2 consent flow to proceed without restricting approve to POST, without a csrf_token in frappe/templates/includes/oauth_confirmation.html, and without scoping an active OAuth token check to the requesting client. An attacker can cause an authenticated user to approve an OAuth grant or reuse authorization state for the wrong client, exposing data and permitting actions within the granted scopes. This issue is fixed in versions 15.114.0 and 16.26.0."
                }
            ],
            "source": {
                "advisory": "GHSA-2ph8-x773-8p2x",
                "discovery": "UNKNOWN"
            }
        }
    }
}