{"id":"CVE-2026-133165","state":"PUBLISHED","title":"MISP Object Reference Cross-Event Integrity Violation via UUID Scope Bypass","description":"MISP contains an authorization and scope flaw in the ObjectReference model's captureReference method. When a user saves an event (via REST API, sync, or feeds), any object reference included in the payload is looked up by its UUID across the entire MISP instance rather than being scoped to the event being saved. An authenticated user with permission to add or edit events can therefore include the UUID of an object reference belonging to a different event—including events in other organizations that the user cannot view—and cause the system to overwrite that foreign reference's relationship_type, comment, deleted flag, and timestamp with attacker-supplied values. The affected reference is neither deleted nor recreated in the attacker's event; its fields are silently rewritten in place. This constitutes a cross-tenant integrity violation: data integrity of object references in events the attacker has no read or write access to is compromised. The vulnerability is reachable through any event save path (REST add/edit, inter-instance sync, feed ingestion) and requires only a valid authenticated session with event modification privileges and knowledge or discovery of a target reference UUID.","publishedAt":"2026-11-19T14:00:54.191Z","updatedAt":"2026-11-19T14:20:04.824Z","severity":{"score":5.3,"label":"Medium","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N","source":"CIRCL"},"assigner":"CIRCL","products":["misp misp"],"affected":[{"vendor":"misp","product":"misp","versions":[{"version":"0","status":"affected","lessThanOrEqual":"2.5.51","versionType":"semver"}],"cpes":["cpe:2.3:a:misp:misp:*:*:*:*:*:*:*:*"],"modules":["ObjectReference model (app/Model/ObjectReference.php)","Event add/edit (REST, sync, feeds)"],"programFiles":["app/Model/ObjectReference.php"],"repo":"https://github.com/MISP/MISP"}],"references":["https://github.com/MISP/MISP/commit/c9bd0eff5"],"weaknesses":["CWE-639","CWE-640"],"ingestedAt":"2026-11-19T14:28:06.299Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/133xxx/CVE-2026-133165.json","commit":"6c1fb3bb8377b3b599e7e2f54633bb4454803c0c","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-133165","state":"PUBLISHED","datePublished":"2026-11-19T14:00:54.191Z","dateUpdated":"2026-11-19T14:20:04.824Z","assignerShortName":"CIRCL","assignerOrgId":"5a6e4751-2f3f-4070-9419-94fb35b644e8","dateReserved":"2026-11-19T14:00:45.542Z"},"containers":{"cna":{"title":"MISP Object Reference Cross-Event Integrity Violation via UUID Scope Bypass","descriptions":[{"lang":"en","value":"MISP contains an authorization and scope flaw in the ObjectReference model's captureReference method. When a user saves an event (via REST API, sync, or feeds), any object reference included in the payload is looked up by its UUID across the entire MISP instance rather than being scoped to the event being saved. An authenticated user with permission to add or edit events can therefore include the UUID of an object reference belonging to a different event—including events in other organizations that the user cannot view—and cause the system to overwrite that foreign reference's relationship_type, comment, deleted flag, and timestamp with attacker-supplied values. The affected reference is neither deleted nor recreated in the attacker's event; its fields are silently rewritten in place. This constitutes a cross-tenant integrity violation: data integrity of object references in events the attacker has no read or write access to is compromised. The vulnerability is reachable through any event save path (REST add/edit, inter-instance sync, feed ingestion) and requires only a valid authenticated session with event modification privileges and knowledge or discovery of a target reference UUID."}],"affected":[{"vendor":"misp","product":"misp","versions":[{"version":"0","status":"affected","lessThanOrEqual":"2.5.51","versionType":"semver"}],"cpes":["cpe:2.3:a:misp:misp:*:*:*:*:*:*:*:*"],"modules":["ObjectReference model (app/Model/ObjectReference.php)","Event add/edit (REST, sync, feeds)"],"programFiles":["app/Model/ObjectReference.php"],"repo":"https://github.com/MISP/MISP"}],"references":[{"url":"https://github.com/MISP/MISP/commit/c9bd0eff5","name":"Security patch","tags":["patch"]}],"metrics":[{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV4_0":{"version":"4.0","vectorString":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N","baseScore":5.3,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"LOW","userInteraction":"NONE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"LOW","vulnAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","Safety":"NOT_DEFINED","Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","valueDensity":"NOT_DEFINED","vulnerabilityResponseEffort":"NOT_DEFINED","providerUrgency":"NOT_DEFINED"}},{"format":"SSVC","scenarios":[{"lang":"en","value":"GENERAL"}],"other":{"type":"SSVC","content":{"version":"2.0.3","role":"Supplier","timestamp":"2026-11-19T13:57:00Z","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}]}}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-639","lang":"en","description":"CWE-639 Authorization Bypass Through User-Controlled Key","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-640","lang":"en","description":"CWE-640 Weak Reference Resolution","type":"CWE"}]}],"providerMetadata":{"shortName":"CIRCL","orgId":"5a6e4751-2f3f-4070-9419-94fb35b644e8","dateUpdated":"2026-11-19T14:00:54.191Z"},"x_gcve":[{"recordType":"advisory","extensions":{"bcp-05-x-01":{"ai_annotations":[{"scope":"record","gna_source":1,"tags":["ai-computer-assisted:llm-generated","ai-computer-assisted:classification"],"description":"Draft vulnerability metadata was generated from a git-format patch using an Ollama-hosted language model. Human validation is required before publication.","ai_level":"generated","review_status":"full","models":[{"name":"qwen3.8:27b","gna_source":1,"source":"ollama","identifier":"qwen3.8:27b"}]}]},"bcp-05-x-02":{"x_patch2vuln":{"generator":"patch2vuln.py","generatedAt":"2026-11-19T13:57:00.911027Z","model":"qwen3.8:27b","source":"https://github.com/MISP/MISP/commit/c9bd0eff5.patch","patchSha256":"e307b313d1d2d25606f7daa11657394949688c2721f729461a37761c268012e9","patchTruncated":false,"commit":"c9bd0eff523b6936b66923830c1c26fe3bee3d53","subject":"fix: [security] Event saves no longer rewrite other events'","patches":[{"source":"https://github.com/MISP/MISP/commit/c9bd0eff5.patch","sourceUrl":"https://github.com/MISP/MISP/commit/c9bd0eff5.patch","patchSha256":"e307b313d1d2d25606f7daa11657394949688c2721f729461a37761c268012e9","commit":"c9bd0eff523b6936b66923830c1c26fe3bee3d53","subject":"fix: [security] Event saves no longer rewrite other events'","date":"Wed, 11 Nov 2026 14:24:50 +0100","retrievedAt":"2026-11-19T13:56:17.554618Z"}],"confidence":"high","assumptions":["The affected MISP version range is not specified in the patch; all versions prior to this commit are assumed affected.","PR:L assumes the attacker needs only a standard authenticated user with event add/edit permission; the regression tests confirm a least-privileged role suffices.","The CAPEC-114 mapping is an approximation; no CAPEC specifically covers cross-tenant IDOR via UUID in a multi-tenant application.","VC:N assumes the attack does not enable reading foreign reference data; the patch evidence shows only write/overwrite impact.","VA:N assumes setting the 'deleted' flag on a reference is an integrity modification rather than an availability denial; the reference record still exists in the database.","The commit date of 2026-11-11 is taken at face value from the patch metadata.","No evidence of active exploitation or public PoC was found in the patch or metadata; SSVC exploitation is set to 'none'."],"fixSummary":"The fix adds an event-scope ownership check in ObjectReference::captureReference(). After locating an existing reference by UUID, the code now verifies that the reference's event_id matches the event currently being saved. If the UUID belongs to a different event, the reference is skipped (neither updated nor recreated in the saving event) and a warning-level system log entry is written recording the blocked operation, the target event ID, and the foreign event ID that owns the UUID.","patchSummary":"In app/Model/ObjectReference.php, a nine-line guard is inserted in captureReference() immediately after the existing-reference lookup: it casts both the stored event_id and the incoming $eventId to integers and compares them; on mismatch it calls loadLog()->createLogEntry() with a 'warning' severity and a descriptive message, then returns true to skip the update. In tests/testregressions.py, a new ObjectReferenceCaptureScope test class (156 lines) is added with four test methods: (1) event add with a forged foreign UUID leaves the victim reference unchanged and does not create a copy; (2) event edit with a forged foreign UUID leaves the victim reference unchanged; (3) the owner can still update their own reference's comment and timestamp; (4) a genuinely new reference UUID is still created normally. The tests use two separate organizations and least-privileged users to verify cross-tenant isolation.","credits":[{"lang":"en","value":"ENISA, Jeroen Pinoy and CERT.pl","type":"reporter"},{"lang":"en","value":"iglocska","type":"remediation developer"},{"lang":"en","value":"Claude Opus 5.5","type":"remediation developer"},{"lang":"en","value":"ENISA","type":"reporter"},{"lang":"en","value":"Jeroen Pinoy","type":"reporter"},{"lang":"en","value":"CERT.pl","type":"reporter"}],"cvssRationale":"AV:N: MISP is a network-accessible web application with a REST API. AC:L: the attacker only needs to include a known or discovered UUID in a standard event save payload; no race conditions or special timing required. AT:N: no need to intercept or tamper with in-transit data. PR:L: requires an authenticated user with permission to add or edit events (least-privileged role suffices per the regression tests). UI:N: no victim interaction needed. VC:N: the attack writes to records; no confidentiality impact is demonstrated. VI:H: multiple fields (relationship_type, comment, deleted, timestamp) on foreign references can be overwritten, corrupting data integrity. VA:N: setting the deleted flag is a data modification, not a service denial. SC:N: no impact on external systems' confidentiality. SI:H: integrity of data belonging to other organizations within the same MISP instance is compromised. SA:N: no security-functionality impact on other components.","ssvc":{"version":"2.0.3","role":"Supplier","timestamp":"2026-11-19T13:57:00Z","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}]},"weaknessRationale":[{"cweId":"CWE-639","rationale":"The object reference UUID is a user-supplied key used to look up and modify a record. The lookup was performed without verifying that the record belongs to the event (and by extension the organization) of the authenticated user, allowing modification of records outside the user's authorization scope."},{"cweId":"CWE-640","rationale":"The reference UUID was resolved against the entire instance's object references table rather than being constrained to the event being saved, resulting in resolution to an unintended record in a different event/organization."}],"capecRationale":[{"capecId":"CAPEC-114","rationale":"The attacker manipulates the UUID parameter within a legitimate event save request to target a different object reference record. The application trusts the UUID as a direct pointer without validating ownership scope. CAPEC-114 is the closest match because the core technique is supplying a crafted identifier parameter to redirect a write operation to an unintended resource. Uncertainty: no dedicated CAPEC exists for cross-tenant IDOR via UUID; CAPEC-114 is the best available approximation."}],"draft":false,"modelComparison":{"selectedModel":"qwen3.8:27b","selectionMethod":"deterministic-consensus-v1","selectionNotice":"The selected result is closest to model consensus; this heuristic does not establish factual correctness and human review remains required.","rankings":[{"model":"qwen3.8:27b","score":6,"agreementScore":11,"confidence":"high","assumptionCount":7}],"potentialErrors":[]}}},"bcp-05-x-03":{"x_timeline":{"events":[{"type":"fix-developed","timestamp":"2026-11-11T13:24:50Z","description":"Corrective change authored (c9bd0eff523b6936b66923830c1c26fe3bee3d53): fix: [security] Event saves no longer rewrite other events'","references":["https://github.com/MISP/MISP/commit/c9bd0eff5.patch"],"id":"evt-fix-developed-1"},{"id":"evt-fix-available-1","type":"fix-available","timestamp":"2026-11-19T13:56:17.554618Z","description":"Patch retrieved from the supplied URL; retrieval time is used as the default availability time.","references":["https://github.com/MISP/MISP/commit/c9bd0eff5.patch"]}]}}},"vulnId":"gcve-1-2026-20341"}],"solutions":[{"lang":"en","value":"The fix adds an event-scope ownership check in ObjectReference::captureReference(). After locating an existing reference by UUID, the code now verifies that the reference's event_id matches the event currently being saved. If the UUID belongs to a different event, the reference is skipped (neither updated nor recreated in the saving event) and a warning-level system log entry is written recording the blocked operation, the target event ID, and the foreign event ID that owns the UUID."}],"impacts":[{"capecId":"CAPEC-114","descriptions":[{"lang":"en","value":"CAPEC-114 Parameter Tampering"}]}],"credits":[{"lang":"en","value":"iglocska","type":"remediation developer"},{"lang":"en","value":"Claude Opus 5.5","type":"remediation developer"},{"lang":"en","value":"ENISA","type":"reporter"},{"lang":"en","value":"Jeroen Pinoy","type":"reporter"},{"lang":"en","value":"CERT.pl","type":"reporter"}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:misp:misp:*:*:*:*:*:*:*:*","versionStartIncluding":"0","versionEndExcluding":"2.5.51"}]}]}]},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-11-19T14:19:53.649869Z","id":"CVE-2026-133165","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-11-19T14:20:04.824Z"}}]}}}