CVE-2026-111438 check_hba_replication 认证与访问控制绕过
Attackers can bypass internal connection checks in openGauss replication to read backup and log data via the replication protocol.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-111438?
CVE-2026-111438 is a medium-severity authentication bypass vulnerability in openGauss-server, published on 19 Oct 2026. An attacker needs administrator access to exploit it, with no action from the victim.
Official 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。
Weakness: CWE-288
Which versions are affected by CVE-2026-111438?
How do I fix CVE-2026-111438?
No fix has been published for CVE-2026-111438 yet. Limit exposure of the affected software until one is available.
Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.
Is CVE-2026-111438 being exploited?
There is no known exploitation of CVE-2026-111438 in the wild and no public exploit code.
Sources
Also known as GHSA-65mg-g3fh-wfvj.