CVE-2026-115997

pig-mesh pig SqlFilterArgumentResolver.java orderItem.getColumn sql injection

Published Oct 24, 2026 CVSS 4.0 · 5.3 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The vulnerability allows an attacker to inject arbitrary SQL statements by manipulating the arguments passed to the orderItem.getColumn method in the SqlFilterArgumentResolver class of pig-mesh. This flaw can lead to unauthorized data exposure, modification, or deletion, which compromises the confidentiality, integrity, and availability of the database. The exploitation does not require authentication and can be performed over the network, enabling remote attackers to execute malicious queries. The vulnerability is classified as a moderate severity issue with a CVSS score of 5.3. It has a publicly available exploit and is considered exploitable by attackers with network access to the targeted service.

Affected Systems

Pig‑Mesh products running pig version 4.1.0 or earlier are affected. The problem resides in the orderItem.getColumn function within the pig‑common‑data module. Updating to pig version 4.1.1 or later includes a fix that blocks the untrusted input thereby mitigating the injection risk. No other vendor or product versions are listed as impacted.

Risk and Exploitability

The vulnerability is present in all releases prior to 4.1.1, and it is not currently listed in the CISA Known Exploited Vulnerabilities catalog. EPSS data are not available, so the exact probability of exploitation cannot be quantified, but the presence of a public exploit and the remote nature of the attack vector increase the practical risk. The CVSS score of 5.3 indicates a medium risk, yet the potential impact on database integrity and confidentiality is significant. Attackers can inject arbitrary SQL by supplying malicious column names through the application’s input mechanism, which is typically exposed via HTTP requests or API calls. Defensive mitigation therefore relies on eliminating the vulnerable code path and ensuring proper input validation.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Pig to version 4.1.1 or later which removes the vulnerable code path
  • When upgrading is not immediately feasible, limit the value of orderItem.getColumn to an approved whitelist of column names or enforce strict input validation that rejects any characters other than alphanumerics and underscores
  • Continuously monitor database activity logs for anomalous or unauthorized SQL queries that may indicate attempted exploitation

Generated by OpenCVE AI on October 25, 2026 at 04:51 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title pig-mesh pig SqlFilterArgumentResolver.java orderItem.getColumn sql injection
First Time appeared Pig-mesh
Pig-mesh pig
Weaknesses CWE-74
CWE-89
CPEs cpe:2.3:a:pig-mesh:pig:*:*:*:*:*:*:*:*
Vendors & Products Pig-mesh
Pig-mesh pig
References
Metrics cvssV2_0

{'score': 6.5, 'vector': 'AV:N/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:OF/RC:C'}

cvssV3_0

{'score': 6.3, 'vector': 'CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C'}

cvssV3_1

{'score': 6.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C'}

cvssV4_0

{'score': 5.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P'}

Weaknesses
  • CWE-74

    Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')

  • CWE-89

    Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Sources

Status
PUBLISHED
Assigner
VulDB
Published
Updated
Oct 29, 2026, 6:30 PM
Reserved
Oct 24, 2026, 9:22 AM
Status
Deferred
Published
Oct 25, 2026, 12:16 AM
Modified
Oct 29, 2026, 7:17 PM