CVE-2026-15512 pig-mesh Pig pig-codegen GeneratorServiceImpl.java code injection
Remote attackers can execute arbitrary code via a code injection vulnerability in the pig-codegen component of the Pig framework.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-15512?
CVE-2026-15512 is a medium-severity code injection vulnerability in pig-mesh Pig, published on 12 Jul 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
A vulnerability was identified in pig-mesh Pig up to 3.9.2. Affected by this issue is some unknown functionality of the file \pig-master\pig-visual\pig-codegen\src\main\java\com\pig4cloud\pig\codegen\service\impl\GeneratorServiceImpl.java of the component pig-codegen. Such manipulation leads to code injection. It is possible to launch the attack remotely. The exploit is publicly available and might be used. The vendor was contacted early about this disclosure but did not respond in any way.
Which versions are affected by CVE-2026-15512?
How do I fix CVE-2026-15512?
No fix has been published for CVE-2026-15512 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-15512 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-15512 exists.
Sources
Also known as GHSA-5qr2-jcjw-v3xc.