{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "4.5.0"
                  },
                  {
                    "last_affected": "4.5.4"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "introduced": "4.5.0"
                  },
                  {
                    "last_affected": "4.5.4"
                  }
                ],
                "source": "DESCRIPTION"
              }
            ]
          },
          "events": [
            {
              "introduced": "48c6cc42f9c331cc57c057fa9c66d6cbda990131"
            },
            {
              "last_affected": "741e3e50553665ef076596099ab04ff61ded8ddf"
            }
          ],
          "repo": "https://github.com/getrebuild/rebuild",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-202"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/129xxx/CVE-2026-129875.json"
  },
  "details": "REBUILD 4.5.0 through 4.5.4 contains an information disclosure vulnerability that allows low-privileged authenticated users to recover the administrator password hash by filtering User.password through the MCP QueryRecords tool. Attackers can send LK2 prefix-match filters to the /gw/mcp/sse gateway and use the returned total count as an oracle to extract the SHA-256 hash one character at a time, then log in as administrator.",
  "id": "CVE-2026-129875",
  "modified": "2026-11-17T20:45:36.697346794Z",
  "published": "2026-11-16T14:19:23.482Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/129xxx/CVE-2026-129875.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-129875"
    },
    {
      "type": "ADVISORY",
      "url": "https://vul.yulun.ac.cn/20261106/rebuild/"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/rebuild-4.5.0-through-4.5.4-password-hash-disclosure-via-mcp-queryrecords"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/getrebuild/rebuild"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/getrebuild/rebuild/blob/741e3e50553665ef076596099ab04ff61ded8ddf/src/main/java/com/rebuild/core/aibot2/tool/QueryRecords.java#L41-L60"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/getrebuild/rebuild/blob/741e3e50553665ef076596099ab04ff61ded8ddf/src/main/java/com/rebuild/core/service/query/AdvFilterParser.java#L767-L774"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "REBUILD 4.5.0 through 4.5.4 Password Hash Disclosure via MCP QueryRecords"
}