A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection Platforms. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Read More
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-7819

CVE-2026-7819: pgAdmin 4 Path Traversal Vulnerability

CVE-2026-7819 is a symbolic-link path traversal flaw in pgAdmin 4 File Manager that allows authenticated users to write files outside their storage directory. This article covers technical details, affected versions, and fixes.

Published: May 18, 2026

CVE-2026-7819 Overview

CVE-2026-7819 is a symbolic-link path traversal vulnerability [CWE-61, CWE-22] in the pgAdmin 4 File Manager. The flaw exists in the check_access_permission function, which uses os.path.abspath to validate file paths. This function resolves .. sequences but does not follow symbolic links, while the subsequent kernel write operation does follow them. An authenticated attacker can plant a symbolic link inside their own storage directory pointing outside of it, then induce pgAdmin to write to any path reachable by the pgAdmin process. The issue affects pgAdmin 4 versions before 9.15.

Critical Impact

Authenticated users can write files to arbitrary locations accessible by the pgAdmin process, enabling integrity and availability compromise of the host system.

Affected Products

  • pgAdmin 4 versions prior to 9.15

Discovery Timeline

  • 2026-05-11 - CVE-2026-7819 published to NVD
  • 2026-05-13 - Last updated in NVD database

Technical Details for CVE-2026-7819

Vulnerability Analysis

The vulnerability resides in the pgAdmin 4 File Manager component responsible for validating user-supplied file paths during upload operations. The check_access_permission routine calls os.path.abspath to canonicalize the requested path. While os.path.abspath collapses .. traversal sequences, it does not resolve symbolic links along the path. The kernel-level write that follows the check transparently follows any symlinks it encounters. This mismatch between the path used for authorization and the path used for the actual write produces an exploitable traversal primitive.

The flaw also exhibits a Time-of-Check to Time-of-Use (TOCTOU) condition. Between the access check and the open call, an attacker can swap the leaf component of the target path, redirecting the write after authorization has been granted.

Root Cause

The root cause is the use of os.path.abspath instead of os.path.realpath for security-relevant path validation. abspath performs lexical normalization only and does not consult the filesystem to resolve symlinks. Validation therefore evaluates a logical path while the write targets the physical path the kernel resolves.

Attack Vector

An authenticated user with access to their own pgAdmin storage directory creates a symbolic link inside that directory pointing to a location outside it. The user then issues a file operation through the File Manager that targets the symlink. check_access_permission confirms the apparent path lies within the user's storage, but the subsequent write follows the symlink to the attacker-chosen destination. Any file path reachable by the pgAdmin process identity becomes a valid write target, including configuration files, web application content, or scheduled task definitions.

Detection Methods for CVE-2026-7819

Indicators of Compromise

  • Presence of symbolic links inside per-user pgAdmin storage directories that resolve to paths outside the user's storage root.
  • File Manager upload or rename requests where the resolved real path differs from the requested absolute path.
  • Unexpected file writes by the pgAdmin process identity to paths outside the configured storage directory.
  • New or modified files in system, web, or application directories whose owner matches the pgAdmin service account.

Detection Strategies

  • Audit pgAdmin storage directories for symbolic links using find <storage_dir> -type l and verify each target resolves within the intended boundary.
  • Enable filesystem auditing (auditd, Sysmon FileCreate) on the pgAdmin process to capture write operations outside the storage root.
  • Review pgAdmin application logs for File Manager activity correlated with anomalous write destinations on the host.

Monitoring Recommendations

  • Alert on creation of symlinks within authenticated user storage directories on pgAdmin servers.
  • Monitor pgAdmin process file writes for paths matching sensitive locations such as ~/.ssh/, web roots, cron directories, and pgAdmin configuration files.
  • Correlate authenticated File Manager API calls with subsequent filesystem changes outside expected upload paths.

How to Mitigate CVE-2026-7819

Immediate Actions Required

  • Upgrade pgAdmin 4 to version 9.15 or later on all affected deployments.
  • Restrict network access to pgAdmin to trusted administrators only, since exploitation requires authentication.
  • Audit existing storage directories for pre-planted symbolic links and remove any that point outside the storage root.
  • Run the pgAdmin process under a least-privileged service account that cannot write to sensitive system paths.

Patch Information

The fix in pgAdmin 4 version 9.15 replaces os.path.abspath with os.path.realpath for both source and destination path checks, ensuring symbolic links are resolved before authorization. A new _open_upload_target helper opens the target with the O_NOFOLLOW flag and mode 0o600, closing the leaf-component TOCTOU window between the access check and the file open. File creation mode is hardened from 0o644 to 0o600. See the pgAdmin GitHub Issue 9902 for additional technical detail.

Workarounds

  • If immediate patching is not possible, disable or restrict the File Manager feature for non-administrative users.
  • Mount per-user pgAdmin storage directories with the nosymfollow option where supported to block symlink traversal at the kernel level.
  • Apply mandatory access controls (SELinux, AppArmor) confining the pgAdmin process to its intended storage directories.
bash
# Identify symbolic links inside pgAdmin storage that escape the storage root
find /var/lib/pgadmin/storage -type l -exec sh -c '
  for link; do
    target=$(readlink -f "$link")
    case "$target" in
      /var/lib/pgadmin/storage/*) ;;
      *) echo "OUT-OF-BOUNDS: $link -> $target" ;;
    esac
  done
' sh {} +

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypePath Traversal

  • Vendor/TechPgadmin

  • SeverityHIGH

  • CVSS Score7.2

  • EPSS Probability0.05%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:H/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
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-61
  • Technical References
  • GitHub Issue Tracker Entry
  • Related CVEs
  • CVE-2026-7815: pgAdmin 4 SQL Injection Vulnerability

  • CVE-2026-7817: pgAdmin 4 LFI and SSRF Vulnerability

  • CVE-2026-7816: pgAdmin 4 RCE Vulnerability Explained

  • CVE-2026-7818: pgAdmin 4 Deserialization RCE Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English