Description
A path traversal vulnerability existed in the handling of MISP object template names during STIX 2 import and MISP-to-STIX 2 export.

MISP object names are passed to PyMISP's object-template resolution mechanism, which constructs a filesystem path by joining the configured MISP object-template directory, the object name, and definition.json. An object name originating from untrusted STIX or MISP content was not sufficiently restricted before being used in this filesystem path.

An attacker able to supply a crafted object name containing path separators or traversal sequences such as ../ could therefore cause template resolution to escape the expected template directory and attempt to load a definition.json file from another location accessible to the process.

During STIX 2 import, an attacker-controlled x_misp_name from a custom STIX object could directly reach this template-resolution mechanism.

The issue could also become persistent. A malicious object name stored in a MISP event could later be processed again during STIX 2 export. Consequently, content originally introduced in one security context could trigger filesystem access later when the event is exported by a process operating with different or greater privileges.

If a suitable definition.json file exists outside the intended template directory, its contents may be interpreted as a MISP object template and fields from that file copied into the converted object. This can result in unintended disclosure of locally accessible data represented by the template file and modification of the resulting object's metadata or semantics.

The patches introduce strict validation of object-template names. Valid names are restricted to a single path component containing letters, digits, hyphens, or underscores. Names that do not meet these requirements are replaced with the generic unknown-template name before reaching PyMISP template resolution. The original rejected name is preserved in the object's comment and a warning is generated, preventing traversal while retaining the source information.
Published: 2026-08-21
Score: 8.8 High
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

During STIX 2 import or MISP‑to‑STIX 2 export, the misp‑stix library constructs a file system path from an untrusted object name. A crafted name containing path separators or traversal sequences can cause the template‑resolution mechanism to escape the configured object‑template directory and load a definition.json file from an arbitrary location. This allows an attacker to read locally accessible files that belong to the process, or to inject malicious template definitions that alter the resulting object’s metadata, potentially exposing sensitive data or changing security context.

Affected Systems

The vulnerability affects the misp‑stix library maintained by the MISP project. No specific affected versions are listed in the advisory, so any deployed release should be reviewed and patched according to the vendor’s update schedule.

Risk and Exploitability

The vulnerability carries a CVSS score of 8.8, indicating high severity. EPSS is not available and the issue is not listed in CISA’s KEV catalog, but the potential for unauthorized file access and information disclosure makes it a serious risk. The likely attack vector is through malicious STIX objects or custom MISP events processed during import or export, so any system exposed to external STIX data needs urgent attention.

Generated by OpenCVE AI on August 21, 2026 at 11:25 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the latest patch or upgrade to a released version of the misp‑stix library that performs strict validation of object‑template names.
  • Restrict the permissions of the MISP object‑template directory so that the importing/exporting process cannot read files outside the intended location when a patch is not yet applied.
  • Validate all incoming STIX objects to ensure custom object names contain only letters, digits, hyphens, or underscores; reject or neutralize names that do not meet these constraints.

Generated by OpenCVE AI on August 21, 2026 at 11:25 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 21 Aug 2026 12:30:00 +0000

Type Values Removed Values Added
First Time appeared Misp
Misp misp-stix
Vendors & Products Misp
Misp misp-stix

Fri, 21 Aug 2026 10:00:00 +0000

Type Values Removed Values Added
Description A path traversal vulnerability existed in the handling of MISP object template names during STIX 2 import and MISP-to-STIX 2 export. MISP object names are passed to PyMISP's object-template resolution mechanism, which constructs a filesystem path by joining the configured MISP object-template directory, the object name, and definition.json. An object name originating from untrusted STIX or MISP content was not sufficiently restricted before being used in this filesystem path. An attacker able to supply a crafted object name containing path separators or traversal sequences such as ../ could therefore cause template resolution to escape the expected template directory and attempt to load a definition.json file from another location accessible to the process. During STIX 2 import, an attacker-controlled x_misp_name from a custom STIX object could directly reach this template-resolution mechanism. The issue could also become persistent. A malicious object name stored in a MISP event could later be processed again during STIX 2 export. Consequently, content originally introduced in one security context could trigger filesystem access later when the event is exported by a process operating with different or greater privileges. If a suitable definition.json file exists outside the intended template directory, its contents may be interpreted as a MISP object template and fields from that file copied into the converted object. This can result in unintended disclosure of locally accessible data represented by the template file and modification of the resulting object's metadata or semantics. The patches introduce strict validation of object-template names. Valid names are restricted to a single path component containing letters, digits, hyphens, or underscores. Names that do not meet these requirements are replaced with the generic unknown-template name before reaching PyMISP template resolution. The original rejected name is preserved in the object's comment and a warning is generated, preventing traversal while retaining the source information.
Title Path Traversal in MISP Object Template Resolution During STIX Import and Export in misp-stix library
Weaknesses CWE-22
References
Metrics cvssV4_0

{'score': 8.8, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: CIRCL

Published:

Updated: 2026-08-21T09:48:20.168Z

Reserved: 2026-08-21T09:48:16.206Z

Link: CVE-2026-77751

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-21T10:16:39.210

Modified: 2026-08-21T10:16:39.210

Link: CVE-2026-77751

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-21T12:07:58Z

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')