A flaw has been found in pig-mesh pig up to 4.1.0. (CVE-2026-115997)
Source GCVE Database
Not known to be exploited · CVSS 6.3 Medium · fixed in 4.1.1 : update pig-mesh pig when convenient.
Data as of 10/25/2026, 07:50:55 UTC
- Exploitation
Not in CISA KEV, no exploitation reported
- Affects
- pig-mesh pig up to 4.1.0
- Patch
- Available – fixed in 4.1.1
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:LWhat to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
GitHubpig-mesh/pigpkg:github/pig-mesh/pigOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade pig-mesh pig to version 4.1.1, which contains the official fix for this vulnerability. No other mitigations are indicated by the vendor advisory.
Description
A flaw has been found in pig-mesh pig up to 4.1.0. This impacts the function orderItem.getColumn of the file pig-common/pig-common-data/src/main/java/com/pig4cloud/pig/common/data/resolver/SqlFilterArgumentResolver.java. Executing a manipulation of the argument ascs/descs can lead to sql injection. The attack may be launched remotely. The exploit has been published and may be used. Upgrading to version 4.1.1 will fix this issue. This patch is called 9b6311161e346d7626c81d993044072fed2dca07. It is suggested to upgrade the affected component. The vendor was contacted early about this disclosure.
Impact
Successful exploitation allows remote attackers with low privileges to perform SQL injection via crafted 'ascs/descs' arguments, potentially leading to partial confidentiality, integrity, and availability impacts as indicated by the CVSS vector (C:L/I:L/A:L).
Summary
CVE-2026-115997 describes a SQL injection vulnerability in pig-mesh pig up to version 4.1.0. The flaw is located in the orderItem.getColumn function in the specified Java source file. By manipulating the 'ascs/descs' argument, an attacker can perform SQL injection remotely. The vulnerability has a CVSS 3.1 base score of 6.3, indicating a medium severity impact with network attack vector, low attack complexity, and requiring low privileges. An exploit is publicly available. The issue is fixed in pig-mesh pig version 4.1.1 with patch 9b6311161e346d7626c81d993044072fed2dca07.
Weaknesses
- CWE-74Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') (opens in a new tab)
Class weaknessLikelihood of exploit: HighOWASP Top 10 A05:2025: Injection (opens in a new tab)
The product constructs all or part of a command, data structure, or record using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify how it is parsed or interpreted when it is sent to a downstream component.
MITRE discourages mapping vulnerabilities to this broad entry; the root cause is usually a more specific weakness.
References
- nvd.nist.gov/vuln/detail/CVE-2026-115997 (opens in a new tab)
- github.com/pig-mesh/pig/pull/1289 (opens in a new tab)
- github.com/pig-mesh/pig/commit/9b6311161e346d7626c81d993044072fed2dca07 (opens in a new tab)
- github.com/pig-mesh/pig (opens in a new tab)
- github.com/pig-mesh/pig/releases/tag/v4.1.1 (opens in a new tab)
- github.com/vinch3s/pig4cloud-cve/blob/main/Pig4Cloud-SQL-Injection.md (opens in a new tab)
- vuldb.com/cve/CVE-2026-115997 (opens in a new tab)
- vuldb.com/submit/991961 (opens in a new tab)
- vuldb.com/vuln/426095 (opens in a new tab)
- vuldb.com/vuln/426095/cti (opens in a new tab)