pgweb missing authentication in RunQuery API route
- Exploited
- Proof of concept public, per CISA
- Fix
- No fix listed
- Who is exposed
- Not reported
Summary
The sosedoff pgweb API has a flaw in its RunQuery function, where a manipulated Query argument can lead to missing authentication. A remote attacker can reach it over the network without logging in.
Written by a model
Original 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.
What to do
Check your systems with an agent
Paste this into a coding or ops agent. It checks your systems read-only and reports a table per asset.
Check whether my systems are affected by CVE-2026-138429 (sosedoff pgweb API routes.go RunQuery missing authentication), using the cve.now data below.
Rules: work read-only. Do not run exploit code, proof-of-concept scripts or scanners that send attack payloads, and do not change any configuration, package, image or deployment. Report findings only.
What cve.now has for CVE-2026-138429 (entry last updated 2026-11-30):
Affected:
- sosedoff pgweb: versions 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 0.10, 0.11, 0.12 and 5 more
Fixed versions: none listed yet.
Setup: unknown whether the bug needs a non-default feature or setting. Check the advisory.
CISA KEV: CVE-2026-138429 is not listed as of cve.now's last read.
This KEV status is for CVE-2026-138429 only. If you also check another CVE, look up its own KEV status; never assume it from this one.
How to check:
- Installed software: check what is actually running, not what a repo declares. Read the version from each host, container image and Kubernetes node (the binary's version output, the OS package database, image layers), and check whether the conditions above hold there. Distribution packages may carry a backported fix under an older version number; confirm against the distribution's own advisory.
Verify against the linked advisories before concluding, and cite the date you read each one:
- https://vuldb.com/vuln/445253
- https://vuldb.com/vuln/445253/cti
- https://vuldb.com/cve/CVE-2026-138429
- https://vuldb.com/submit/1064262
Do not conclude an asset is unaffected unless you checked it and the evidence covers both its version and the conditions above. If you could not check something, mark it unknown and say what is missing.
Report a table with one row per asset and these columns: Asset | Version or build | Status (affected, fixed, not applicable, unknown) | Compensating controls | Exposure (internet-facing, internal, none) | Evidence | Next action.
Entry: https://cve.now/CVE-2026-138429
For follow-up questions, use the cve.now MCP server at https://mcp.cve.now/mcp (no authentication), for example execute with name cve.get and arguments {"id": "CVE-2026-138429"}.Affected versions
- sosedoff pgweb0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 0.10, 0.11, 0.12, 0.13, 0.14, 0.15, 0.16, 0.17.0
cve.now Index
- Exploitation15/40CISA rates a proof of concept as public
- Exposure20/25No login or user action needed per the CVSS vector, CISA rates it automatable · Unknown: No advisory context yet
- Reach?/20Unknown. No tracked technology or package matched
- Severity6.9/10CVSS 6.9
- No patch5/5No patch listed yet
What would change the score
- Would score about 77 if added to CISA KEV
- Would score about 72 if CISA's SSVC rates exploitation active
- Would score about 52 if advisories confirm default setups are exposed
Timeline
- CVE published
- First seen by cve.now
- CISA SSVC assessment
Exploitation: poc · Automatable: yes · Technical impact: partial
- Record last updated
Evidence 7
| Kind | Source |
|---|---|
| CVE record 2Establishes: The identifier and description. | |
| Record | CVE List · CVE-2026-138429 |
| Record | NVD · CVE-2026-138429 |
| Public exploit code 1Establishes: Public exploit code exists (Exploit-DB, Metasploit, Nuclei and GitHub). | |
| Exploit | GitHub · QiLiLab/pgweb-unauthenticated-sql-rce · Repository |
| Other links 4 | |
| Advisory | VulDB · Advisory #445253 |
| Advisory | VulDB · Threat intelligence #445253 |
| Advisory | VulDB · CVE-2026-138429 record |
| Advisory | VulDB · Submission #1064262 |
Questions about CVE-2026-138429
Is CVE-2026-138429 being exploited?
It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. CISA's SSVC assessment notes a proof of concept exists. No public exploit code is tracked.
Source: cve.now feed data
Which versions are affected by CVE-2026-138429?
pgweb: versions 0.1, 0.2, 0.3, 0.4, 0.5 and 12 more.
Source: cve.now feed data
Related
- CVE-2026-91924pgweb through 0.17.0 Missing Authorization on Direct Connect Endpoint
- CVE-2026-138424TOTOLINK N350RT Web Management cstecgi.cgi missing authentication
- CVE-2026-138407Beetel 777VR1 Broadband Router Router Management Console improper authentication
- CVE-2026-137018enclave-os-mini: JWT signatures were not verified in builds without the wasm feature
- CVE-2026-138670TOTOLINK X6000R shttpd arp_bind authentication bypass
- CVE-2026-126628Apache Unomi: GraphQL WebSocket upgrade can complete without authentication
No corrections so far. Something wrong on this page? Report an error.