{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "4.1.0"
              }
            ],
            "source": [
              "DESCRIPTION",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "f4e5a3a4b902dc00c192b878d7587cec93698803"
            },
            {
              "fixed": "ce958668f399110b97b3f1fcc5f517ff9bcfd535"
            }
          ],
          "repo": "https://github.com/pig-mesh/pig",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-620"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/91xxx/CVE-2026-91995.json"
  },
  "details": "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.",
  "id": "CVE-2026-91995",
  "modified": "2026-09-26T03:30:36.813654051Z",
  "published": "2026-09-15T11:35:50.060Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/91xxx/CVE-2026-91995.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-91995"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/pig-before-4.1.0-unverified-password-change-via-register-password"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/pig-mesh/pig/issues/1249"
    },
    {
      "type": "FIX",
      "url": "https://github.com/pig-mesh/pig/commit/ce958668f399110b97b3f1fcc5f517ff9bcfd535"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/pig-mesh/pig"
    },
    {
      "type": "ARTICLE",
      "url": "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"
    },
    {
      "type": "ARTICLE",
      "url": "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"
    },
    {
      "type": "EVIDENCE",
      "url": "https://github.com/geo-chen/oss/blob/main/pig.md"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "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",
      "type": "CVSS_V4"
    }
  ],
  "summary": "pig before 4.1.0 Unverified Password Change via /register/password"
}