All vulnerabilities

Servers and applications

CVE-2026-7817

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…

Severity
High 7.1
Published
11 May 2026
Last changed
26 Oct 2026
Added to UpHeron
1 Nov 2026
Fixed in
9.15
Exploit chance
0.2% in the next 30 daysHigher than 12% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
Files or directories accessible to outside parties (CWE-552)
Attack
Over the network · Needs a user account · No user action needed
Attacker can
Read data
CVSS vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Sources
NVD

Description

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.

From NVD.

Affected software

SoftwareAffected versions
pgAdminServers and applications · cpe:a:pgadmin:pgadmin_4
  • From 9.13 before 9.15

About pgAdmin

graphical administration tool for PostgreSQL

From Wikidata, CC0 1.0.
Weekly downloads (PyPI)
5,570PyPI Stats, 15 Nov 2026
Docker Hub pulls
455,658,756Docker Hub, 15 Nov 2026
GitHub stars
3,940GitHub, 15 Nov 2026
Forks
921GitHub, 15 Nov 2026
License
PostgreSQL LicenseWikidata
Written in
Python, JavaScriptWikidata
First published on GitHub
20 Feb 2017GitHub

Release lines

ReleaseLatestSecurity fixes
99.19Yes
88.14Ended 6 Feb 2025
77.8Ended 23 Nov 2023
66.21Ended 13 Apr 2023
55.7Ended 7 Oct 2021
44.30Ended 25 Feb 2021

From endoflife.date.

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2026-7817
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-7817