Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-111439— pg_read_binary_file_blocks 缺少初始用户权限校验,普通用户可读取 relation 文件块

Quick assessment

Affected
openGauss-server openGauss-server
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

In the module of openGauss-server, the built-in function contains a privilege validation flaw. At its entry point, the function only validates the range of the starting block number ( ) and the block count ( ), then directly invokes the low-level file reading

CVSS 4.3 · Medium EPSS 0.26% · P17

Affected Version Matrix 9

VendorProduct Version RangeStatus
openGauss-server openGauss-server 7.0.0-LTS unaffected
3.0.0-3.0.5 affected
3.1.0-3.1.1 affected
5.0.0-RC1 affected
5.0.0-5.0.3 affected
5.1.0 affected
6.0.0-RC1 affected
6.0.0-6.0.6 affected
… +1 more rows
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-111439

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
pg_read_binary_file_blocks 缺少初始用户权限校验,普通用户可读取 relation 文件块
Source: CVE Program / CVE List V5
Vulnerability 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 权限,直接读取表数据的二进制块。 此漏洞影响此前3.0.0到6.0.0间的所有版本及补丁版,并在7.0.0-LTS版本修复。修复patch详见:https://gitcode.com/opengauss/openGauss-server/pull/9374。
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
授权机制缺失
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
openGauss-server openGauss-server 3.0.0-3.0.5 -

II. Public POCs for CVE-2026-111439

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-111439

请登录查看更多情报信息。

Patches & Fixes for CVE-2026-111439 (1)

Same Patch Batch · openGauss-server · 2026-10-19 · 4 CVEs total

CVE-2026-111441 8.1 HIGH HLL 反序列化 lenTotal/lenUsed 校验缺失导致堆越界写
CVE-2026-111440 7.0 HIGH JDBC LogFactory 任意类加载/构造导致潜在 RCE
CVE-2026-111438 6.5 MEDIUM check_hba_replication 认证与访问控制绕过

IV. Related Vulnerabilities

V. Comments for CVE-2026-111439

No comments yet


Leave a comment