{"id":"CVE-2026-111439","url":"https://www.cyber-defence.io/tools/cve/CVE-2026-111439","generatedAt":"2026-10-28T05:26:11.817Z","title":"在 openGauss-server的 src/common/backend/utils/adt/genfile.cpp 模块中，内置函数 pg_read_binary_file_blocks() 存在权限校验逻辑缺陷。该函数在入口处仅校验了起始块号（startBlockNum）和块数量（blockCount）的范围，随后直接调用底层文件读取例程 ReadBinaryFileBlocksFirstCall()。该底层例程仅执行了路径规范化检查以及针对 ..…","description":"在 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。","published":"2026-10-19T08:17:02.000Z","lastModified":"2026-10-19T20:56:37.000Z","status":"Deferred","sourceIdentifier":"a1a479f7-907b-4ae8-a999-9148cadc9224","cvss":{"version":"3.1","score":4.3,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N"},"cwe":["CWE-862"],"affected":[],"epss":{"score":0.00259,"percentile":0.17469,"date":"2026-10-27","history":[{"date":"2026-10-19","score":0.00259,"percentile":0.1648}]},"kev":{"listed":false},"exploits":{"count":0,"verified":false,"firstPublished":null,"source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[]},"verdict":{"level":"low","text":"Lower severity and a low EPSS score (0.26%). Track it; it rarely justifies an emergency change on its own."},"changes":[{"kind":"new","label":"New CVE","at":"2026-10-19T08:17:02.000Z","detail":{"score":"4.3","severity":"MEDIUM","publishedAt":"2026-10-19T08:17:02.130Z"},"summary":"New CVE, medium severity (CVSS 4.3)."}],"references":[{"url":"https://gitcode.com/opengauss/openGauss-server/pull/9374","source":"a1a479f7-907b-4ae8-a999-9148cadc9224"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-111439","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}