{
  "schemaVersion": 1,
  "attribution": [
    {
      "source": "CISA Known Exploited Vulnerabilities",
      "url": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog",
      "licence": "US government work"
    },
    {
      "source": "GitHub Advisory Database",
      "url": "https://github.com/advisories",
      "licence": "CC BY 4.0"
    },
    {
      "source": "Have I Been Pwned",
      "url": "https://haveibeenpwned.com/",
      "licence": "CC BY 4.0"
    },
    {
      "source": "CVE Program (CVE records)",
      "url": "https://www.cve.org/Legal/TermsOfUse",
      "licence": "CVE Terms of Use",
      "notice": "Copyright © 1999-2026, The MITRE Corporation. CVE is a trademark and the CVE logo is a registered trademark of The MITRE Corporation.",
      "terms": "CVE Usage: MITRE hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute Common Vulnerabilities and Exposures (CVE™). Any copy you make for such purposes is authorized provided that you reproduce MITRE's copyright designation and this license in any such copy."
    },
    {
      "source": "FIRST EPSS",
      "url": "https://www.first.org/epss/",
      "licence": "free to use; FIRST requests attribution"
    }
  ],
  "record": {
    "id": "CVE-2026-111439",
    "sourceURL": "https://www.cve.org/CVERecord?id=CVE-2026-111439",
    "idYear": 2026,
    "status": "PUBLISHED",
    "publishedAt": "2026-10-19T07:59:44.700Z",
    "updatedAt": "2026-10-19T17:25:07.334Z",
    "importedAt": "2026-10-24T01:57:50.502Z",
    "snapshot": {
      "id": "cve_2026-10-24_midnight_baseline",
      "at": "2026-10-24T00:00:00.000Z",
      "source": "https://github.com/CVEProject/cvelistV5/releases/tag/cve_2026-10-24_0100Z"
    },
    "facts": {
      "title": "pg_read_binary_file_blocks 缺少初始用户权限校验，普通用户可读取 relation 文件块",
      "summary": "在 openGauss-server的 src/common/backend/utils/adt/genfile.cpp 模块中，内置函数 pg_read_binary_file_blocks() 存在权限校验逻辑缺陷。该函数在入口处仅校验了起始块号（startBlockNum）和块数量（blockCount）的范围，随后直接调用底层文件读取例程 ReadBinaryFileBlocksFirstCall()。该底层例程仅执行了路径规范化检查以及针对 .. 路径遍历和数据目录边界的基本检查，缺失了对调用者数据库权限（如 SELECT 权限）的校验。此外，辅助函数 is_row_data_file() 也仅用于识别文件形态，未包含权限检查。因此，任何拥有普通数据库连接权限的用户，只要能够通过 pg_relation_filepath() 等函数获取到目标表的底层关系文件路径（例如压缩数据的 _compress 文件路径），即可无需具备该表的 SELECT 权限，直接读取表数据的二进制块。\n此漏洞影响此前3.0.0到6.0.0间的所有版本及补丁版，并在7.0.0-LTS版本修复。修复patch详见：https://gitcode.com/opengauss/openGauss-server/pull/9374。",
      "affected": [
        {
          "vendor": "openGauss-server",
          "product": "openGauss-server",
          "collectionURL": "https://opengauss.org/zh/download/archive/?version=7.0.0%20(LTS)",
          "platforms": [
            "openEuler Centos"
          ],
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "7.0.0-LTS",
              "status": "unaffected"
            },
            {
              "version": "3.0.0-3.0.5",
              "status": "affected"
            },
            {
              "version": "3.1.0-3.1.1",
              "status": "affected"
            },
            {
              "version": "5.0.0-RC1",
              "status": "affected"
            },
            {
              "version": "5.0.0-5.0.3",
              "status": "affected"
            },
            {
              "version": "5.1.0",
              "status": "affected"
            },
            {
              "version": "6.0.0-RC1",
              "status": "affected"
            },
            {
              "version": "6.0.0-6.0.6",
              "status": "affected"
            },
            {
              "version": "7.0.0-RC1, 7.0.0-RC2, 7.0.0-RC3",
              "status": "affected"
            }
          ]
        }
      ]
    }
  }
}