# CVE-2026-41249: CoreShop Vulnerable to Remote Code Execution (RCE) via Insecure `pull_request_target` Configuration

- Severity: High 8.2 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.55%, higher than 47% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-05-14T13:18:16.000Z
- Modified: 2026-10-06T22:10:00.247Z
- Also known as: GHSA-q58j-g3f4-h26h
- Weaknesses: CWE-94
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- coreshop CoreShop: >= 5.0.1, <= 5.1.0-beta.1
- coreshop/core-shop (Packagist): 5.0.0

## Every score

- GitHub_M: CVSS:3.1 8.2 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N`
- GitHub: CVSS:3.1 8.2 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N`

## References

- <https://github.com/coreshop/CoreShop/security/advisories/GHSA-q58j-g3f4-h26h> (exploit, web)
- <https://github.com/coreshop/CoreShop/commit/cc1e3f547228ec5ebfc1dc0472f9a3cc5f4137a4> (web)
- <https://github.com/coreshop/CoreShop/blob/5.1.0-beta.1/.github/workflows/static.yml#L14> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-41249> (advisory)
- <https://github.com/coreshop/CoreShop> (package)

## Sources

- CVE List: [CVE-2026-41249](https://www.cve.org/CVERecord?id=CVE-2026-41249), CVE Terms of Use, modified 2026-06-08
- GitHub Advisory Database: [GHSA-q58j-g3f4-h26h](https://github.com/advisories/GHSA-q58j-g3f4-h26h), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-41249](https://nvd.nist.gov/vuln/detail/CVE-2026-41249), Public domain, modified 2026-10-06

---

Page: https://cve.day/CVE-2026-41249 · Whole record: https://cve.day/CVE-2026-41249.json · Rebuilt by cve.day 2026-11-25T22:59:23.724Z
