CVE-2026-77751: CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in misp misp-stix
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.
AI Analysis
Technical Summary
This vulnerability involves improper limitation of pathname to a restricted directory (CWE-22) in the handling of MISP object template names during STIX 2 import and MISP-to-STIX 2 export in misp-stix. The PyMISP object-template resolution mechanism constructs filesystem paths by joining the configured template directory, the object name, and definition.json. Object names from untrusted STIX or MISP content were not sufficiently validated, allowing attackers to supply crafted names containing path traversal sequences (e.g., ../) to escape the intended directory. This can cause loading of unintended definition.json files, leading to disclosure of local files or modification of object metadata. The issue can persist because malicious object names stored in MISP events may trigger filesystem access later during export by processes with different privileges. The described patch enforces strict validation restricting names to a single path component with letters, digits, hyphens, or underscores, replacing invalid names with a generic unknown-template and preserving the original name in comments with warnings. However, no official remediation level or patch link is provided in the data.
Potential Impact
An attacker able to supply crafted object names during STIX 2 import or MISP-to-STIX 2 export can cause the system to load arbitrary definition.json files outside the intended template directory. This may lead to unintended disclosure of local data accessible to the process and modification of MISP object metadata or semantics. The vulnerability can be exploited without privileges or user interaction, and the impact on confidentiality is high, with limited impact on integrity and no impact on availability. The issue can persist across import/export cycles, potentially escalating risk if processed by higher-privileged processes.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. The described fix involves strict validation of object-template names to restrict them to safe characters and a single path component, replacing invalid names with a generic placeholder and preserving original names in comments with warnings. Until an official patch is confirmed, users should avoid processing untrusted STIX or MISP content that could contain malicious object names. Monitor vendor advisories for updates and apply official patches when available.
CVE-2026-77751: CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in misp misp-stix
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.
CVSS v4.0
Score 8.8high
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability involves improper limitation of pathname to a restricted directory (CWE-22) in the handling of MISP object template names during STIX 2 import and MISP-to-STIX 2 export in misp-stix. The PyMISP object-template resolution mechanism constructs filesystem paths by joining the configured template directory, the object name, and definition.json. Object names from untrusted STIX or MISP content were not sufficiently validated, allowing attackers to supply crafted names containing path traversal sequences (e.g., ../) to escape the intended directory. This can cause loading of unintended definition.json files, leading to disclosure of local files or modification of object metadata. The issue can persist because malicious object names stored in MISP events may trigger filesystem access later during export by processes with different privileges. The described patch enforces strict validation restricting names to a single path component with letters, digits, hyphens, or underscores, replacing invalid names with a generic unknown-template and preserving the original name in comments with warnings. However, no official remediation level or patch link is provided in the data.
Potential Impact
An attacker able to supply crafted object names during STIX 2 import or MISP-to-STIX 2 export can cause the system to load arbitrary definition.json files outside the intended template directory. This may lead to unintended disclosure of local data accessible to the process and modification of MISP object metadata or semantics. The vulnerability can be exploited without privileges or user interaction, and the impact on confidentiality is high, with limited impact on integrity and no impact on availability. The issue can persist across import/export cycles, potentially escalating risk if processed by higher-privileged processes.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. The described fix involves strict validation of object-template names to restrict them to safe characters and a single path component, replacing invalid names with a generic placeholder and preserving original names in comments with warnings. Until an official patch is confirmed, users should avoid processing untrusted STIX or MISP content that could contain malicious object names. Monitor vendor advisories for updates and apply official patches when available.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- CIRCL
- Date Reserved
- 2026-08-21T09:48:16.206Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a882376acd9273b49f80ece
Added to database: 08/21/2026, 10:07:50 UTC
Last enriched: 08/21/2026, 10:22:14 UTC
Last updated: 08/21/2026, 11:03:50 UTC
Views: 5
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.