{"api_version":"1","generated_at":"2026-10-21T09:06:09+00:00","cve":"CVE-2026-111439","urls":{"html":"https://cve.report/CVE-2026-111439","api":"https://cve.report/api/cve/CVE-2026-111439.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-111439","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-111439"},"summary":{"title":"pg_read_binary_file_blocks 缺少初始用户权限校验，普通用户可读取 relation 文件块","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。","state":"PUBLISHED","assigner":"openGauss","published_at":"2026-10-19 08:17:02","updated_at":"2026-10-19 20:56:36"},"problem_types":["CWE-862","CWE-862 CWE-862 Missing Authorization"],"metrics":[{"version":"3.1","source":"a1a479f7-907b-4ae8-a999-9148cadc9224","type":"Secondary","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","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","baseScore":4.3,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"LOW","integrityImpact":"NONE","availabilityImpact":"NONE"}},{"version":"3.1","source":"CNA","type":"CVSS","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","data":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":4.3,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"NONE","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","version":"3.1"}}],"references":[{"url":"https://gitcode.com/opengauss/openGauss-server/pull/9374","name":"https://gitcode.com/opengauss/openGauss-server/pull/9374","refsource":"a1a479f7-907b-4ae8-a999-9148cadc9224","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-111439","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-111439","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"openGauss-server","product":"openGauss-server","version":"unaffected 7.0.0-LTS","platforms":["openEuler Centos"]},{"source":"CNA","vendor":"openGauss-server","product":"openGauss-server","version":"affected 3.0.0-3.0.5","platforms":["openEuler Centos"]},{"source":"CNA","vendor":"openGauss-server","product":"openGauss-server","version":"affected 3.1.0-3.1.1","platforms":["openEuler Centos"]},{"source":"CNA","vendor":"openGauss-server","product":"openGauss-server","version":"affected 5.0.0-RC1","platforms":["openEuler Centos"]},{"source":"CNA","vendor":"openGauss-server","product":"openGauss-server","version":"affected 5.0.0-5.0.3","platforms":["openEuler Centos"]},{"source":"CNA","vendor":"openGauss-server","product":"openGauss-server","version":"affected 5.1.0","platforms":["openEuler Centos"]},{"source":"CNA","vendor":"openGauss-server","product":"openGauss-server","version":"affected 6.0.0-RC1","platforms":["openEuler Centos"]},{"source":"CNA","vendor":"openGauss-server","product":"openGauss-server","version":"affected 6.0.0-6.0.6","platforms":["openEuler Centos"]},{"source":"CNA","vendor":"openGauss-server","product":"openGauss-server","version":"affected 7.0.0-RC1, 7.0.0-RC2, 7.0.0-RC3","platforms":["openEuler Centos"]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":{"cve_year":"2026","cve_id":"111439","cve":"CVE-2026-111439","epss":"0.002590000","percentile":"0.164800000","score_date":"2026-10-19","updated_at":"2026-10-20 00:13:48"},"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"metrics":[{"other":{"content":{"id":"CVE-2026-111439","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","timestamp":"2026-10-19T17:24:53.483125Z","version":"2.0.3"},"type":"ssvc"}}],"providerMetadata":{"dateUpdated":"2026-10-19T17:25:07.334Z","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP"},"title":"CISA ADP Vulnrichment"}],"cna":{"affected":[{"collectionURL":"https://opengauss.org/zh/download/archive/?version=7.0.0%20(LTS)","defaultStatus":"unaffected","platforms":["openEuler Centos"],"product":"openGauss-server","vendor":"openGauss-server","versions":[{"status":"unaffected","version":"7.0.0-LTS"},{"status":"affected","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"}]}],"descriptions":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"在 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 权限，直接读取表数据的二进制块。<br>此漏洞影响此前3.0.0到6.0.0间的所有版本及补丁版，并在7.0.0-LTS版本修复。修复patch详见：https://gitcode.com/opengauss/openGauss-server/pull/9374。"}],"value":"在 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。"}],"impacts":[{"capecId":"CAPEC-1","descriptions":[{"lang":"en","value":"CAPEC-1 Accessing Functionality Not Properly Constrained by ACLs"}]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":4.3,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"NONE","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","version":"3.1"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-862","description":"CWE-862 Missing Authorization","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-10-19T07:59:44.700Z","orgId":"a1a479f7-907b-4ae8-a999-9148cadc9224","shortName":"openGauss"},"references":[{"url":"https://gitcode.com/opengauss/openGauss-server/pull/9374"}],"source":{"discovery":"EXTERNAL"},"title":"pg_read_binary_file_blocks 缺少初始用户权限校验，普通用户可读取 relation 文件块","x_generator":{"engine":"Vulnogram 1.0.5"}}},"cveMetadata":{"assignerOrgId":"a1a479f7-907b-4ae8-a999-9148cadc9224","assignerShortName":"openGauss","cveId":"CVE-2026-111439","datePublished":"2026-10-19T07:59:44.700Z","dateReserved":"2026-10-16T03:04:55.778Z","dateUpdated":"2026-10-19T17:25:07.334Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-10-19 08:17:02","lastModifiedDate":"2026-10-19 20:56:36","problem_types":["CWE-862","CWE-862 CWE-862 Missing Authorization"],"metrics":{"cvssMetricV31":[{"source":"a1a479f7-907b-4ae8-a999-9148cadc9224","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","baseScore":4.3,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"LOW","integrityImpact":"NONE","availabilityImpact":"NONE"},"exploitabilityScore":2.8,"impactScore":1.4}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2026-10-19T17:24:53.483125Z","id":"CVE-2026-111439","options":[{"exploitation":"none"},{"automatable":"no"},{"technicalImpact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"111439","Ordinal":"1","Title":"pg_read_binary_file_blocks 缺少初始用户权限校验，普通用户可读取 relation 文件块","CVE":"CVE-2026-111439","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"111439","Ordinal":"1","NoteData":"在 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。","Type":"Description","Title":"pg_read_binary_file_blocks 缺少初始用户权限校验，普通用户可读取 relation 文件块"}]}}}