# CVE-2026-125377: Pig RBAC authorization bypass in SysClientController

Source: https://junglewise.ai/threats/cve-2026-125377-pig-before-4-1-2-contains-a-missing-authorization-vulnerability  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-11-10. Updated: 2026-11-10  
License: CC BY 4.0 with a link back

CVE-2026-125377 · Severity: medium · CVSS 6.5 · Published 2026-11-10

Pig is an RBAC permission management system used for enterprise authentication and access control. A vulnerability in its SysClientController allows authenticated users to view OAuth2 client secrets without proper authorization, potentially enabling account takeover of privileged service accounts like daemon and app clients.

Technologies: [Pig-Mesh Pig](https://junglewise.ai/threats/technologies/pig). Vendors: [Pig-Mesh](https://junglewise.ai/threats/vendors/pig-mesh).

## Quick answers

**Is CVE-2026-125377 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-125377 being exploited in the wild.

**How severe is CVE-2026-125377?** Medium severity, with a CVSS score of 6.5, published 10 November 2026.

**Which products and versions are affected?** Pig-Mesh Pig before 4.1.2.

**Is there a fix for CVE-2026-125377?** Yes: fixed in Pig 4.1.2. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-125377 attacked?** It is attacked over the network, in a software library.

**Am I affected by CVE-2026-125377?** Check whether you run Pig-Mesh Pig at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- Fixed in Pig 4.1.2

## Technical details

Missing authorization checks on the GET /client/{clientId} and GET /client/export endpoints in SysClientController allow authenticated users without client-manage permissions to retrieve OAuth2 client secrets. An attacker with valid credentials can extract clientSecret values for seed clients and export the entire client table, then use those credentials to obtain tokens via the configured OAuth2 grant types.

## Affected products

- pig-mesh Pig before 4.1.2

## Timeline

- 2026-11-10: disclosed

## References

- [https://github.com/pig-mesh/pig](https://github.com/pig-mesh/pig)
- [https://github.com/pig-mesh/pig/blob/a0d273afd3adc6678b065c0f2d25433541343ad7/pig-upms/pig-upms-biz/src/main/java/com/pig4cloud/pig/admin/controller/SysClientController.java](https://github.com/pig-mesh/pig/blob/a0d273afd3adc6678b065c0f2d25433541343ad7/pig-upms/pig-upms-biz/src/main/java/com/pig4cloud/pig/admin/controller/SysClientController.java)

## Related threats

- [pig-mesh pig SQL injection in pagination sorting](https://junglewise.ai/threats/cve-2026-115997-a-flaw-has-been-found-in-pig-mesh-pig-up-to-4-1-0-this-impacts)
- [pig missing authorization in SysUserController.user](https://junglewise.ai/threats/cve-2026-111343-pig-through-4-1-1-contains-a-missing-authorization-vulnerability)
- [pig authentication bypass in password reset endpoint](https://junglewise.ai/threats/cve-2026-91995-pig-authentication-bypass-in-password-reset-endpoint)
- [pig-mesh Pig code injection in pig-codegen](https://junglewise.ai/threats/cve-2026-15512-pig-mesh-pig-code-injection-in-pig-codegen)
