Skip to content

Commit aff6ab0

Browse files
1 parent ed67c7c commit aff6ab0

File tree

2 files changed

+74
-36
lines changed

2 files changed

+74
-36
lines changed
Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
{
2+
"schema_version": "1.4.0",
3+
"id": "GHSA-fxmw-jcgr-w44v",
4+
"modified": "2025-12-12T16:42:54Z",
5+
"published": "2025-12-11T21:31:28Z",
6+
"aliases": [
7+
"CVE-2025-13780"
8+
],
9+
"summary": "pgadmin4 has a Meta-Command Filter Command Execution",
10+
"details": "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.",
11+
"severity": [
12+
{
13+
"type": "CVSS_V3",
14+
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:L"
15+
}
16+
],
17+
"affected": [
18+
{
19+
"package": {
20+
"ecosystem": "PyPI",
21+
"name": "pgadmin4"
22+
},
23+
"ranges": [
24+
{
25+
"type": "ECOSYSTEM",
26+
"events": [
27+
{
28+
"introduced": "0"
29+
},
30+
{
31+
"fixed": "9.11"
32+
}
33+
]
34+
}
35+
]
36+
}
37+
],
38+
"references": [
39+
{
40+
"type": "ADVISORY",
41+
"url": "https://nvd.nist.gov/vuln/detail/CVE-2025-13780"
42+
},
43+
{
44+
"type": "WEB",
45+
"url": "https://github.com/pgadmin-org/pgadmin4/issues/9368"
46+
},
47+
{
48+
"type": "WEB",
49+
"url": "https://github.com/pgadmin-org/pgadmin4/pull/9426"
50+
},
51+
{
52+
"type": "WEB",
53+
"url": "https://github.com/pgadmin-org/pgadmin4/commit/1d397395f75320ca1d4ed5e9ca721c603415e836"
54+
},
55+
{
56+
"type": "WEB",
57+
"url": "https://github.com/pgadmin-org/pgadmin4/commit/d5a909f14cb9713d89b49481ad1929fad89f4576"
58+
},
59+
{
60+
"type": "PACKAGE",
61+
"url": "https://github.com/pgadmin-org/pgadmin4"
62+
}
63+
],
64+
"database_specific": {
65+
"cwe_ids": [
66+
"CWE-77",
67+
"CWE-94"
68+
],
69+
"severity": "CRITICAL",
70+
"github_reviewed": true,
71+
"github_reviewed_at": "2025-12-12T16:42:54Z",
72+
"nvd_published_at": "2025-12-11T19:15:52Z"
73+
}
74+
}

advisories/unreviewed/2025/12/GHSA-fxmw-jcgr-w44v/GHSA-fxmw-jcgr-w44v.json

Lines changed: 0 additions & 36 deletions
This file was deleted.

0 commit comments

Comments
 (0)