CVE-2026-121881

Posit Workbench code-server session-state RPC (get_last_seen) SQL injection

Published Nov 6, 2026 CVSS 4.0 · 5.7 Medium EPSS < 1% KEV · Not listed
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.



NOTE: exploitation requires a valid authenticated session; no administrative privileges are needed. The vulnerability is limited to disclosure of database contents.

Analysis

AI-generated

Technical impact

A SQL injection flaw exists in the get_last_seen RPC of Posit Workbench’s code‑server session‑state feature. Based on the description, it is inferred that an authenticated user can supply a crafted sessionIds parameter that is concatenated directly into an SQL query, enabling the execution of arbitrary SELECT statements against the Workbench database. The impact is the disclosure of sensitive data; there is no documented vector for code execution, privilege escalation, or denial of service.

Affected Systems

The vulnerability affects all installations of Posit Software’s PBC Posit Workbench prior to version 2026.08.0. The affected product is Posit Workbench. Users of any earlier build are potentially vulnerable until they upgrade to 2026.08.0 or a later patched release.

Risk and Exploitability

The CVSS score of 5.7 indicates a medium severity, largely due to the requirement of an existing authenticated session. EPSS information is not available, and the vulnerability is not listed in the CISA KEV catalog. It applies to authenticated users without administrative privileges. Based on the description, it is inferred that the attacker can extract arbitrary database contents via a crafted sessionIds parameter. The flaw is limited to read‑only data disclosure, so it does not threaten system integrity or availability, but the risk to confidentiality is significant.

Remediation

Vendor Solution

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.


OpenCVE Recommended Actions

  • Apply the Posit Workbench 2026.08.0 or later update, which binds session identifiers as query parameters.
  • Limit the use of the get_last_seen RPC to accounts with the minimum privileges necessary for operation.
  • If the RPC is not required, permanently disable the get_last_seen endpoint to eliminate the attack surface.

Generated by OpenCVE AI on November 6, 2026 at 17:06 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Posit Software
Posit Software posit Workbench
Vendors & Products Posit Software
Posit Software posit Workbench
Type Values Removed Values Added
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. NOTE: exploitation requires a valid authenticated session; no administrative privileges are needed. The vulnerability is limited to disclosure of database contents.
Title Posit Workbench code-server session-state RPC (get_last_seen) SQL injection
First Time appeared Posit
Posit workbench
Weaknesses CWE-89
CPEs cpe:2.3:a:posit:workbench:*:*:*:*:*:*:*:*
Vendors & Products Posit
Posit workbench
References
Metrics cvssV4_0

{'score': 5.7, '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'}

Weaknesses
  • CWE-89

    Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Sources

Status
PUBLISHED
Assigner
POSIT
Published
Updated
Nov 16, 2026, 11:51 AM
Reserved
Nov 4, 2026, 10:49 AM
Status
Awaiting Analysis
Published
Nov 6, 2026, 4:17 PM
Modified
Nov 16, 2026, 12:17 PM