Repository navigation
misp-stix 2026.11.18 - Contributed fixes, the MISP Extensions' OASIS home & STIX 2.0 sightings
LatestChangelog - 2026.11.12 → 2026.11.18
This patch release brings in the fixes of thirteen contributed pull requests, most with a change of ours on top, one more fix found while checking them, and a fix for a STIX 2.0 sightings failure reported in #27. It also takes the MISP Extensions from their new canonical home, the OASIS Common Object Repository, which published them on 2026-11-13. The definitions every STIX 2.1 bundle embeds now point at that repository. Only their schema URL changes, so the bundles 2026.11.12 wrote are the only ones carrying the former value; the import never reads the definitions and reads both alike. Most fixes are on the import side, where an object was lost whole: MISP's own email with a screenshot, network socket without an address family, and attack pattern with references, exported then imported back; an email body part with a bare or no disposition; a network-socket observable from another producer; a Vulnerability without references or an employee with a bare contact information in a MISP-labelled bundle. On export, a file object holding only an attachment now references it, so the import no longer loses it, a regkey|value without its | is no longer split on an _, and in STIX 2.0 a sighting's source no longer sends its attribute out twice, nor does a false positive sighting on a custom attribute fail the whole export. No dependency changes. Every change shipped with tests; the suite stands at 3,088 tests. No security advisory accompanies this release. The consumer-visible behaviour changes are collected in their own section near the end.
MISP Extensions: published in the Common Object Repository
The OASIS Common Object Repository (oasis-open/cti-stix-common-objects) published the four MISP Extensions on 2026-11-13, in extension-definition-specifications/misp-5ec/. It is now their canonical home: a change to them goes there first, through the OASIS CTI committee, and misp-stix keeps a copy synced from it, never edited directly.
-
The definitions'
schema. The four definitions every STIX 2.1 bundle embeds carry the repository's directory,https://github.com/oasis-open/cti-stix-common-objects/tree/main/extension-definition-specifications/misp-5ec, as theirschema, where2026.11.12wrote the raw URL of each one's schema file in misp-stix. Nothing else changes: the ids,created_by_ref,createdandmodified(2026-11-12T00:00:00.000Z), the names andversion(1.0.0) are as2026.11.12wrote them. A bundle from2026.11.12is therefore the only kind whose definitions differ from the repository's, inschemaalone, under the samemodified. The import never reads the definition objects, so it reads both alike. -
The schemas'
$idis the raw URL of each file in the repository (https://raw.githubusercontent.com/oasis-open/cti-stix-common-objects/main/extension-definition-specifications/misp-5ec/…). Nothing else in the schemas changes: they accept and refuse what they did. -
The copy.
data/misp-extensions/extension-definition-specifications/misp-5ec/is an exact copy of the repository's directory: the schemas, the examples, which embed the definitions as the repository publishes them, and the documentation, nowSTIX-2.1-MISP-Extensions.md, which replaces the README.tools/update_misp_extensions.py, run by hand, syncs the copy and the packaged definitions from a commit of the repository and records it indata/misp-extensions/source.json; this release's copy is from oasis-open/cti-stix-common-objects@248eaa31 (2026-11-13). With--check, it reports whether a sync would change the copy, writing nothing; the release steps run it before a tag. -
The MISP Project identity (
identity--55f6ea65-aa10-4c5a-bf01-4f84950d210f) is packaged as before: the repository prints it in its documentation, and every example bundle carries it. -
0ebf6e5 - the sync script
-
018257d, d02ba5e - the first sync, and the tests expecting the repository's URLs
-
8400767 - the check in the release steps
STIX 1 and STIX 2 export
-
Sightings in STIX 2.0 (#27). A sighting's
sourcewas written as the Sighting'sdescription, which STIX 2.0 does not have: the attribute went out twice, as its STIX object and as a customx-misp-attribute, with an Error. A false positive sighting on an attribute exported as a custom object, such as atextor one of those fallbacks, made the whole 2.0 export fail, its Opinion referring to the custom object without allowing it; in MISP, the STIX 2.0 download ended in an internal error. The 2.0 Sighting carries the source asx_misp_sourcenow, the name the 2.0 Opinion already gives it, and the Internal import reads it back; 2.1 keepsdescription. The Opinion refers to the custom attribute. -
A file object with only an attachment lost it on a round trip, in both STIX 2 versions (#120). A MISP file object with an
attachmentand nomalware-sampleexported an Artifact its File did not reference, and the Internal import, which finds the attachment through the File'scontent_refonly, lost it silently. The File references the Artifact now, as it does a malware sample, and the attachment comes back on the file object. -
A
regkey|valuewithout its|, in STIX 1, 2.0 and 2.1 (#125). Such a value holding one_, such asHKLM\Software\My_App, was split on it silently, into the keyHKLM\Software\Myand the dataApp; with two_, it failed with an Error, STIX 1 falling back to a custom object and STIX 2 dropping the attribute. Aregkey|valuenow splits on|only: a value without one takes the path for a value with no separator, with a Warning, the whole value being the key (in STIX 2, an Indicator whose pattern compares the key alone, whateverto_ids). The_fallback stays for the other composite types. MISP itself never stores such a value: it requires exactly one|. -
The
event_timestampfallback (#123). Read before any event was parsed, the STIX 2 parser's publicevent_timestampreturned a naive local time, which stix2 writes as UTC, off by the host's offset. It is timezone-aware UTC now. No conversion through the entry points reaches the fallback. -
SyntaxWarnings on Python 3.12 and later (#87). The STIX 1 export and framing modules held the package's only invalid escape sequences,
'[\W]+', which Python 3.12 and later report with a SyntaxWarning when compiling them. They are raw strings now. -
f9de30f, 310dc90, eac483a, bf19a0f, 321da44 - sightings in STIX 2.0
-
a5b5f3b, f29f5fe, f533df5, de98534 - a
regkey|valuewithout its| -
25c050f - the invalid escape sequences
STIX 2 import
-
An email with a screenshot, exported then imported back, was lost whole, in both versions (#131). MISP writes an email's
screenshotas an Artifact body part, and the Internal import failed on it ('list' object has no attribute 'strip'), losing the whole email object. It comes back, the screenshot under its template relation,screenshot, every other disposition mapping as before; in 2.1, such an Artifact with an id no longer gets a dict as its attribute's uuid. -
An email body part with a bare or no
content_disposition, in both versions (#136). In a MISP-labelled bundle, a body part whosecontent_dispositionhad no;, such as a bareattachment, or had none, which STIX allows, lost the whole email object. Both are read now, an absent one like a bare one. -
Email bodies matched by an Indicator, External 2.1 (#140). The External import looked up an email body's Indicator under a key it never stored, and on the last address the message referenced, so the body always came back with
to_idsFalse, even when an Indicator's pattern matched it. It takes itsto_ids, and the Indicator's id in its comment, from the pattern now. -
A reused parser kept the previous document's Indicators (#129). The Internal import, on a parser that had imported a document before, still read that document's Indicators: an updated event imported again on the same parser brought an attribute switched to
to_idsFalse backTrue, in both versions. The parser forgets them before the next document. The entry points use one parser per file; only a library caller reusing a parser was affected. -
MISP's network socket without an address family was lost, in both versions (#128). The export writes
socket-extonly for an address family in STIX's enum, so a network-socket withoutaddress-family, or with one STIX does not list, such asAF_UNIX, goes out without it, and the Internal import lost the whole object with an Error. It comes back whole, anAF_UNIXfamily included. -
Network-socket observables from other producers were lost, in both versions. The External import passed its arguments in the wrong order reading the
socket-extof a network-traffic observable, so any such observable was lost: nothing came back in 2.0, and in 2.1 the object was lost and its addresses came back as looseip-dst. It comes back as a network-socket object, with its ports, byte and packet counts, start and end, and its addresses under the network-socket relations, from 2.0objects, 2.1object_refsand standalone observables alike. Along with it: network-socket byte and packet counts take the template's names,src-bytes-count,dst-bytes-count,src-packets-countanddst-packets-count, where they came back assrc-byte-count,dst-byte-count,src-packetsanddst-packets, which the template does not have; a network-socket Indicator comparing a MAC address is no longer lost; and the MAC address references of observables, network-traffic included, are no longer dropped silently, having been looked up undermac-addresswhere the STIX type ismac-addr. -
MISP's attack pattern with references was lost, in both versions (#138). MISP exports an attack-pattern's
referencesas external references holding aurlunder thesource_namemitre-attackorexternal_url. The Internal import took a URL only under thesource_nameurl, and read anexternal_idfrom every other reference, so the whole object was lost ('ExternalReference' object has no attribute 'external_id'). A reference is read by what it carries now: anexternal_idgives theid, otherwise aurlgivesreferences, and a reference holding neither is skipped. -
A reference to a missing observable cut the ones after it, External 2.1 (#134). A standalone observable referencing one the bundle does not carry kept its object but lost every reference after the missing one, with a traceback rather than the missing-observable Error: a domain resolving to a missing address and then to a present one came back without the second, which became a loose
ip-dst, and a network-traffic missing itssrc_reflost its destination. The same held for an address's MAC reference, a domain resolving to a domain, and an archive's or a directory'scontains_refs, the directory's error report itself raising. Each missing reference now gets theMissing Observable objectError and the other references come back, a missingsrc_refordst_refno longer skipping that side's payload. -
A MISP-labelled Vulnerability without external references was lost, in both versions (#137). Another producer's Vulnerability carrying the MISP label but no
external_references, which STIX allows, lost its object with an Error. It is kept, and when nocveorvulnerabilityreference gives an id, its name comes back assummary, where the import already puts a name other than the id. MISP's own export writes a vulnerability without an id as amisp-object, which comes back as before. -
An employee with a bare
contact_informationwas lost, in both versions (#139). In a MISP-labelled bundle, an employee identity whosecontact_informationlacked therelation: valueform MISP writes lost its object. It is kept, the value as atextattribute with the relationcontact_information, its uuid derived from the identity's id like the object's other attributes. -
210efba, a1b57a7, 3a9a431, cf4a557 - an email with a screenshot
-
0c7faf6, 4cdc2ae, 1221d30 - email body parts with a bare or no disposition
-
db7140f, be95133, 9d19eeb - a network socket without an address family
-
9441d80, 7632f55, 3b1f9a9, 36656b6 - network-socket observables, counts and MAC address references
-
8de60eb, 12bcae9, 60d18a4 - references to a missing observable
-
343d576, 1d7dfaa, 46b0847 - a Vulnerability without external references
-
f3c4739, 9e8bc6d, 78fe838 - an employee's bare contact information
Documentation
-
The README and the mapping documentation link the MISP Extensions' documentation under its new name, and name the Common Object Repository as their canonical home.
-
The mapping documentation shows the External import of network-socket observables.
Behaviour changes to check before upgrading
- STIX 2.1 definitions'
schemais the Common Object Repository's directory, for all four definitions, where2026.11.12wrote the raw URL of each schema file in misp-stix; nothing else in the definitions changes (d02ba5e). - STIX 2.0 sighting
sourcegoes out asx_misp_sourceon the Sighting, and the Internal import reads it back, where the attribute went out twice with an Error, and the whole export failed with a false positive sighting on it; a false positive sighting on an attribute exported as a custom object no longer fails the export (f9de30f, 310dc90, bf19a0f). - STIX 1, 2.0 and 2.1
regkey|valuewithout|: the whole value is the key, with a Warning, where one_split it silently and two lost it with an Error (a5b5f3b, f533df5). - STIX 2 file objects with only an attachment: the File references the Artifact through
content_ref(40da31e). - STIX 2 import, objects that were lost come back: an email with a screenshot or with a body part's disposition bare or absent, MISP's network socket without an address family, network-socket observables from other producers, MISP's attack pattern with references, a MISP-labelled Vulnerability without external references, an employee with a bare contact information; and a standalone observable keeps its references after a missing one (3a9a431, 4cdc2ae, be95133, 3b1f9a9, 901666c, 12bcae9, 1d7dfaa, 9e8bc6d).
- STIX 2 import, values that change: an email screenshot comes back under
screenshot, where it came back underattachment; network-socket counts undersrc-bytes-count,dst-bytes-count,src-packets-countanddst-packets-count; an attack-pattern reference with aurland noexternal_idasreferences; the name of a MISP-labelled Vulnerability with no id assummary; an External 2.1 email body matched by an Indicator withto_idsTrue; a reused parser no longer carries Indicators over to the next document (3a9a431, 9441d80, 901666c, 1d7dfaa, 6493c88, aacba1b).
Contributors
- Christian Studer (@chrisr3d)
- Benjamin Akhras (@b3n4kh): #87
- David André (@elhoim): #120, #123, #125, #128, #129, #131, #134, #136, #137, #138, #139 and #140
Issues and pull requests
The issue fixed:
- #27 - STIX 2.0 sightings: the
sourcegoes out asx_misp_sourceand comes back on import; a false positive sighting on a custom attribute no longer fails the export
The contributed pull requests:
- #87 - STIX 1 export regular expressions: raw strings, no SyntaxWarning on Python 3.12 and later
- #120 - a file object with only an attachment: the File references the Artifact, and the attachment survives a round trip
- #123 - the
event_timestampfallback: timezone-aware UTC - #125 - a
regkey|valuewithout its|: no longer split on an_, in STIX 1, 2.0 and 2.1 - #128 - MISP's network socket without an address family: no longer lost on import
- #129 - a reused parser: no longer keeps the previous document's Indicators
- #131 - an email with a screenshot: no longer lost on import
- #134 - a reference to a missing observable: no longer cuts the references after it, External 2.1
- #136 - an email body part with a bare or no
content_disposition: no longer loses the email - #137 - a MISP-labelled Vulnerability without external references: no longer lost on import
- #138 - MISP's attack pattern with references: no longer lost on import
- #139 - an employee with a bare
contact_information: no longer lost on import - #140 - an email body matched by an Indicator: takes its
to_idsfrom it, External 2.1
The pull requests that brought them into main: