Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. phppgadmin/phppgadmin
  4. ›
  5. CVE-2021-47853

CVE-2021-47853: phpPgAdmin contains a remote command execution vulnerability

January 21, 2026 (updated February 2, 2026)

phpPgAdmin 7.13.0 contains a remote command execution vulnerability that allows authenticated attackers to execute arbitrary system commands through SQL query manipulation. Attackers can create a custom table, upload a malicious .txt file, and use the COPY FROM PROGRAM command to execute operating system commands with the application’s privileges.

References

  • github.com/advisories/GHSA-86gh-c8r8-xwhq
  • github.com/phppgadmin/phppgadmin
  • github.com/phppgadmin/phppgadmin/releases
  • nvd.nist.gov/vuln/detail/CVE-2021-47853
  • www.exploit-db.com/exploits/49736
  • www.vulncheck.com/advisories/phppgadmin-copy-from-program-command-execution

Code Behaviors & Features

Detect and mitigate CVE-2021-47853 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 7.13.0

Solution

Unfortunately, there is no solution available yet.

Impact 8.8 HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Source file

packagist/phppgadmin/phppgadmin/CVE-2021-47853.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Thu, 19 Feb 2026 00:18:12 +0000.