CVE-2026-138429

sosedoff pgweb API routes.go RunQuery missing authentication

Published Nov 30, 2026 CVSS 4.0 · 6.9 Medium EPSS n/a KEV · Not listed
Description
A weakness has been identified in sosedoff pgweb up to 0.17.0. Impacted is the function RunQuery of the file pkg/api/routes.go of the component API. Executing a manipulation of the argument Query can lead to missing authentication. The attack can be launched remotely. The exploit has been made available to the public and could be used for attacks. The vendor was contacted early about this disclosure but did not respond in any way.

Analysis

AI-generated

Technical impact

A weakness in sosedoff pgweb allows an attacker to manipulate the Query argument in the RunQuery API function, bypassing required authentication. This authentication bypass is revealed through CWE‑287 and CWE‑306 weaknesses. The resulting failure to enforce proper credentials permits the execution of arbitrary SQL statements without restriction, potentially exposing sensitive database contents or allowing destructive operations. The impact manifests without local user interaction, as the attack can be launched remotely via the exposed API endpoint.

Affected Systems

sosedoff pgweb versions up to and including 0.17.0 are affected. No specific sub‑version is listed; any deployment of pgweb in this range remains vulnerable.

Risk and Exploitability

The CVSS score of 6.9 indicates a medium severity. The EPSS score is not available, and the vulnerability is not currently listed in the CISA KEV catalog. Attackers can exploit the flaw remotely; public exploit code has been released. The risk is therefore moderate to high given the remote nature of the attack and the potential for unauthorized data access or modification. Strong network isolation or access controls will reduce the likelihood of exploitation.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update pgweb to a fixed release that addresses the authentication bypass; if a patch is not yet released, move to an unsupported yet secure version disclosed by the vendor.
  • Restrict network exposure of the pgweb API, allowing only trusted hosts or VPN connections to interact with the endpoint.
  • Enable logging and audit trails for all API requests and monitor for unusual query activity that could indicate exploitation attempts.
  • If the API is not required, disable or remove the RunQuery endpoint to eliminate the attack surface.

Generated by OpenCVE AI on December 1, 2026 at 06:20 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description A weakness has been identified in sosedoff pgweb up to 0.17.0. Impacted is the function RunQuery of the file pkg/api/routes.go of the component API. Executing a manipulation of the argument Query can lead to missing authentication. The attack can be launched remotely. The exploit has been made available to the public and could be used for attacks. The vendor was contacted early about this disclosure but did not respond in any way.
Title sosedoff pgweb API routes.go RunQuery missing authentication
First Time appeared Sosedoff
Sosedoff pgweb
Weaknesses CWE-287
CWE-306
CPEs cpe:2.3:a:sosedoff:pgweb:*:*:*:*:*:*:*:*
Vendors & Products Sosedoff
Sosedoff pgweb
References
Metrics cvssV2_0

{'score': 7.5, 'vector': 'AV:N/AC:L/Au:N/C:P/I:P/A:P/E:POC/RL:ND/RC:C'}

cvssV3_0

{'score': 7.3, 'vector': 'CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:C'}

cvssV3_1

{'score': 7.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:C'}

cvssV4_0

{'score': 6.9, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P'}

Weaknesses
  • CWE-287

    Improper Authentication

  • CWE-306

    Missing Authentication for Critical Function

Sources

Status
PUBLISHED
Assigner
VulDB
Published
Updated
Nov 30, 2026, 2:33 PM
Reserved
Nov 29, 2026, 7:49 PM
Status
Deferred
Published
Nov 30, 2026, 2:17 PM
Modified
Nov 30, 2026, 3:17 PM