CVE-2026-91995
Unauthenticated Password Reset Bypass in pig < 4.1.0 Enables Full Admin Takeover
pig, an open-source Spring Cloud microservice/admin platform, contains an authentication bypass in versions before 4.1.0 affecting the /register/password endpoint. The code computes the result of verifying the user's current password but then discards it, so any value is accepted as the current password. A remote, unauthenticated attacker can submit a target username (including the built-in admin account) with an arbitrary current password and a new password, overwriting the account credential and gaining full administrative control of the platform. Any self-hosted deployment of pig prior to 4.1.0 that exposes the /register/password endpoint is affected. The flaw is rated critical (CVSS 4.0: 9.3), but there is no known public proof-of-concept, it is not on the CISA KEV list, and no exploitation has been observed in the wild.
What to do: Upgrade to pig 4.1.0 or later, where the current-password verification result on /register/password is enforced. If immediate upgrade is not possible, block or restrict access to the /register/password endpoint (e.g., via gateway routing rules, WAF, or reverse-proxy ACLs) so only trusted users can reach it. Rotate credentials for privileged accounts such as admin and review logs for unexpected password-change or login activity on that endpoint.
| pig4cloud / pig pig | all versions before 4.1.0 |
Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.
pig before 4.1.0 contains an authentication bypass vulnerability in the /register/password endpoint where password verification results are discarded, allowing any value as the current password. Remote attackers can submit a username with an incorrect current password to overwrite any account credential including the admin account and gain full administrative control.
- Weakness
- CWE-620
- Vector
- CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
In the news0 stories
No ingested article mentions this CVE yet.