CVE-2026-115997: pig-mesh pig SqlFilterArgumentResolver.java orderItem.getColumn sql injection
Advisory generated from the CVE record, CISA, Exploit Observer and VEDAS: what it is, whether it is exploited, who is affected, and how to fix and detect it.
Generated by VEDAS. Scores as of 2026-11-01 19:19 UTC. Rebuilt every few hours from cve-scores, CISA KEV and vedas-signatures. How this works and its limits.
What it is
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.
Description quoted from the CVE record (assigned by VulDB, published 2026-10-24).
Weakness: SQL Injection; Injection
How it can be exploited
Exploitable over the network with low attack complexity with no special attack requirements needing low privileges and no user interaction. Impact: confidentiality low, integrity low, availability low. 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
CISA assessment (SSVC): CISA assesses that a public proof of concept exists. Automatable: no. Technical impact: partial.
Public exploit evidence (Exploit Observer)
Also known as: GHSA-76h3-gxx4-8m4v
VEDAS cluster: VEDAS:DOVECRAFT
Exploit Observer links 3 pieces of public exploit code or detection modules that name this CVE or one of its aliases.
Exploit code and modules (3)
Code that names this CVE. A repository can be a working exploit, a scanner, a fake or malware; read it before running anything.
- Code repository: https://raw.githubusercontent.com/ARPSyndicate/vedas-signatures/main/suricata/2026/CVE-2026-115997.rules
- Code repository: https://raw.githubusercontent.com/ARPSyndicate/vedas-signatures/main/suricata/2026/CVE-2026-115997.rules
- Code repository: https://raw.githubusercontent.com/ARPSyndicate/vedas-signatures/main/suricata/2026/CVE-2026-115997.rules
Vulnerability databases and vendor advisories (2)
Catalogue entries, not exploit evidence.
- Vulnerability database or vendor advisory: https://github.com/advisories/GHSA-76h3-gxx4-8m4v
- Vulnerability database or vendor advisory: https://nvd.nist.gov/vuln/detail/CVE-2026-115997
3 more references returned by Exploit Observer did not name this CVE or an alias, so they are left out.
VEDAS data as of 2026-11-01T17:12 UTC; fetched 2026-11-02.
Live scores
- EPSS
- 0.002
low predicted chance of attack - VEDAS
- 0.986
strong exploit evidence - On CISA KEV
- Not listed
- Detection rule
- Suricata
Who is affected
| Product | Affected | Not affected |
|---|---|---|
| pig-mesh pig | version 4.0 version 4.1.0 | 4.1.1 is not affected |
Version ranges exactly as the CVE record states them. “Before X” means X is the first fixed version.
How to fix it
Vendor guidance:
- https://github.com/pig-mesh/pig/pull/1289 (issue-tracking, patch)
- https://github.com/pig-mesh/pig/commit/9b6311161e346d7626c81d993044072fed2dca07 (patch)
- https://github.com/pig-mesh/pig/releases/tag/v4.1.1 (patch)
How to detect it
Suricata rules (network detection)
1 rule that alert on traffic matching this exploit: VEDAS CVE-2026-115997 pig4cloud - SQL Injection via MyBatis-Plus Sort Parameter ascs/descs. Add them to your Suricata rule set and reload.
Show the rules
# CVE-2026-115997 - pig4cloud (pig-mesh/pig) <= 4.1.0 SQL injection via the MyBatis-Plus
# sort resolver (SqlFilterArgumentResolver.getColumn): the ascs/descs request parameters are
# concatenated into an ORDER BY clause guarded only by a regex blacklist, so an authenticated
# low-privilege user can inject error-/time-based SQL. Matches injection payloads carried in
# the ascs/descs query parameter on any paginated endpoint.
alert http $EXTERNAL_NET any -> $HTTP_SERVERS $HTTP_PORTS (msg:"VEDAS CVE-2026-115997 pig4cloud - SQL Injection via MyBatis-Plus Sort Parameter ascs/descs"; flow:established,to_server; http.uri; content:"scs="; nocase; fast_pattern; pcre:"/[?&](?:a|de)scs=[^&]{0,300}(?:extractvalue|updatexml|benchmark|sleep(?:\x28|%28)|union(?:\x20|\x2b|%20)+?select|procedure\x20analyse)/i"; classtype:web-application-attack; reference:cve,CVE-2026-115997; reference:url,https://www.exploit.observer/?keyword=CVE-2026-115997&match=exact; reference:url,https://subdomain.center/?engine=ammonites&keyword=pig4cloud&match=exact; sid:1090400; rev:1;)
CVE-2026-115997.rules on GitHub
References
Vendor advisories and patches
- https://github.com/pig-mesh/pig/pull/1289 (issue-tracking, patch)
- https://github.com/pig-mesh/pig/commit/9b6311161e346d7626c81d993044072fed2dca07 (patch)
- https://github.com/pig-mesh/pig/releases/tag/v4.1.1 (patch)
Exploits and technical analysis
- VDB-426095 | pig-mesh pig SqlFilterArgumentResolver.java orderItem.getColumn sql injection (vdb-entry, technical-description)
- CVE-2026-115997 | CVE Analysis and Report (third-party-advisory)
- Submit #991961 | pig-mesh Pig 4.1.0 SQL injection (third-party-advisory)
- https://github.com/vinch3s/pig4cloud-cve/blob/main/Pig4Cloud-SQL-Injection.md (exploit)
Other references
- VDB-426095 | CTI Indicators (IOB, IOC, TTP, IOA) (signature, permissions-required)
- https://github.com/pig-mesh/pig/ (product)
Other databases
Where this comes from
This advisory is generated automatically by VEDAS from: CVE.org record, cve-scores (EPSS and VEDAS), Exploit Observer, vedas-signatures. Text in quotes is reproduced from the source; everything else is a fixed template filled with source fields. Nothing here is written by a language model. Check the vendor advisory before acting, and read how VEDAS and Exploit Observer work, and their limits.