pgadmin4 has a Meta-Command Filter Command Execution
The PLAIN restore meta-command filter introduced in pgAdmin as part of the fix for CVE-2025-12762 does not detect meta-commands when a SQL file begins with a UTF-8 Byte Order Mark (EF BB BF) or other special byte sequences. The implemented filter uses the function has_meta_commands(), which scans raw bytes using a regular expression. The regex does not treat the bytes as ignorable, so meta-commands such as \\! remain undetected. When pgAdmin invokes psql with --file, psql strips the bytes and executes the command. This can result in remote command execution during a restore operation.
Czego dotyczy
Kliknij technologię, aby zobaczyć wszystkie dotyczące jej podatności.
| Platforma | Paczka | Podatne wersje | Poprawka w wersji |
|---|---|---|---|
| Python (PyPI) | pgadmin4 | < 9.11 | 9.11 |
Odnośniki
- https://nvd.nist.gov/vuln/detail/CVE-2025-13780
- https://github.com/pgadmin-org/pgadmin4/issues/9368
- https://github.com/pgadmin-org/pgadmin4/pull/9426
- https://github.com/pgadmin-org/pgadmin4/commit/1d397395f75320ca1d4ed5e9ca721c603415e836
- https://github.com/pgadmin-org/pgadmin4/commit/d5a909f14cb9713d89b49481ad1929fad89f4576
- https://github.com/pgadmin-org/pgadmin4
- https://pypi.org/project/pgadmin4
- https://github.com/advisories/GHSA-fxmw-jcgr-w44v
- Wektor CVSS
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:L- Słabość (CWE)
CWE-77, CWE-94- Platforma
- Python (PyPI)
- Paczka
pgadmin4- Ujawniono
- 11.12.2025
- Aktualizacja
- 11.10.2026 12:20
Źródła i licencje
OSV / GitHub Advisory Database - GHSA-fxmw-jcgr-w44v - CC BY 4.0
OSV / GitHub Advisory Database - PYSEC-2026-450 - PyPA Advisory Database; CC BY 4.0
Historia podatności: pgadmin4
Wszystkie opisane podatności tej paczki (Python (PyPI)), od najnowszej. Widać, czy to jednorazowa wpadka, czy paczka, której trzeba pilnować.
- Wszystkich wpisów
- 28
- Pierwsza → ostatnia
- 03.2022 05.2026
- Bez poprawki
- 0
- Wykorzystywana w atakach
- 0
Rozkład istotności
- Krytyczna 6
- Wysoka 14
- Średnia 8
Ujawnienia w latach
- 2022: 2
- 2023: 3
- 2024: 5
- 2025: 9
- 2026: 9
-
pgadmin4 has a Meta-Command Filter Command Execution ten wpis
Dowiedz się, które podatności dotyczą Twojej aplikacji
Po podłączeniu integracji DockRay i włączeniu raportowania oprogramowania DockRay porównuje zgłoszone wersje komponentów ze znanymi podatnościami i powiadamia o potwierdzonych dopasowaniach. Zakres zależy od obsługiwanej technologii i dostępnych biuletynów.