CVE-2026-7817 Affecting pgadmin4 package, versions <9.15-r1


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

Social Trends
EPSS
0.22% (12th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-CHAINGUARDLATEST-PGADMIN4-16890704
  • published27 May 2026
  • disclosed11 May 2026

Introduced: 11 May 2026

CVE-2026-7817  (opens in a new tab)

How to fix?

Upgrade Chainguard pgadmin4 to version 9.15-r1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream pgadmin4 package and not the pgadmin4 package as distributed by Chainguard. See How to fix? for Chainguard relevant fixed versions and status.

Local file inclusion (LFI) and server-side request forgery (SSRF) vulnerabilities in pgAdmin 4 LLM API configuration endpoints.

User-supplied api_key_file and api_url preferences were passed to the LLM provider clients without validation. An authenticated user could read arbitrary server-side files by pointing api_key_file at any path readable by the pgAdmin process, or coerce pgAdmin into making requests to internal targets (e.g. cloud metadata services such as 169.254.169.254) by setting api_url, exploiting the chat path and model-list endpoints.

Fix restricts api_key_file to the user's private storage (server mode) or home directory (desktop mode), enforces a printable-ASCII key shape and a 1024-byte read cap, and gates api_url against a configurable allow-list (config.ALLOWED_LLM_API_URLS) at every entry point.

This issue affects pgAdmin 4: before 9.15.