{"id":"CVE-2026-41249","published":"2026-06-04T19:26:46Z","modified":"2026-06-08T19:15:02Z","title":"CoreShop Vulnerable to Remote Code Execution (RCE) via Insecure `pull_request_target` Configuration","vendor":"coreshop","product":"CoreShop","tier":"tail","description":{"text":"CoreShop is a Pimcore enhanced eCommerce solution. In versions 5.0.1 through 5.1.0-beta.1,, the GitHub Actions workflow (`.github/workflows/static.yml`) uses the `pull_request_target` trigger but dangerously checks out the unverified code from the pull request head (`ref: ${{ github.event.pull_request.head.ref }}`). Subsequently, it executes a script (`bin/console`) from this untrusted checkout. This allows any external attacker to achieve Remote Code Execution (RCE) on the GitHub Actions runner simply by submitting a malicious Pull Request. Also known as a \"Pwn Request\" vulnerability. As of time of publication, `pull_request_target` is still in the file.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.2,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00549,"percentile":0.46872,"provenance":"source"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"references":[{"url":"https://github.com/coreshop/CoreShop/security/advisories/GHSA-q58j-g3f4-h26h","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/coreshop/CoreShop/commit/cc1e3f547228ec5ebfc1dc0472f9a3cc5f4137a4","tags":["x_refsource_MISC"]},{"url":"https://github.com/coreshop/CoreShop/blob/5.1.0-beta.1/.github/workflows/static.yml#L14","tags":["x_refsource_MISC"]}],"priority":{"score":20.1,"factors":[{"name":"EPSS percentile","points":9.37},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":5.74}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2026-09-06","earliestUrl":"https://github.com/pvharmo2/gha-lab-5bce203f66","repos":[{"name":"pvharmo2/gha-lab-5bce203f66","url":"https://github.com/pvharmo2/gha-lab-5bce203f66","stars":0,"created":"2026-09-06"}]},"first":{"date":"2026-09-06","source":"PoC-in-GitHub","url":"https://github.com/pvharmo2/gha-lab-5bce203f66"},"provenance":"source"},"vendorSlug":"coreshop","affectedVersions":[{"vendor":"coreshop","product":"CoreShop","versions":[">= 5.0.1, <= 5.1.0-beta.1"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-06-08T19:14:42.867763Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"coreshop/core-shop","vulnerableRanges":[],"patched":[],"from":["GHSA-q58j-g3f4-h26h"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-34318","exploited":false,"provenance":"source"}}