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

High 8.2 Published Updated

Attackers can execute arbitrary code on CI runners by submitting malicious pull requests due to insecure workflow configuration.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-41249?

CVE-2026-41249 is a high-severity code injection vulnerability in CoreShop, published on 4 Jun 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-94

Which versions are affected by CVE-2026-41249?

2 open source packages ship an affected version, including coreshop/core-shop.

PackageAffectedFixed in
coreshop/core-shop PackagistAll versionsNone
coreshop/core-shop PackagistAll versionsNone

How do I fix CVE-2026-41249?

No fix has been published for CVE-2026-41249 yet. Limit exposure of the affected software until one is available.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2026-41249 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-41249 exists.

Public exploit code: 1 proofs of concept on GitHub.

Sources

Also known as GHSA-q58j-g3f4-h26h.

Is CVE-2026-41249 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free