Local File Inclusion and Server-Side Request Forgery in pgAdmin 4 by pgAdmin
CVE-2026-7817
7.1HIGH
What is CVE-2026-7817?
pgAdmin 4 suffers from local file inclusion (LFI) and server-side request forgery (SSRF) vulnerabilities due to improper validation of user-supplied inputs in the LLM API configuration endpoints. Authenticated users could potentially exploit these weaknesses to access arbitrary files on the server or manipulate requests to internal services by modifying the api_key_file and api_url parameters. The fix includes restrictions on the api_key_file path, ensuring it is limited to the user's private storage or home directory, and instituting a validation process for api_url against an allow-list at all entry points. This vulnerability affects versions of pgAdmin 4 prior to 9.15.
Affected Version(s)
pgAdmin 4 9.13
