Skip to main content
Mallory
HighVulnerability

CVE-2026-7817: LFI and SSRF in pgAdmin 4 LLM API configuration endpoints

Published May 11, 2026 · Updated 2 months ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS7.1High · v4
EPSS0.22%12th percentile
CISA KEVNoNot listed
In the wildNoneNo exploitation reported
Vendor
Pgadmin
IdentifiersCVE-2026-7817CWE-918

CVE-2026-7817 is a vulnerability in pgAdmin 4 affecting versions before 9.15 in the LLM API configuration endpoints. User-controlled api_key_file and api_url preference values were passed to LLM provider client logic without sufficient validation. This allowed an authenticated user to set api_key_file to an arbitrary path readable by the pgAdmin process, resulting in local file inclusion and disclosure of server-side file contents. The same flaw allowed an authenticated user to set api_url to attacker-chosen or internal destinations and trigger outbound requests through the chat path and model-list endpoints, resulting in server-side request forgery. The issue was corrected by constraining api_key_file to trusted per-user storage locations depending on deployment mode, validating key content shape, limiting file reads, and enforcing an allow-list for api_url at each relevant entry point.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation can expose arbitrary files readable by the pgAdmin server process, which may include application configuration, credentials, tokens, or other sensitive local data. The SSRF component can be used to force pgAdmin to initiate requests to internal network services or link-local resources such as cloud metadata endpoints, potentially exposing secrets, enabling internal service enumeration, or providing a pivot into otherwise unreachable network locations. Impact is bounded by the privileges of the pgAdmin process and the network reachability available from the host running pgAdmin.

Mitigation

If you can’t patch tonight, do this now.

If immediate upgrade is not possible, restrict or disable use of the LLM integration and tightly control which authenticated users can modify LLM API preferences. Configure a strict allow-list for permitted LLM API endpoints where supported, prevent the pgAdmin host from reaching sensitive internal services and cloud metadata endpoints through network egress controls, and run pgAdmin with the minimum filesystem privileges necessary so the process cannot read sensitive local files beyond its operational requirements.

Remediation

Patch, then assume compromise.

Upgrade pgAdmin 4 to version 9.15 or later. The fix restricts api_key_file to the user's private storage in server mode or the user's home directory in desktop mode, enforces a printable-ASCII key format with a 1024-byte read limit, and validates api_url against the configurable allow-list defined by ALLOWED_LLM_API_URLS at every affected entry point.

Public exploits

Exploits

No public exploits tracked yet. Mallory keeps watching.

View more in app →
No public exploit code observed for this vulnerability. Mallory keeps watching.
Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
PgadminPgadmin 4application
FAQ

Frequently asked questions

Is CVE-2026-7817 exploited in the wild?
As of Sep 25, 2026, Mallory has no reports of CVE-2026-7817 being exploited in the wild. It is not listed in CISA KEV.
Is there a public exploit for CVE-2026-7817?
As of Sep 25, 2026, Mallory has found no public exploit for CVE-2026-7817.
Is there a patch for CVE-2026-7817?
Upgrade pgAdmin 4 to version 9.15 or later. The fix restricts api_key_file to the user's private storage in server mode or the user's home directory in desktop mode, enforces a printable-ASCII key format with a 1024-byte read limit, and validates api_url against the configurable allow-list defined by ALLOWED_LLM_API_URLS at every affected entry point.
What products are affected by CVE-2026-7817?
Pgadmin 4.
How severe is CVE-2026-7817?
CVE-2026-7817 has a CVSS v4 score of 7.1 (High) and an EPSS score of 0.22% (12th percentile) as of Sep 25, 2026.
Activity feed

Recent activity

2 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity1Community discussion across Reddit, Mastodon, and other social sources.