Bug 2469094 (CVE-2026-7817) - CVE-2026-7817 pgadmin4: local file inclusion and server-side request forgery in LLM API configuration endpoints
Summary: CVE-2026-7817 pgadmin4: local file inclusion and server-side request forgery ...
Keywords:
Status: NEW
Alias: CVE-2026-7817
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2476788
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-05-11 16:03 UTC by OSIDB Bzimport
Modified: 2026-05-13 14:02 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-05-11 16:03:11 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.