openGauss openGauss-server up to 7.0.0-RC3 Backend genfile.cpp pg_read_binary_file_blocks startBlockNum/blockCount privileges management
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 4.2 | $0-$5k | 3.60 |
Summary
A vulnerability was found in openGauss openGauss-server. It has been classified as problematic. This affects the function pg_read_binary_file_blocks of the file src/common/backend/utils/adt/genfile.cpp of the component Backend. This manipulation of the argument startBlockNum/blockCount causes privileges management.
This vulnerability is tracked as CVE-2026-111439. The attack is possible to be carried out remotely. No exploit exists.
Upgrading the affected component is recommended.
Details
A vulnerability was found in openGauss openGauss-server. It has been declared as problematic. Affected by this vulnerability is the function pg_read_binary_file_blocks of the file src/common/backend/utils/adt/genfile.cpp of the component Backend. The manipulation of the argument startBlockNum/blockCount with an unknown input leads to a privileges management vulnerability. The CWE definition for the vulnerability is CWE-269. The product does not properly assign, modify, track, or check privileges for an actor, creating an unintended sphere of control for that actor. As an impact it is known to affect confidentiality. The summary by CVE is:
在 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 权限,直接读取表数据的二进制块。 此漏洞影响此前3.0.0到6.0.0间的所有版本及补丁版,并在7.0.0-LTS版本修复。修复patch详见:https://gitcode.com/opengauss/openGauss-server/pull/9374。
It is possible to read the advisory at gitcode.com. This vulnerability is known as CVE-2026-111439 since 10/16/2026. The exploitation appears to be easy. The attack can be launched remotely. Technical details of the vulnerability are known, but there is no available exploit. The attack technique deployed by this issue is T1068 according to MITRE ATT&CK.
Upgrading to version 7.0.0-LTS eliminates this vulnerability. Applying the patch 9374 is able to eliminate this problem. The best possible mitigation is suggested to be upgrading to the latest version.
The vulnerability is also documented in the vulnerability database at EUVD (EUVD-2026-104112). Be aware that VulDB is the high quality source for vulnerability data.
Product
Vendor
Name
Version
- 3.0.0-3.0.0
- 3.0.0-3.0.1
- 3.0.0-3.0.2
- 3.0.0-3.0.3
- 3.0.0-3.0.4
- 3.0.0-3.0.5
- 3.1.0-3.1.0
- 3.1.0-3.1.1
- 5.0
- 5.0.0-5.0.0
- 5.0.0-5.0.1
- 5.0.0-5.0.2
- 5.0.0-5.0.3
- 5.0.0-RC1
- 5.1.0
- 6.0.0-6.0.0
- 6.0.0-6.0.1
- 6.0.0-6.0.2
- 6.0.0-6.0.3
- 6.0.0-6.0.4
- 6.0.0-6.0.5
- 6.0.0-6.0.6
- 6.0.0-RC1
- 7.0.0-RC1
- 7.0.0-RC2
- 7.0.0-RC3
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔒VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 4.3VulDB Meta Temp Score: 4.2
VulDB Base Score: 4.3
VulDB Temp Score: 4.1
VulDB Vector: 🔒
VulDB Reliability: 🔍
CNA Base Score: 4.3
CNA Vector (openGauss): 🔒
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍
Exploiting
Class: Privileges managementCWE: CWE-269 / CWE-266
CAPEC: 🔒
ATT&CK: 🔒
Physical: No
Local: No
Remote: Yes
Availability: 🔒
Status: Not defined
Price Prediction: 🔍
Current Price Estimation: 🔒
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔒
Upgrade: openGauss-server 7.0.0-LTS
Patch: 9374
Timeline
10/16/2026 CVE reserved10/19/2026 Advisory disclosed
10/19/2026 VulDB entry created
10/19/2026 VulDB entry last update
Sources
Advisory: gitcode.comStatus: Confirmed
CVE: CVE-2026-111439 (🔒)
GCVE (CVE): GCVE-0-2026-111439
GCVE (VulDB): GCVE-100-422287
EUVD: 🔒
Entry
Created: 10/19/2026 10:16Updated: 10/19/2026 11:20
Changes: 10/19/2026 10:16 (67), 10/19/2026 11:20 (1)
Complete: 🔍
Cache ID: 216::103
Be aware that VulDB is the high quality source for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.