{"id":"CVE-2026-125377","summary":"Pig before 4.1.2 Missing Authorization Exposes OAuth2 Client Secrets via /client","details":"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.","modified":"2026-11-15T07:04:28.523822767Z","published":"2026-11-09T23:27:46.791Z","database_specific":{"cwe_ids":["CWE-862"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/125xxx/CVE-2026-125377.json","cna_assigner":"VulnCheck"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/125xxx/CVE-2026-125377.json"},{"type":"ADVISORY","url":"https://github.com/pig-mesh/pig/releases/tag/v4.1.2"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-125377"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/pig-before-4.1.2-missing-authorization-exposes-oauth2-client-secrets-via-client"},{"type":"REPORT","url":"https://github.com/pig-mesh/pig/issues/1298"},{"type":"FIX","url":"https://github.com/pig-mesh/pig/commit/0fffbf14d393f30a0272a3cdf0a54efd45e0d9e3"},{"type":"PACKAGE","url":"https://github.com/pig-mesh/pig"},{"type":"ARTICLE","url":"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"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/pig-mesh/pig","events":[{"introduced":"0"},{"fixed":"4edd866750fac48d1e7beadbb5ec7597eb16d8bb"},{"fixed":"0fffbf14d393f30a0272a3cdf0a54efd45e0d9e3"}],"database_specific":{"extracted_events":[{"source":"AFFECTED_FIELD","strategy":"StandardRange","range":[{"introduced":"0"},{"fixed":"4.1.2"}]},{"range":[{"fixed":"0fffbf14d393f30a0272a3cdf0a54efd45e0d9e3"}],"source":"REFERENCES_COMMIT"},{"range":[{"fixed":"4edd866750fac48d1e7beadbb5ec7597eb16d8bb"}],"source":"REFERENCES_TAG","original_tag":"v4.1.2"}]}}],"versions":["v4.1.1","v4.1.0","v4.0.0"],"database_specific":{"vanir_signatures":[{"signature_type":"Line","signature_version":"v1","source":"https://github.com/pig-mesh/pig/commit/0fffbf14d393f30a0272a3cdf0a54efd45e0d9e3","target":{"file":"pig-upms/pig-upms-biz/src/main/java/com/pig4cloud/pig/admin/controller/SysClientController.java"},"deprecated":false,"digest":{"threshold":0.9,"line_hashes":["246208125205989676318581928455528165016","89979718515598496174310387725770083370","98759236195202868161091638837634507946","195702603654054684414903889623951348026","175935234440912453325473746113664724862","208753430881485856380298087647810682082","332084720837958645920803911643852354678","34464033784708691518466414742482722480"]},"id":"CVE-2026-125377-0a9faa55"}],"vanir_signatures_modified":"2026-11-15T07:04:28Z","source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-125377.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"}]}