← Back to CVE Explorer

CVE-2026-120859

Full vulnerability record from the local CVENow database.

Description

PyMoDAQ before 4.4.13, and pymodaq_data, pymodaq_gui, and pymodaq_utils before 5.1.15, 5.2.x before 5.2.14, and 5.3.x before 5.3.10, contain deserialization of untrusted data and eval injection vulnerabilities that allow attackers to execute arbitrary code by supplying crafted files that a user opens. Attackers can store pickled objects in HDF5 string nodes that StringARRAY.array_to_string() passes to pickle.loads() when the node is browsed or read, place Python expressions in HDF5 attributes that JsonConverter.json2object() evaluates, supply a .dock file that load_layout_state() unpickles from the Dashboard Load layout action, or embed Python expressions in XML settings files that elt_to_dict() and set_txt_from_elt() evaluate.

Severity
HIGH
CVSS score
8.5 (v4.0)
Vulnerability status
Received
Source identifier
Published
2026-11-05 18:17:05.323000
Last modified
2026-11-05 18:17:05.323000
View original CVE JSON
{
  "id": "CVE-2026-120859",
  "sourceIdentifier": "[email protected]",
  "published": "2026-11-05T18:17:05.323",
  "lastModified": "2026-11-05T18:17:05.323",
  "vulnStatus": "Received",
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "PyMoDAQ before 4.4.13, and pymodaq_data, pymodaq_gui, and pymodaq_utils before 5.1.15, 5.2.x before 5.2.14, and 5.3.x before 5.3.10, contain deserialization of untrusted data and eval injection vulnerabilities that allow attackers to execute arbitrary code by supplying crafted files that a user opens. Attackers can store pickled objects in HDF5 string nodes that StringARRAY.array_to_string() passes to pickle.loads() when the node is browsed or read, place Python expressions in HDF5 attributes that JsonConverter.json2object() evaluates, supply a .dock file that load_layout_state() unpickles from the Dashboard Load layout action, or embed Python expressions in XML settings files that elt_to_dict() and set_txt_from_elt() evaluate."
    }
  ],
  "affected": [
    {
      "source": "[email protected]",
      "affectedData": [
        {
          "vendor": "PyMoDAQ",
          "product": "PyMoDAQ",
          "defaultStatus": "unaffected",
          "repo": "https://github.com/PyMoDAQ/PyMoDAQ",
          "packageURL": "pkg:pypi/pymodaq",
          "versions": [
            {
              "version": "0",
              "lessThan": "4.4.13",
              "versionType": "semver",
              "status": "affected"
            }
          ]
        },
        {
          "vendor": "PyMoDAQ",
          "product": "pymodaq_data",
          "defaultStatus": "unaffected",
          "repo": "https://github.com/PyMoDAQ/PyMoDAQ",
          "packageURL": "pkg:pypi/pymodaq-data",
          "versions": [
            {
              "version": "0",
              "lessThan": "5.1.15",
              "versionType": "semver",
              "status": "affected"
            },
            {
              "version": "5.2.0",
              "lessThan": "5.2.14",
              "versionType": "semver",
              "status": "affected"
            },
            {
              "version": "5.3.0",
              "lessThan": "5.3.10",
              "versionType": "semver",
              "status": "affected"
            }
          ]
        },
        {
          "vendor": "PyMoDAQ",
          "product": "pymodaq_gui",
          "defaultStatus": "unaffected",
          "repo": "https://github.com/PyMoDAQ/PyMoDAQ",
          "packageURL": "pkg:pypi/pymodaq-gui",
          "versions": [
            {
              "version": "0",
              "lessThan": "5.1.15",
              "versionType": "semver",
              "status": "affected"
            },
            {
              "version": "5.2.0",
              "lessThan": "5.2.14",
              "versionType": "semver",
              "status": "affected"
            },
            {
              "version": "5.3.0",
              "lessThan": "5.3.10",
              "versionType": "semver",
              "status": "affected"
            }
          ]
        },
        {
          "vendor": "PyMoDAQ",
          "product": "pymodaq_utils",
          "defaultStatus": "unaffected",
          "repo": "https://github.com/PyMoDAQ/PyMoDAQ",
          "packageURL": "pkg:pypi/pymodaq-utils",
          "versions": [
            {
              "version": "0",
              "lessThan": "5.1.15",
              "versionType": "semver",
              "status": "affected"
            },
            {
              "version": "5.2.0",
              "lessThan": "5.2.14",
              "versionType": "semver",
              "status": "affected"
            },
            {
              "version": "5.3.0",
              "lessThan": "5.3.10",
              "versionType": "semver",
              "status": "affected"
            }
          ]
        }
      ]
    }
  ],
  "metrics": {
    "cvssMetricV40": [
      {
        "source": "[email protected]",
        "type": "Secondary",
        "cvssData": {
          "version": "4.0",
          "vectorString": "CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/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",
          "baseScore": 8.5,
          "baseSeverity": "HIGH",
          "attackVector": "LOCAL",
          "attackComplexity": "LOW",
          "attackRequirements": "NONE",
          "privilegesRequired": "NONE",
          "userInteraction": "PASSIVE",
          "vulnConfidentialityImpact": "HIGH",
          "vulnIntegrityImpact": "HIGH",
          "vulnAvailabilityImpact": "HIGH",
          "subConfidentialityImpact": "NONE",
          "subIntegrityImpact": "NONE",
          "subAvailabilityImpact": "NONE",
          "exploitMaturity": "NOT_DEFINED",
          "confidentialityRequirement": "NOT_DEFINED",
          "integrityRequirement": "NOT_DEFINED",
          "availabilityRequirement": "NOT_DEFINED",
          "modifiedAttackVector": "NOT_DEFINED",
          "modifiedAttackComplexity": "NOT_DEFINED",
          "modifiedAttackRequirements": "NOT_DEFINED",
          "modifiedPrivilegesRequired": "NOT_DEFINED",
          "modifiedUserInteraction": "NOT_DEFINED",
          "modifiedVulnConfidentialityImpact": "NOT_DEFINED",
          "modifiedVulnIntegrityImpact": "NOT_DEFINED",
          "modifiedVulnAvailabilityImpact": "NOT_DEFINED",
          "modifiedSubConfidentialityImpact": "NOT_DEFINED",
          "modifiedSubIntegrityImpact": "NOT_DEFINED",
          "modifiedSubAvailabilityImpact": "NOT_DEFINED",
          "Safety": "NOT_DEFINED",
          "Automatable": "NOT_DEFINED",
          "Recovery": "NOT_DEFINED",
          "valueDensity": "NOT_DEFINED",
          "vulnerabilityResponseEffort": "NOT_DEFINED",
          "providerUrgency": "NOT_DEFINED"
        }
      }
    ],
    "cvssMetricV31": [
      {
        "source": "[email protected]",
        "type": "Primary",
        "cvssData": {
          "version": "3.1",
          "vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
          "baseScore": 7.8,
          "baseSeverity": "HIGH",
          "attackVector": "LOCAL",
          "attackComplexity": "LOW",
          "privilegesRequired": "NONE",
          "userInteraction": "REQUIRED",
          "scope": "UNCHANGED",
          "confidentialityImpact": "HIGH",
          "integrityImpact": "HIGH",
          "availabilityImpact": "HIGH"
        },
        "exploitabilityScore": 1.8,
        "impactScore": 5.9
      }
    ]
  },
  "weaknesses": [
    {
      "source": "[email protected]",
      "type": "Primary",
      "description": [
        {
          "lang": "en",
          "value": "CWE-95"
        },
        {
          "lang": "en",
          "value": "CWE-502"
        }
      ]
    }
  ],
  "references": [
    {
      "url": "https://github.com/PyMoDAQ/PyMoDAQ/blob/5.3.9/packages/pymodaq_data/src/pymodaq_data/h5modules/backends.py#L477-L478",
      "source": "[email protected]"
    },
    {
      "url": "https://github.com/PyMoDAQ/PyMoDAQ/commit/041e8a22b3dbe3c986ec0ea3c6b46a22f5efe374",
      "source": "[email protected]"
    },
    {
      "url": "https://github.com/PyMoDAQ/PyMoDAQ/commit/3bf9042a58f5d4870a2b45fe2c9423aafe6b9203",
      "source": "[email protected]"
    },
    {
      "url": "https://github.com/PyMoDAQ/PyMoDAQ/commit/6c7fff74d82624c640bd79513f5b4675ea6d88da",
      "source": "[email protected]"
    },
    {
      "url": "https://github.com/PyMoDAQ/PyMoDAQ/commit/ae0042513eb979c84da690825902658c625718d1",
      "source": "[email protected]"
    },
    {
      "url": "https://github.com/PyMoDAQ/PyMoDAQ/releases/tag/4.4.13",
      "source": "[email protected]"
    },
    {
      "url": "https://github.com/PyMoDAQ/PyMoDAQ/releases/tag/5.1.15",
      "source": "[email protected]"
    },
    {
      "url": "https://github.com/PyMoDAQ/PyMoDAQ/releases/tag/5.2.14",
      "source": "[email protected]"
    },
    {
      "url": "https://github.com/PyMoDAQ/PyMoDAQ/releases/tag/5.3.10",
      "source": "[email protected]"
    },
    {
      "url": "https://github.com/PyMoDAQ/PyMoDAQ/security/advisories/GHSA-jw9g-5c9x-cf84",
      "source": "[email protected]"
    },
    {
      "url": "https://www.vulncheck.com/advisories/pymodaq-before-5.3.10-arbitrary-code-execution-via-crafted-hdf5-dock-layout-and-xml-settings-files",
      "source": "[email protected]"
    }
  ]
}