{"id":"CVE-2026-121881","kind":"vulnerability","aliases":["CVE-2026-121881"],"related":[],"title":"Posit Workbench: SQL injection lets logged-in users read database contents","description":"SQL injection vulnerability in the get_last_seen code-server session-state RPC in Posit Software, PBC Posit Workbench before 2026.08.0 allows authenticated users to read arbitrary data from the Workbench database via the sessionIds parameter.\n\n\n\nNOTE: exploitation requires a valid authenticated session; no administrative privileges are needed. The vulnerability is limited to disclosure of database contents.","summary":"A SQL injection flaw in the get_last_seen session-state RPC of Posit Workbench lets an authenticated user pass crafted sessionIds values to the database. An attacker can read arbitrary data from the Workbench database, but cannot change it.","severity":"medium","cvss":5.7,"epss":null,"exploited":false,"exploited_at":null,"products":[],"ecosystems":[],"tags":["data-science","posit-workbench","rstudio","runtime","self-hosted"],"not_affected_if":["no-user-accounts","posit-workbench-2026.08.0-or-later"],"how_to_check":"- Check the installed Posit Workbench version (for example with `rstudio-server version` on the server) and compare it with `2026.08.0`.\n- Confirm whether any users outside the admin team can log in to the server.","fix":"- Posit Workbench: move to `2026.08.0` or later.","status":"open","published_at":"2026-11-06T16:17:53+00:00","first_seen_at":"2026-11-06T16:42:41+00:00","triaged_at":"2026-11-06T16:44:42+00:00","updated_at":"2026-11-06T16:44:42+00:00","category":"runtime","confidence":0.7,"triage":{"at":"2026-11-06T16:44:42Z","model":"claude-haiku-5-5","output":{"fix":"- Posit Workbench: move to `2026.08.0` or later.","reach":"network","title":"Posit Workbench: SQL injection lets logged-in users read database contents","impact":"medium","summary":"A SQL injection flaw in the get_last_seen session-state RPC of Posit Workbench lets an authenticated user pass crafted sessionIds values to the database. An attacker can read arbitrary data from the Workbench database, but cannot change it.","audience":"businesses","category":"runtime","nicknames":[],"who_cares":["posit-workbench","rstudio","self-hosted","data-science"],"confidence":0.7,"fix_status":"available","needs_auth":"yes","worst_case":"authenticated user reads arbitrary Workbench database contents","analyst_note":"","how_to_check":"- Check the installed Posit Workbench version (for example with `rstudio-server version` on the server) and compare it with `2026.08.0`.\n- Confirm whether any users outside the admin team can log in to the server.","plain_action":"","needs_analyst":false,"not_affected_if":["posit-workbench-2026.08.0-or-later","no-user-accounts"],"who_is_affected":"Organizations running Posit Workbench before 2026.08.0 where users hold valid logins. Exposure comes from the session-state RPC reachable by any authenticated user; no admin rights are needed. Servers where only trusted staff have accounts carry less practical risk, but the fix is still the version upgrade.","user_interaction":"no","needs_special_setup":"unknown","severity_if_unknown":"medium"},"cost_usd":0.000699,"input_tokens":4266,"output_tokens":545,"severity_before":"medium"},"analyst_status":null,"analyst_note":null,"search":"'-121881':15A,18A '-2026':14A,17A '2026.08.0':92C 'administr':116C 'allow':93C 'arbitrari':61B,98C 'attack':58B 'authent':48B,94C,113C 'cannot':68B 'chang':69B 'code':79C 'code-serv':78C 'content':12A,128C 'craft':51B 'cve':13A,16A 'data':20B,62B,99C 'data-sci':19B 'databas':11A,56B,66B,103C,127C 'disclosur':125C 'exploit':109C 'flaw':33B 'get':36B,75C 'host':29B 'inject':4A,32B,71C 'last':37B,76C 'let':5A,46B 'limit':123C 'log':7A 'logged-in':6A 'need':119C 'note':108C 'paramet':107C 'pass':50B 'pbc':88C 'posit':1A,23B,44B,86C,89C 'posit-workbench':22B 'privileg':117C 'read':10A,60B,97C 'requir':110C 'rpc':42B,84C 'rstudio':25B 'runtim':26B 'scienc':21B 'seen':38B,77C 'self':28B 'self-host':27B 'server':80C 'session':40B,82C,114C 'session-st':39B,81C 'sessionid':52B,106C 'softwar':87C 'sql':3A,31B,70C 'state':41B,83C 'user':9A,49B,95C 'valid':112C 'valu':53B 'via':104C 'vulner':72C,121C 'workbench':2A,24B,45B,65B,90C,102C","nicknames":[],"mitigations":[],"who_affected":"Organizations running Posit Workbench before 2026.08.0 where users hold valid logins. Exposure comes from the session-state RPC reachable by any authenticated user; no admin rights are needed. Servers where only trusted staff have accounts carry less practical risk, but the fix is still the version upgrade.","tier":"C","verified":{},"analyst_revisit_at":null,"fix_status":"available","audience":"businesses","plain_action":null,"pkeys":[],"ptokens":[],"labels":["datascience","medium","positworkbench","rstudio","runtime","selfhosted"],"campaign_type":null,"search_a":"'-121881':15A,18A '-2026':14A,17A 'content':12A 'cve':13A,16A 'databas':11A 'inject':4A 'let':5A 'log':7A 'logged-in':6A 'posit':1A 'read':10A 'sql':3A 'user':9A 'workbench':2A","search_b":"'arbitrari':61B 'attack':58B 'authent':48B 'cannot':68B 'chang':69B 'craft':51B 'data':20B,62B 'data-sci':19B 'databas':56B,66B 'flaw':33B 'get':36B 'host':29B 'inject':32B 'last':37B 'let':46B 'pass':50B 'posit':23B,44B 'posit-workbench':22B 'read':60B 'rpc':42B 'rstudio':25B 'runtim':26B 'scienc':21B 'seen':38B 'self':28B 'self-host':27B 'session':40B 'session-st':39B 'sessionid':52B 'sql':31B 'state':41B 'user':49B 'valu':53B 'workbench':24B,45B,65B","search_c":"'2026.08.0':92C 'administr':116C 'allow':93C 'arbitrari':98C 'authent':94C,113C 'code':79C 'code-serv':78C 'content':128C 'data':99C 'databas':103C,127C 'disclosur':125C 'exploit':109C 'get':75C 'inject':71C 'last':76C 'limit':123C 'need':119C 'note':108C 'paramet':107C 'pbc':88C 'posit':86C,89C 'privileg':117C 'read':97C 'requir':110C 'rpc':84C 'seen':77C 'server':80C 'session':82C,114C 'session-st':81C 'sessionid':106C 'softwar':87C 'sql':70C 'state':83C 'user':95C 'valid':112C 'via':104C 'vulner':72C,121C 'workbench':90C,102C","first_public_at":"2026-11-06T16:17:53+00:00","kev":null,"cvss_vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:P/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:Y/R:A/V:C/RE:M/U:Amber","cvss_by":"8c484e69-127d-402b-9cdb-5f86ef43eb86","poc_count":0,"sources":[{"source":"nvd","external_id":"CVE-2026-121881","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-121881","severity":null,"published_at":"2026-11-06T16:17:53+00:00","modified_at":"2026-11-06T16:17:53+00:00","first_seen_at":"2026-11-06T16:42:41+00:00","fetched_at":"2026-11-06T16:42:41+00:00","note":null}],"documents":[],"exploit_sources":[],"notice":"Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai"}