Description
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.
Severity (CVSS)
| Base score | 9.3 |
|---|---|
| Severity | Critical |
| Version | CVSS 4.0 |
| 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 |
| Provided by | CNA |
Weaknesses
- CWE-620 — Unverified Password Change
Affected products
| Vendor | Product | Versions |
|---|---|---|
| pig-mesh | pig | 0 to <4.1.0 |
References
- https://github.com/geo-chen/oss/blob/main/pig.md (third-party-advisory exploit)
- https://github.com/pig-mesh/pig/issues/1249 (issue-tracking)
- https://github.com/pig-mesh/pig/commit/ce958668f399110b97b3f1fcc5f517ff9bcfd535 (patch)
- https://github.com/pig-mesh/pig/blob/v4.0.0/pig-upms/pig-upms-biz/src/main/java/com/pig4cloud/pig/admin/service/impl/SysUserServiceImpl.java#L650-L669 (technical-description)
- https://github.com/pig-mesh/pig/blob/v4.0.0/pig-upms/pig-upms-biz/src/main/java/com/pig4cloud/pig/admin/controller/SysRegisterController.java#L21-L53 (technical-description)
- https://github.com/pig-mesh/pig (product)
- https://www.vulncheck.com/advisories/pig-before-4.1.0-unverified-password-change-via-register-password (third-party-advisory)
Generated from the official CVE List on 16 Sep 2026 07:01 UTC.