Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-111439

published medium CVSS 3.1 · 4.3

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

Published
19 Oct 2026, 07:59:44 UTC
Updated
19 Oct 2026, 17:25:07 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
openGauss-server — openGauss-server7.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) · 7.0.0-RC1, 7.0.0-RC2, 7.0.0-RC3 (affected) · Other versions: unaffected · Platforms: openEuler Centos Version-specific Not stated openGauss

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。

en · openGauss · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
4.3 / 10
Severity
medium
Provider
openGauss · cna
Vector string
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Scenarios
en: GENERAL

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
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)7.0.0-RC1, 7.0.0-RC2, 7.0.0-RC3 (affected)Default: unaffected openGauss · cna

Weaknesses

1
  • CWE-862 CWE-862 Missing Authorization (openGauss · cna)

References

1

Provider assertions

2

openGauss · cna

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

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
17c506934b73eca65d92a26fc481cc71344c37fc03670f1baf49da531f4493f5
Ingested
19 Oct 2026, 17:36:39 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected