{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2026-111439 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2026-111439 yet. Limit exposure of the affected software until one is available.","what":"CVE-2026-111439 is a medium-severity missing authorization vulnerability in openGauss-server, published on 19 Oct 2026. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-111439 and fix it if it is affected.\n\nWhat it is: CVE-2026-111439 is a medium-severity missing authorization vulnerability in openGauss-server, published on 19 Oct 2026. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-111439 in the wild and no public exploit code.\n\nAffected product: openGauss-server. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-111439/ (Markdown: https://insights.sbomify.com/CVE-2026-111439/index.md)","id":"CVE-2026-111439","markdown":"https://insights.sbomify.com/CVE-2026-111439/index.md","name":"CVE-2026-111439","record":{"aliases":["GHSA-cr5j-x763-5676"],"analysis":{"component_type":"database","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"openGauss database","requires_auth":"low_privilege","summary":"An attacker with basic database access can read arbitrary table data blocks without SELECT permissions due to missing authorization checks in pg_read_binary_file_blocks.","user_interaction":"not_required","vuln_class":"missing_authorization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"openGauss","cpe":[],"cvss":{"score":4.3,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-862","name":"Missing Authorization"}],"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 权限，直接读取表数据的二进制块。\n此漏洞影响此前3.0.0到6.0.0间的所有版本及补丁版，并在7.0.0-LTS版本修复。修复patch详见：https://gitcode.com/opengauss/openGauss-server/pull/9374。","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":null,"headline":"pg_read_binary_file_blocks 缺少初始用户权限校验，普通用户可读取 relation 文件块","id":"CVE-2026-111439","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"missing_authorization","year":"2026"},"n_packages":0,"n_references":1,"next":{"headline":"JDBC LogFactory 任意类加载/构造导致潜在 RCE","id":"CVE-2026-111440"},"packages":[],"prev":{"headline":"check_hba_replication 认证与访问控制绕过","id":"CVE-2026-111438"},"products":["openGauss-server"],"published":"2026-10-19","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-10-19","vendors":["openGauss-server"]},"summary":"An attacker with basic database access can read arbitrary table data blocks without SELECT permissions due to missing authorization checks in pg_read_binary_file_blocks.","url":"https://insights.sbomify.com/CVE-2026-111439/"}