nday
CVE-2024-2044 GHSA-rj98-crf4-g69w

Unsafe Deserialisation and Remote Code Execution by an Authenticated user in pgAdmin 4

pgadmin.org / pgAdmin 4

Correctif recensé 984 jours après la divulgation. Version corrigée : pgAdmin4 8.4. Cette vulnérabilité figure dans une seule des 4 sources de PoC : metasploit. Aucune inscription au catalogue KEV de la CISA à ce jour.

why these tags

nday derives these tags by fixed rules from the facts below; NVD, the CNA and other sources do not assign them. Vocabulary and rules: ~/tags.

deserialization of untrusted data
CWE-502, stated by GitHub advisory GHSA-rj98-crf4-g69w
path traversal
CWE-22, stated by GitHub advisory GHSA-rj98-crf4-g69wCWE-31, stated by the ADP CISA-ADP, NVD, republishing 134c704f-9b21-4f2e-91b3-4a467353bcc0 et GitHub advisory GHSA-rj98-crf4-g69w
network
AV:N in CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H (CVSS 3.1) from the CNA PostgreSQL
no user interaction
UI:N in CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H (CVSS 3.1) from the CNA PostgreSQL
Metasploit
Metasploit modules exploit/multi/http/pgadmin_session_deserialization
PyPI
GHSA-rj98-crf4-g69w: pip packages pgAdmin4
étape actuelle
POC
divulgation
délai avant correctif
T+984d
CVSS
9.9 CRITICAL v3.1

Cycle de vie

Axe en UTC ; point = minute exacte, barre large = date seule, creux = inconnue ou déduite.
date inconnue
DISdivulguée
2024-03-07T20:48Z
PATcorrectif
2026-11-16T16:00Z
ANAanalyse
aucune donnée
POCPoC
metasploit
ITWexploitée
aucune donnée
KEVKEV
aucune donnée

Résumé

pgAdmin <= 8.3 is affected by a path-traversal vulnerability while deserializing users’ sessions in the session handling code. If the server is running on Windows, an unauthenticated attacker can load and deserialize remote pickle objects and gain code execution. If the server is running on POSIX/Linux, an authenticated attacker can upload pickle objects, deserialize them, and gain code execution.

Original text of the CVE record (cvelist), shown as published.

Exploit conditions

What an attack needs, read from the CVSS vector.
Attack vector AV:N
Network: the attacker only needs to reach it over the network
Attack complexity AC:L
Low: no special conditions; the attacker can expect repeatable success
Privileges required PR:L
Low: ordinary user privileges
User interaction UI:N
None: no action by anyone other than the attacker

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

CVSS 3.1 vector from the CVE record, scored by the CNA PostgreSQL.

Journal des événements

+DISdivulgation

Fiche CVE publiée par PostgreSQL. CVSS 9.9, gravité critique. Évaluation SSVC de la CISA : exploitation au niveau « poc ».

source cvelist · importé en masse par nday le · brut
{
  "id": 61354,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2024-2044",
  "occurred_at": "2024-03-07T20:48:10.066Z",
  "observed_at": "2026-11-12T18:01:52.55281Z",
  "is_backfill": true,
  "dedupe_key": "",
  "detail": {
    "cvss": {
      "source": "cna",
      "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H",
      "version": "3.1",
      "base_score": 9.9,
      "base_severity": "CRITICAL"
    },
    "ssvc": {
      "timestamp": "2024-03-11T14:48:18.333654Z",
      "automatable": "no",
      "exploitation": "poc",
      "technical_impact": "total"
    },
    "state": "PUBLISHED",
    "date_published": "2024-03-07T20:48:10.066Z",
    "assigner_short_name": "PostgreSQL"
  }
}
source non datée ; vu en direct par nday
+PATcorrectif disponible

L’avis indique la version corrigée pgAdmin4 8.4. L’avis renvoie vers les commits de correction. Avis publié le  ; la date de publication du correctif lui-même n’est pas renseignée.

source ghsa GHSA-rj98-crf4-g69w · observé en direct par nday le · brut
{
  "id": 472982,
  "type": "patch_released",
  "source": "ghsa",
  "url": "https://github.com/advisories/GHSA-rj98-crf4-g69w",
  "occurred_at": null,
  "observed_at": "2026-11-16T16:00:12.562502Z",
  "is_backfill": false,
  "dedupe_key": "GHSA-rj98-crf4-g69w",
  "detail": {
    "cvss": {
      "cvss_v3": {
        "score": 9.9,
        "vector_string": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H"
      },
      "cvss_v4": {
        "score": 9.4,
        "vector_string": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H"
      }
    },
    "cwes": [
      {
        "name": "Improper Limitation of a Pathname to a Restricted Directory",
        "cwe_id": "CWE-22"
      },
      {
        "name": "Path Traversal: 'dir....filename'",
        "cwe_id": "CWE-31"
      },
      {
        "name": "Deserialization of Untrusted Data",
        "cwe_id": "CWE-502"
      }
    ],
    "ghsa_id": "GHSA-rj98-crf4-g69w",
    "packages": [
      {
        "name": "pgAdmin4",
        "ecosystem": "pip",
        "first_patched_version": "8.4",
        "vulnerable_version_range": "< 8.4"
      }
    ],
    "severity": "critical",
    "references": [
      "https://nvd.nist.gov/vuln/detail/CVE-2024-2044",
      "https://github.com/pgadmin-org/pgadmin4/issues/7258",
      "https://github.com/pgadmin-org/pgadmin4/commit/4e49d752fba72953acceeb7f4aa2e6e32d25853d",
      "https://www.shielder.com/advisories/pgadmin-path-traversal_leads_to_unsafe_deserialization_and_rce",
      "https://lists.fedoraproject.org/archives/list/[email protected]/message/LUYN2JXKKHFSVTASH344TBRGWDH64XQV",
      "https://github.com/pypa/advisory-database/tree/main/vulns/pgadmin4/PYSEC-2026-453.yaml",
      "https://pypi.org/project/pgadmin4",
      "https://github.com/advisories/GHSA-rj98-crf4-g69w"
    ],
    "fix_commit_urls": [
      "https://github.com/pgadmin-org/pgadmin4/commit/4e49d752fba72953acceeb7f4aa2e6e32d25853d"
    ],
    "github_reviewed_at": "2024-03-07T22:39:27Z",
    "advisory_updated_at": "2026-11-16T15:45:57Z",
    "source_code_location": "https://github.com/pgadmin-org/pgadmin4",
    "advisory_published_at": "2024-03-07T21:30:22Z"
  }
}
date inconnuela source ne donne aucune date
+POCPoC publique

Metasploit propose le module exploit/multi/http/pgadmin_session_deserialization (« pgAdmin Session Deserialization RCE »). La source n’indique pas la date de publication du module.

source metasploit exploit/multi/http/pgadmin_session_deserialization · importé en masse par nday le · brut
{
  "id": 51333,
  "type": "poc_published",
  "source": "metasploit",
  "url": "https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/pgadmin_session_deserialization.rb",
  "occurred_at": null,
  "observed_at": "2026-11-12T15:24:51.477477Z",
  "is_backfill": true,
  "dedupe_key": "exploit/multi/http/pgadmin_session_deserialization",
  "detail": {
    "url": "https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/pgadmin_session_deserialization.rb",
    "kind": "msf_module",
    "path": "/modules/exploits/multi/http/pgadmin_session_deserialization.rb",
    "rank": 600,
    "check": true,
    "title": "pgAdmin Session Deserialization RCE",
    "cve_ids": [
      "CVE-2024-2044"
    ],
    "fullname": "exploit/multi/http/pgadmin_session_deserialization",
    "rank_name": "excellent",
    "confidence": "curated",
    "module_type": "exploit",
    "module_last_modified": "2025-04-11 15:55:46 +0000",
    "vuln_disclosure_date": "2024-03-04"
  }
}

Report an error

report an error or omission

Something on this page wrong or missing? Tell the editors; if they accept it, this page's revision log says so publicly. Upstream data is not changed.

Échanges entre chercheurs

0 chercheur en a parlé ces 7 derniers jours

Publications sur X de chercheurs suivis par nday citant cette CVE, telles que publiées. nday ne les vérifie pas.

nday n’a encore recueilli aucune publication sur X d’un chercheur de sa liste citant cette CVE.

Discussion

0 comments

No comments yet.