Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-111343 Overview
CVE-2026-111343 is a missing authorization vulnerability [CWE-862] in Pig Mesh (pig) through version 4.1.1. The flaw resides in the SysUserController.user method, which handles GET /admin/user/details/{id} requests without verifying that the requesting user owns or is authorized to view the target profile. Any authenticated low-privilege user can enumerate sequential user IDs to retrieve other users' profile data. Exposed fields include usernames, real names, phone numbers, email addresses, linked third-party accounts, and role assignments. The issue was published to the National Vulnerability Database (NVD) on 2026-10-15.
Critical Impact
Authenticated attackers can enumerate the entire user directory, harvesting personally identifiable information (PII) and role data useful for follow-on targeted attacks against administrators.
Affected Products
- Pig Mesh (pig) versions up to and including 4.1.1
- pig-upms-biz module containing SysUserController
- Deployments exposing the /admin/user/details/{id} endpoint to authenticated users
Discovery Timeline
- 2026-10-15 - CVE-2026-111343 published to NVD
- 2026-10-21 - Last updated in NVD database
Technical Details for CVE-2026-111343
Vulnerability Analysis
The vulnerability is a classic Insecure Direct Object Reference (IDOR) caused by missing authorization checks. The SysUserController.user handler accepts a numeric id path parameter and returns the corresponding SysUser record without validating the caller's identity or role against the requested resource. Pig Mesh assigns user IDs sequentially, so an attacker holding any valid session token can iterate id values from 1 upward to dump every account in the system. The returned payload includes PII and role assignments, which an attacker can use to map privileged accounts and craft targeted phishing or credential-stuffing campaigns.
Root Cause
The root cause is the absence of an authorization annotation or programmatic access check in the GET /admin/user/details/{id} controller method located in SysUserController.java lines 94-102. Authentication alone is enforced; no logic restricts the endpoint to administrators or to the owner of the requested record. This maps directly to [CWE-862] Missing Authorization.
Attack Vector
Exploitation requires only a low-privilege authenticated session. The attacker issues sequential HTTP GET requests to /admin/user/details/{id}, incrementing the identifier, and parses the JSON responses to collect user data. No special tooling, elevated privileges, or user interaction is required. Technical analysis is documented in the HackMD IDOR write-up and the VulnCheck advisory.
Detection Methods for CVE-2026-111343
Indicators of Compromise
- Repeated GET /admin/user/details/{id} requests from a single session with sequentially incrementing id values
- Large volumes of 200 OK responses to /admin/user/details/* originating from non-administrator accounts
- Access patterns where one authenticated user retrieves profile records for many distinct user IDs within a short interval
Detection Strategies
- Correlate application access logs by session or user token and alert when a single principal retrieves more than a configurable threshold of unique user/details resources
- Compare the acting user's role against the requested user ID in SIEM rules; flag requests where the caller is neither an administrator nor the owner of the record
- Baseline normal profile-view behavior per role and generate anomalies on deviations
Monitoring Recommendations
- Enable verbose request logging on the pig-upms-biz service including authenticated principal, requested path, and response status
- Forward reverse-proxy or API gateway logs to a central analytics platform for retention and query
- Review audit logs after upgrade to identify historical enumeration that may have occurred before patching
How to Mitigate CVE-2026-111343
Immediate Actions Required
- Restrict network access to the /admin/* routes to trusted administrative networks until a patched release is deployed
- Audit application logs for prior enumeration of /admin/user/details/{id} and notify affected users if PII exposure is confirmed
- Rotate credentials and third-party linkage tokens for any accounts whose data may have been harvested
Patch Information
At the time of publication, the Pig Mesh GitHub repository is the authoritative source for fixed releases. Monitor the repository for a release above 4.1.1 that adds an authorization check to SysUserController.user. Review the VulnCheck advisory for vendor-coordinated remediation guidance.
Workarounds
- Place the controller behind a role-based filter (for example, a Spring Security @PreAuthorize("hasAuthority('ROLE_ADMIN')") annotation) and redeploy
- Add a server-side check comparing the authenticated principal's user ID to the requested {id}, denying access when they differ and the caller lacks administrative privileges
- Deploy a Web Application Firewall (WAF) rule that rate-limits requests to /admin/user/details/ per session and blocks rapid sequential-ID enumeration
# Example WAF/reverse-proxy rate-limit snippet (NGINX)
limit_req_zone $binary_remote_addr zone=user_details:10m rate=10r/m;
location /admin/user/details/ {
limit_req zone=user_details burst=5 nodelay;
proxy_pass http://pig_upms_biz;
}
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

