Pig before 4.1.2 Missing Authorization Exposes OAuth2 Client Secrets via /client
- State
- Published
- Severity
- 7.1 High
- Published
- Nov 9, 2026
- Updated
- Nov 14, 2026
- Reserved
- Nov 9, 2026
Description
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.
| Product | Versions |
|---|---|
| pig pig-mesh | before 4.1.2 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 7.1 High | VulnCheck | |
| 3.1 | 6.5 Medium | VulnCheck |
Weaknesses
- CWE-862 Missing Authorization
References
- GitHub Issue #1298Issue Tracker
- https://github.com/pig-mesh/pigProduct Page
- https://github.com/pig-mesh/pig/blob/a0d273afd3adc6678b065c0f2d25433541343ad7/pig-upms/pig-upms-biz/src/main/java/com/pig4cloud/pig/admin/controller/SysClientController.java#L69-L82Technical Details
- https://github.com/pig-mesh/pig/commit/0fffbf14d393f30a0272a3cdf0a54efd45e0d9e3Patch
- pig v4.1.2 Release NotesRelease Notes
- VulnCheck Advisory: Pig before 4.1.2 Missing Authorization Exposes OAuth2 Client Secrets via /clientThird-Party Advisory
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.