{"api_version":"1","generated_at":"2026-10-21T09:06:05+00:00","cve":"CVE-2026-111438","urls":{"html":"https://cve.report/CVE-2026-111438","api":"https://cve.report/api/cve/CVE-2026-111438.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-111438","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-111438"},"summary":{"title":"check_hba_replication 认证与访问控制绕过","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 策略完成认证，进而通过复制协议读取备份与日志数据。\n\n此问题随 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。","state":"PUBLISHED","assigner":"openGauss","published_at":"2026-10-19 09:17:07","updated_at":"2026-10-19 20:56:36"},"problem_types":["CWE-288","CWE-288 CWE-288 Authentication bypass using an alternate path or channel"],"metrics":[{"version":"3.1","source":"a1a479f7-907b-4ae8-a999-9148cadc9224","type":"Secondary","score":"6.5","severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N","baseScore":6.5,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"HIGH","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"NONE"}},{"version":"3.1","source":"CNA","type":"CVSS","score":"6.5","severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N","data":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":6.5,"baseSeverity":"MEDIUM","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"HIGH","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N","version":"3.1"}}],"references":[{"url":"https://gitcode.com/opengauss/openGauss-server/pull/9757","name":"https://gitcode.com/opengauss/openGauss-server/pull/9757","refsource":"a1a479f7-907b-4ae8-a999-9148cadc9224","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-111438","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-111438","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"openGauss-server","product":"openGauss-server","version":"unaffected 7.0.0-LTS","platforms":["openEuler","Centos"]},{"source":"CNA","vendor":"openGauss-server","product":"openGauss-server","version":"affected 3.0.0-3.0.5","platforms":["openEuler","Centos"]},{"source":"CNA","vendor":"openGauss-server","product":"openGauss-server","version":"affected 3.1.0-3.1.1","platforms":["openEuler","Centos"]},{"source":"CNA","vendor":"openGauss-server","product":"openGauss-server","version":"affected 5.0.0-RC1","platforms":["openEuler","Centos"]},{"source":"CNA","vendor":"openGauss-server","product":"openGauss-server","version":"affected 5.0.0-5.0.3","platforms":["openEuler","Centos"]},{"source":"CNA","vendor":"openGauss-server","product":"openGauss-server","version":"affected 6.0.0-RC1","platforms":["openEuler","Centos"]},{"source":"CNA","vendor":"openGauss-server","product":"openGauss-server","version":"affected 6.0.0-6.0.6","platforms":["openEuler","Centos"]},{"source":"CNA","vendor":"openGauss-server","product":"openGauss-server","version":"affected 7.0.0-RC1, 7.0.0-RC2, 7.0.0-RC3","platforms":["openEuler","Centos"]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":{"cve_year":"2026","cve_id":"111438","cve":"CVE-2026-111438","epss":"0.003610000","percentile":"0.284070000","score_date":"2026-10-19","updated_at":"2026-10-20 00:13:48"},"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"metrics":[{"other":{"content":{"id":"CVE-2026-111438","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","timestamp":"2026-10-19T17:22:00.742739Z","version":"2.0.3"},"type":"ssvc"}}],"providerMetadata":{"dateUpdated":"2026-10-19T17:22:23.532Z","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP"},"title":"CISA ADP Vulnrichment"}],"cna":{"affected":[{"collectionURL":"https://opengauss.org/zh/download/archive/?version=7.0.0%20(LTS)","defaultStatus":"unaffected","platforms":["openEuler","Centos"],"product":"openGauss-server","vendor":"openGauss-server","versions":[{"status":"unaffected","version":"7.0.0-LTS"},{"status":"affected","version":"3.0.0-3.0.5"},{"status":"affected","version":"3.1.0-3.1.1"},{"status":"affected","version":"5.0.0-RC1"},{"status":"affected","version":"5.0.0-5.0.3"},{"status":"affected","version":"6.0.0-RC1"},{"status":"affected","version":"6.0.0-6.0.6"},{"status":"affected","version":"7.0.0-RC1, 7.0.0-RC2, 7.0.0-RC3"}]}],"descriptions":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"<div><table><tbody><tr><td>在 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 策略完成认证，进而通过复制协议读取备份与日志数据。<br><br>此问题随 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。</td></tr></tbody></table></div>"}],"value":"在 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 策略完成认证，进而通过复制协议读取备份与日志数据。\n\n此问题随 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。"}],"impacts":[{"capecId":"CAPEC-115","descriptions":[{"lang":"en","value":"CAPEC-115 Authentication Bypass"}]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":6.5,"baseSeverity":"MEDIUM","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"HIGH","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N","version":"3.1"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-288","description":"CWE-288 Authentication bypass using an alternate path or channel","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-10-19T08:08:03.265Z","orgId":"a1a479f7-907b-4ae8-a999-9148cadc9224","shortName":"openGauss"},"references":[{"url":"https://gitcode.com/opengauss/openGauss-server/pull/9757"}],"source":{"discovery":"EXTERNAL"},"title":"check_hba_replication 认证与访问控制绕过","x_generator":{"engine":"Vulnogram 1.0.5"}}},"cveMetadata":{"assignerOrgId":"a1a479f7-907b-4ae8-a999-9148cadc9224","assignerShortName":"openGauss","cveId":"CVE-2026-111438","datePublished":"2026-10-19T08:08:03.265Z","dateReserved":"2026-10-16T03:04:53.420Z","dateUpdated":"2026-10-19T17:22:23.532Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-10-19 09:17:07","lastModifiedDate":"2026-10-19 20:56:36","problem_types":["CWE-288","CWE-288 CWE-288 Authentication bypass using an alternate path or channel"],"metrics":{"cvssMetricV31":[{"source":"a1a479f7-907b-4ae8-a999-9148cadc9224","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N","baseScore":6.5,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"HIGH","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"NONE"},"exploitabilityScore":1.2,"impactScore":5.2}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2026-10-19T17:22:00.742739Z","id":"CVE-2026-111438","options":[{"exploitation":"none"},{"automatable":"no"},{"technicalImpact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"111438","Ordinal":"1","Title":"check_hba_replication 认证与访问控制绕过","CVE":"CVE-2026-111438","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"111438","Ordinal":"1","NoteData":"在 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 策略完成认证，进而通过复制协议读取备份与日志数据。\n\n此问题随 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。","Type":"Description","Title":"check_hba_replication 认证与访问控制绕过"}]}}}