CVE-2026-125377
Pig before 4.1.2 Missing Authorization Exposes OAuth2 Client Secrets via /client
CVSS Score
6.5
EPSS Score
0.0%
EPSS Percentile
0th
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.
| CWE | CWE-862 |
| Vendor | pig-mesh |
| Product | pig |
| Published | Nov 9, 2026 |
Stay Ahead of the Next One
Get instant alerts for pig-mesh pig
Be the first to know when new medium vulnerabilities affecting pig-mesh pig are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None
Affected Versions
pig-mesh / pig
0 < 4.1.2
References
github.com: https://github.com/pig-mesh/pig/issues/1298 github.com: https://github.com/pig-mesh/pig github.com: https://github.com/pig-mesh/pig/blob/a0d273afd3adc6678b065c0f2d25433541343ad7/pig-upms/pig-upms-biz/src/main/java/com/pig4cloud/pig/admin/controller/SysClientController.java#L69-L82 github.com: https://github.com/pig-mesh/pig/commit/0fffbf14d393f30a0272a3cdf0a54efd45e0d9e3 github.com: https://github.com/pig-mesh/pig/releases/tag/v4.1.2 vulncheck.com: https://www.vulncheck.com/advisories/pig-before-4.1.2-missing-authorization-exposes-oauth2-client-secrets-via-client
Credits
hieuPenguinnn