{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-12866",
        "assignerOrgId": "bae035ff-b466-4ff4-94d0-fc9efd9e1730",
        "state": "PUBLISHED",
        "assignerShortName": "snyk",
        "dateReserved": "2026-06-22T08:22:34.991Z",
        "datePublished": "2026-06-23T05:00:00.763Z",
        "dateUpdated": "2026-08-14T15:25:14.399Z"
    },
    "containers": {
        "cna": {
            "metrics": [
                {
                    "cvssV3_1": {
                        "version": "3.1",
                        "attackVector": "NETWORK",
                        "attackComplexity": "LOW",
                        "exploitCodeMaturity": "NOT_DEFINED",
                        "privilegesRequired": "NONE",
                        "userInteraction": "NONE",
                        "scope": "UNCHANGED",
                        "confidentialityImpact": "HIGH",
                        "integrityImpact": "HIGH",
                        "availabilityImpact": "HIGH",
                        "baseScore": 9.8,
                        "baseSeverity": "CRITICAL",
                        "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
                    },
                    "cvssV4_0": {
                        "version": "4.0",
                        "attackVector": "NETWORK",
                        "attackComplexity": "LOW",
                        "attackRequirements": "PRESENT",
                        "exploitMaturity": "NOT_DEFINED",
                        "privilegesRequired": "NONE",
                        "userInteraction": "NONE",
                        "vulnConfidentialityImpact": "HIGH",
                        "vulnIntegrityImpact": "HIGH",
                        "vulnAvailabilityImpact": "HIGH",
                        "subConfidentialityImpact": "NONE",
                        "subIntegrityImpact": "NONE",
                        "subAvailabilityImpact": "NONE",
                        "baseScore": 9.2,
                        "baseSeverity": "CRITICAL",
                        "vectorString": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"
                    }
                }
            ],
            "credits": [
                {
                    "value": "Dinh Twan Doan",
                    "lang": "en"
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-94",
                            "description": "Code Execution",
                            "lang": "en"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "bae035ff-b466-4ff4-94d0-fc9efd9e1730",
                "shortName": "snyk",
                "dateUpdated": "2026-08-14T15:25:14.399Z"
            },
            "descriptions": [
                {
                    "value": "All versions of the package expr-eval are vulnerable to Code Execution via the toJSFunction() API. An attacker can execute arbitrary JavaScript by supplying crafted expressions that are compiled into native code using new Function(). Because user-controlled expressions are transformed directly into executable JavaScript, attackers can escape the intended expression sandbox and run arbitrary code within the application's context.",
                    "lang": "en"
                }
            ],
            "references": [
                {
                    "url": "https://security.snyk.io/vuln/SNYK-JS-EXPREVAL-15054690"
                },
                {
                    "url": "https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-17662018"
                },
                {
                    "url": "https://github.com/silentmatt/expr-eval/blob/master/src/expression.js%23L55"
                },
                {
                    "url": "https://github.com/silentmatt/expr-eval/issues/292"
                }
            ],
            "affected": [
                {
                    "product": "expr-eval",
                    "versions": [
                        {
                            "version": "0",
                            "lessThan": "*",
                            "status": "affected",
                            "versionType": "semver"
                        }
                    ],
                    "vendor": "n/a"
                },
                {
                    "product": "org.webjars.npm:expr-eval",
                    "versions": [
                        {
                            "version": "0",
                            "lessThan": "*",
                            "status": "affected",
                            "versionType": "semver"
                        }
                    ],
                    "vendor": "n/a"
                }
            ]
        },
        "adp": [
            {
                "problemTypes": [
                    {
                        "descriptions": [
                            {
                                "type": "CWE",
                                "cweId": "CWE-94",
                                "lang": "en",
                                "description": "CWE-94 Improper Control of Generation of Code ('Code Injection')"
                            }
                        ]
                    }
                ],
                "references": [
                    {
                        "url": "https://security.snyk.io/vuln/SNYK-JS-EXPREVAL-15054690",
                        "tags": [
                            "exploit"
                        ]
                    }
                ],
                "metrics": [
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2026-06-23T12:06:04.423419Z",
                                "id": "CVE-2026-12866",
                                "options": [
                                    {
                                        "Exploitation": "poc"
                                    },
                                    {
                                        "Automatable": "yes"
                                    },
                                    {
                                        "Technical Impact": "total"
                                    }
                                ],
                                "role": "CISA Coordinator",
                                "version": "2.0.3"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2026-06-23T12:07:54.524Z"
                }
            }
        ]
    }
}