Auth bypass in Pig-Mesh Pig
CVE-2026-125377
Pig before 4.1.2 contains a missing authorization vulnerability in SysClientController that allows authenticated users without client-management permission to retrieve OAuth2 client secrets via GET /client/{clientId} and GET /client/export. Attackers can fetch clientSecret values for seed clients like pig, app, and daemon or export the client table, then obtain tokens using those clients' configured grant types.
Vulnerability class: Broken Access Control
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N.
EPSS exploit prediction
EPSS 0.003, 26.8th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
Weakness classification (CWE)
References
- github.com/pig-mesh/pig/issues/1298 (issue-tracking)
- github.com/pig-mesh/pig (product)
- github.com/pig-mesh/pig/blob/a0d273afd3adc6678b065c0f2d25433541343ad7/pig-upms/… (technical-description)
- github.com/pig-mesh/pig/commit/0fffbf14d393f30a0272a3cdf0a54efd45e0d9e3 (patch)
- github.com/pig-mesh/pig/releases/tag/v4.1.2 (release-notes)
- www.vulncheck.com/advisories/pig-before-4.1.2-missing-authorization-exposes-oau… (third-party-advisory)