{"id":"CVE-2026-112262","kind":"vulnerability","aliases":["CVE-2026-112262"],"related":[],"title":"RisingWave: low-privilege SQL users can read and write server files","description":"RisingWave before 3.1.0 contains a missing authorization vulnerability that allows low-privileged SQL users to read and write arbitrary server files by creating posix_fs sources and fs sinks. Attackers holding schema CREATE privilege can set posix_fs.root or fs.path to any directory to read credentials and keys or write files as root.","summary":"RisingWave before 3.1.0 lets a low-privileged SQL user create posix_fs sources and fs sinks that point at any directory on the server. An attacker with schema CREATE privilege can read credentials and keys, or write files as root.","severity":"high","cvss":7.1,"epss":null,"exploited":false,"exploited_at":null,"products":[],"ecosystems":[],"tags":["database","package","risingwave","self-hosted"],"not_affected_if":["no-untrusted-sql-users","patched-3.1.0-or-later"],"how_to_check":"- Check the RisingWave version with `risingwave --version` or the version shown in the cluster; anything below `3.1.0` is affected.\n- Review which roles hold schema CREATE privilege, for example with `\\dn+` or by querying role grants.","fix":"- Upgrade RisingWave to `3.1.0` or later.\n- Until upgraded, revoke schema CREATE privilege from untrusted SQL roles.","status":"open","published_at":"2026-10-19T14:17:02+00:00","first_seen_at":"2026-10-23T21:57:18+00:00","triaged_at":"2026-10-25T03:35:02+00:00","updated_at":"2026-10-25T03:35:02+00:00","category":"package","confidence":0.7,"triage":{"at":"2026-10-25T03:35:02Z","model":"claude-haiku-5-5","output":{"fix":"- Upgrade RisingWave to `3.1.0` or later.\n- Until upgraded, revoke schema CREATE privilege from untrusted SQL roles.","reach":"network","title":"RisingWave: low-privilege SQL users can read and write server files","impact":"high","summary":"RisingWave before 3.1.0 lets a low-privileged SQL user create posix_fs sources and fs sinks that point at any directory on the server. An attacker with schema CREATE privilege can read credentials and keys, or write files as root.","category":"package","nicknames":[],"who_cares":["risingwave","self-hosted","database"],"confidence":0.7,"needs_auth":"yes","worst_case":"Attacker reads server credentials and keys or writes files as root","analyst_note":"Check the NVD entry and RisingWave release notes for whether posix_fs and fs sink features are enabled by default, and confirm the exact fixed version.","how_to_check":"- Check the RisingWave version with `risingwave --version` or the version shown in the cluster; anything below `3.1.0` is affected.\n- Review which roles hold schema CREATE privilege, for example with `\\dn+` or by querying role grants.","needs_analyst":true,"not_affected_if":["patched-3.1.0-or-later","no-untrusted-sql-users"],"who_is_affected":"Deployments running RisingWave before 3.1.0 where some SQL users hold schema CREATE privilege, since that is what lets them create posix_fs sources and fs sinks. Clusters where only trusted administrators can create objects are at much lower risk. The sources do not say whether managed or default configurations differ.","user_interaction":"no","needs_special_setup":"unknown","severity_if_unknown":"high"},"cost_usd":0.000633,"input_tokens":3333,"output_tokens":599,"severity_before":"high"},"analyst_status":null,"analyst_note":null,"search":"'-112262':15A,18A '-2026':14A,17A '3.1.0':27B,68C 'allow':75C 'arbitrari':85C 'attack':51B,96C 'author':72C 'contain':69C 'creat':35B,54B,89C,99C 'credenti':58B,111C 'cve':13A,16A 'databas':19B 'directori':46B,108C 'file':12A,63B,87C,116C 'fs':37B,40B,91C,94C 'fs.path':105C 'hold':97C 'host':24B 'key':60B,113C 'let':28B 'low':3A,31B,77C 'low-privileg':2A,30B,76C 'miss':71C 'packag':20B 'point':43B 'posix':36B,90C 'posix_fs.root':103C 'privileg':4A,32B,55B,78C,100C 'read':8A,57B,82C,110C 'risingwav':1A,21B,25B,66C 'root':65B,118C 'schema':53B,98C 'self':23B 'self-host':22B 'server':11A,49B,86C 'set':102C 'sink':41B,95C 'sourc':38B,92C 'sql':5A,33B,79C 'user':6A,34B,80C 'vulner':73C 'write':10A,62B,84C,115C","nicknames":[],"mitigations":[],"who_affected":"Deployments running RisingWave before 3.1.0 where some SQL users hold schema CREATE privilege, since that is what lets them create posix_fs sources and fs sinks. Clusters where only trusted administrators can create objects are at much lower risk. The sources do not say whether managed or default configurations differ.","tier":"B","verified":{},"analyst_revisit_at":null,"first_public_at":"2026-10-19T14:17:02+00:00","kev":null,"cvss_vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","cvss_by":"disclosure@vulncheck.com","poc_count":0,"sources":[{"source":"nvd","external_id":"CVE-2026-112262","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-112262","severity":null,"published_at":"2026-10-19T14:17:02+00:00","modified_at":"2026-10-19T21:14:14+00:00","first_seen_at":"2026-10-23T21:57:18+00:00","fetched_at":"2026-10-23T22:28:57+00:00","note":null}],"documents":[],"notice":"Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai"}