MediumVulnerabilityLLM-specific
CVE-2026-7817: pgAdmin 4 LLM API configuration local file inclusion and SSRF
- Source
- NVD(opens in a new tab)
- Identifier
- CVE-2026-7817
- Published
- Record updated
- Fixed in
- The source references a patch, a mitigation or a vendor advisory.
Summary
CVE-2026-7817 affects pgAdmin 4 before 9.15 and concerns the LLM API configuration endpoints. User-supplied api_key_file and api_url preferences reached the LLM provider clients without validation, letting an authenticated user read arbitrary server-side files readable by the pgAdmin process or make pgAdmin request internal targets such as cloud metadata services at 169.254.169.254, via the chat path and model-list endpoints.
Mitigation
Fixed in pgAdmin 4 9.15. The 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 the allow-list config.ALLOWED_LLM_API_URLS at every entry point.
Related items
- MediumCVE-2026-143967: Wise Chat with AI unauthenticated stored cross-site scriptingSimilar attack, NVD/CVE Database
- MediumCVE-2026-135917: Apache Camel A2A component confused deputy via shared message headersSimilar attack, NVD/CVE Database
- MediumCVE-2026-107489: Improper Authentication vulnerability in Apache Camel A2A component. This issue affects Apache Camel: from 4.21.0…Similar attack, NVD/CVE Database
- MediumNSA urges immediate post-quantum shift after AI labs report cryptography breakthroughsSimilar attack, CSO Online
- LowPerplexity caught an AI attacker casing its cloudSimilar attack, CSO Online