{"id":"CVE-2026-121881","state":"PUBLISHED","title":"Posit Workbench code-server session-state RPC (get_last_seen) SQL injection","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.","publishedAt":"2026-11-06T15:10:17.246Z","updatedAt":"2026-11-16T11:51:09.424Z","severity":{"score":5.7,"label":"Medium","version":"4.0","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/AU:Y/R:A/V:C/RE:M/U:Amber","source":"POSIT"},"assigner":"POSIT","products":["Posit Software, PBC Posit Workbench"],"affected":[{"vendor":"Posit Software, PBC","product":"Posit Workbench","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"2026.08.0","versionType":"custom"}],"platforms":["Linux"],"collectionURL":"https://posit.co/download/rstudio-server-pro/","modules":["code-server session-state RPC (get_last_seen)"],"cpes":["cpe:2.3:a:posit:workbench:*:*:*:*:*:*:*:*"]}],"references":["https://docs.posit.co/ide/news/#rstudio-2026.08.0","https://trust.posit.co/updates","https://docs.posit.co/announcements/posts/PSA-2026-0003.html"],"weaknesses":["CWE-89"],"ingestedAt":"2026-11-16T12:00:06.123Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/121xxx/CVE-2026-121881.json","commit":"1245440b6c8c506fd8a394696bf6e2a2d5a4bd9d","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-121881","state":"PUBLISHED","datePublished":"2026-11-06T15:10:17.246Z","dateUpdated":"2026-11-16T11:51:09.424Z","assignerShortName":"POSIT","assignerOrgId":"8c484e69-127d-402b-9cdb-5f86ef43eb86","dateReserved":"2026-11-04T10:49:23.575Z"},"containers":{"cna":{"title":"Posit Workbench code-server session-state RPC (get_last_seen) SQL injection","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Posit Software, PBC","product":"Posit Workbench","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"2026.08.0","versionType":"custom"}],"platforms":["Linux"],"collectionURL":"https://posit.co/download/rstudio-server-pro/","modules":["code-server session-state RPC (get_last_seen)"],"cpes":["cpe:2.3:a:posit:workbench:*:*:*:*:*:*:*:*"]}],"references":[{"url":"https://docs.posit.co/ide/news/#rstudio-2026.08.0","name":"Posit Workbench release notes","tags":["release-notes","vendor-advisory"]},{"url":"https://trust.posit.co/updates","tags":["vendor-advisory"]},{"url":"https://docs.posit.co/announcements/posts/PSA-2026-0003.html","tags":["vendor-advisory"]}],"metrics":[{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"LOW","userInteraction":"NONE","vulnConfidentialityImpact":"HIGH","subConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE","subIntegrityImpact":"NONE","vulnAvailabilityImpact":"NONE","subAvailabilityImpact":"NONE","exploitMaturity":"PROOF_OF_CONCEPT","Safety":"NOT_DEFINED","Automatable":"YES","Recovery":"AUTOMATIC","valueDensity":"CONCENTRATED","vulnerabilityResponseEffort":"MODERATE","providerUrgency":"AMBER","version":"4.0","baseSeverity":"MEDIUM","baseScore":5.7,"vectorString":"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/AU:Y/R:A/V:C/RE:M/U:Amber"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-89","lang":"en","description":"CWE-89 Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')","type":"CWE"}]}],"providerMetadata":{"shortName":"POSIT","orgId":"8c484e69-127d-402b-9cdb-5f86ef43eb86","dateUpdated":"2026-11-16T11:51:09.424Z"},"datePublic":"2026-11-04T00:00:00.000Z","impacts":[{"capecId":"CAPEC-66","descriptions":[{"lang":"en","value":"CAPEC-66 SQL Injection"}]}],"configurations":[{"lang":"en","value":"Affects Posit Workbench deployments with the code-server (VS Code / Positron) session-state feature enabled, reachable over HTTP by any authenticated user.","supportingMedia":[{"type":"text/html","base64":false,"value":"<p>Affects Posit Workbench deployments with the code-server (VS Code / Positron) session-state feature enabled, reachable over HTTP by any authenticated user.</p>"}]}],"solutions":[{"lang":"en","value":"Upgrade to Posit Workbench 2026.08.0 or later. The patched release binds the caller-supplied session identifiers as query parameters instead of concatenating them into the SQL statement.","supportingMedia":[{"type":"text/html","base64":false,"value":"<p>Upgrade to Posit Workbench 2026.08.0 or later. The patched release binds the caller-supplied session identifiers as query parameters instead of concatenating them into the SQL statement.</p>"}]}],"source":{"discovery":"INTERNAL"},"x_generator":{"engine":"Vulnogram 0.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-11-06T17:20:53.037205Z","id":"CVE-2026-121881","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-11-06T17:45:42.672Z"}}]}}}