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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-111438— check_hba_replication 认证与访问控制绕过

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 of openGauss-server, there is an access control bypass in the replication connection authentication process. The function does not invoke when handling HADR/SW replication sender connections; instead, it directly calls . This function performs only a weak m

CVSS 6.5 · Medium EPSS 0.36% · P28

Affected Version Matrix 8

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
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
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-111438

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
check_hba_replication 认证与访问控制绕过
Source: CVE Program / CVE List V5
Vulnerability Description
在 openGauss-server 的 src/common/backend/libpq/hba.cpp 中,复制连接认证存在访问控制绕过。hba_getauthmethod() 在处理 HADR/SW 复制发送方时,不要求 is_node_internal_connection(),直接调用 check_hba_replication()。check_hba_replication() 仅按 replication 标记做弱匹配,缺少普通 check_hba() 中的远程 trust 禁止等完整校验。因此,非内部网络的 HADR/SW 复制连接可绕过内部连接限制和完整 pg_hba 策略完成认证,进而通过复制协议读取备份与日志数据。 此问题随 HADR 复制发送方绕过内部连接校验进入代码,自 3.0.0 起即存在。受影响版本包括 3.0.x、3.1.x、5.0.x、5.1.0、6.0.x,以及 7.0.0-RC1、7.0.0-RC2、7.0.0-RC3。该问题已在 7.0.0-LTS版本修复,通过要求 HADR/SW 复制发送方必须经过 is_node_internal_connection 校验,使外部复制连接改走普通 check_hba() 并触发禁止远程 trust 策略。修复pr见https://gitcode.com/opengauss/openGauss-server/pull/9757。
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/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-111438

# 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-111438

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

Patches & Fixes for CVE-2026-111438 (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-111439 4.3 MEDIUM pg_read_binary_file_blocks 缺少初始用户权限校验,普通用户可读取 relation 文件块

IV. Related Vulnerabilities

V. Comments for CVE-2026-111438

No comments yet


Leave a comment