GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Utility binary-path guard accepted paths under SHARED_STORAGE (CVE-2026-116243) · Issue #10656 · pgadmin-org/pgadmin4

Utility binary-path guard accepted paths under SHARED_STORAGE (CVE-2026-116243) #10656

New issue
Copy link
New issue
Copy link
Closed
Closed
Utility binary-path guard accepted paths under SHARED_STORAGE (CVE-2026-116243)#10656
Copy link

Description

@asheshv
asheshv
opened on Oct 22, 2026
Issue body actions

Summary

pgAdmin 4 runs pg_dump, pg_restore, pg_dumpall and psql from the binary path a user sets in their preferences. In server mode the binary path was refused only when it lay under the per-user storage directory (STORAGE_DIR), not under a SHARED_STORAGE directory, which ordinary users can upload files to. A user could therefore upload an executable to shared storage, point their binary path at it, and have pgAdmin run it as the operating-system account running pgAdmin. On POSIX, files created through pgAdmin are not executable, so this is exploitable where any file with an executable name can run, such as Windows server mode.

The fix checks the binary path against every SHARED_STORAGE directory as well, after expanding $DIR, collapsing ".." and resolving symbolic links, compares directories in a way a different spelling on a case-insensitive filesystem cannot bypass, refuses a path containing a NUL, and enforces the check wherever binary paths are resolved, including for the PSQL tool.

Affected versions

pgAdmin 4 >= 8.5, < 9.19.

Fix

Fixed in pgAdmin 4 9.19 by 9e95d9a72155beb40d3735cadf6ae754f627cac7.

Severity

  • CVSS 3.1: 7.5 HIGH — CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
  • CVSS 4.0: 7.7 HIGH — CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Weaknesses

  • CWE-426 Untrusted Search Path
  • CWE-427 Uncontrolled Search Path Element

Credit

Reported by Harsh Singh.

References

  • CVE: CVE-2026-116243
  • Release notes: pgAdmin 4 9.19

Activity

  1. asheshv
    added a commit that references this issue on Oct 26, 2026

    Reject SHARED_STORAGE paths in the utility binary-path guard. #10656

    9e95d9a
  2. dpage
    changed the title [-]Internal tracking: pending fix for 9.19[/-] [+]Utility binary-path guard accepted paths under SHARED_STORAGE (CVE-2026-116243)[/+] on Nov 5, 2026
  3. dpage commented on Nov 5, 2026

    @dpage
    dpage
    on Nov 5, 2026
    Contributor
    More actions

    Fixed in pgAdmin 4 9.19, released on 29-10-2026.

    CVE: CVE-2026-116243

    Details (from the 9.19 release notes):

    Fix the utility binary-path guard accepting a path under SHARED_STORAGE, which ordinary users can write to, so a user could point a server type's binary path at a file placed there and have pgAdmin execute it (CVE-2026-116243). Every SHARED_STORAGE entry is now rejected alongside STORAGE_DIR, after expanding $DIR and .. and resolving symbolic links, so an existing binary path under a shared storage directory stops working. An empty STORAGE_DIR is not covered. Reported by Harsh Singh.

    Commits:

    • 9e95d9a Reject SHARED_STORAGE paths in the utility binary-path guard. Utility binary-path guard accepted paths under SHARED_STORAGE (CVE-2026-116243) #10656
  4. dpage
    closed this as completedon Nov 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.