openGauss openGauss-server up to 7.0.0-RC3 Replication hba.cpp hba_getauthmethod privileges management
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 6.8 | $0-$5k | 2.69 |
Summary
A vulnerability categorized as critical has been discovered in openGauss openGauss-server up to 7.0.0-RC3. Affected by this vulnerability is the function hba_getauthmethod of the file src/common/backend/libpq/hba.cpp of the component Replication. Executing a manipulation can lead to privileges management.
This vulnerability is registered as CVE-2026-111438. It is possible to launch the attack remotely. No exploit is available.
It is advisable to upgrade the affected component.
Details
A vulnerability classified as critical was found in openGauss openGauss-server up to 7.0.0-RC3. This vulnerability affects the function hba_getauthmethod of the file src/common/backend/libpq/hba.cpp of the component Replication. The manipulation 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, integrity, and availability. CVE summarizes:
在 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。
The advisory is available at gitcode.com. This vulnerability was named CVE-2026-111438 since 10/16/2026. The exploitation appears to be easy. The attack can be initiated remotely. No form of authentication is required for a successful exploitation. Technical details are known, but there is no available exploit. This vulnerability is assigned to T1068 by the MITRE ATT&CK project.
Upgrading to version 7.0.0-LTS eliminates this vulnerability.
If you want to get best quality of vulnerability data, you may have to visit VulDB.
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.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
- 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: 6.9VulDB Meta Temp Score: 6.8
VulDB Base Score: 7.3
VulDB Temp Score: 7.0
VulDB Vector: 🔒
VulDB Reliability: 🔍
CNA Base Score: 6.5
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
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-111438 (🔒)
GCVE (CVE): GCVE-0-2026-111438
GCVE (VulDB): GCVE-100-422290
Entry
Created: 10/19/2026 10:47Changes: 10/19/2026 10:47 (65)
Complete: 🔍
Cache ID: 216::103
If you want to get best quality of vulnerability data, you may have to visit VulDB.
No comments yet. Languages: en.
Please log in to comment.