{"api_version":"1","generated_at":"2026-11-23T20:42:49+00:00","cve":"CVE-2026-135240","urls":{"html":"https://cve.report/CVE-2026-135240","api":"https://cve.report/api/cve/CVE-2026-135240.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-135240","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-135240"},"summary":{"title":"MISP: Missing Authorization on Tag Attachment Endpoints Allows Attaching Restricted Tags by ID","description":"MISP contains an authorization bypass in its tag attachment functionality. The endpoints responsible for editing event tags, editing attribute tags, and adding tags to event reports accepted arbitrary tag IDs without verifying whether the authenticated user was permitted to attach the referenced tag.\n\nThe events/addTag endpoint already resolved tag IDs through a restricted lookup that enforced per-user and per-organisation tag visibility rules. However, the three tag-editor endpoints (editEventTags, editAttributeTags, and eventReports/addTag) passed the supplied tag IDs directly to the attachment logic without any such check.\n\nPreconditions:\n- An authenticated user with tagger and add permissions on the target event/attribute/report.\n- Knowledge or discovery of a tag ID that is restricted (local_only) to another organisation.\n\nImpact:\n- A user can attach a tag that is restricted to a different organisation, effectively bypassing the tag visibility and scoping model.\n- A local_only tag can be attached as a global tag, violating the intended distribution restriction and potentially exposing the existence or semantics of another organisation's restricted tag to a broader audience.\n- Data integrity of the MISP instance is compromised as the tag association model no longer reflects the intended access-control boundaries.\n\nAffected versions: MISP prior to 2.5.52.","state":"PUBLISHED","assigner":"CIRCL","published_at":"2026-11-23 16:17:42","updated_at":"2026-11-23 16:17:42"},"problem_types":["CWE-285","CWE-862","CWE-862 CWE-862 Missing Authorization","CWE-285 CWE-285 Improper Authorization"],"metrics":[{"version":"4.0","source":"5a6e4751-2f3f-4070-9419-94fb35b644e8","type":"Secondary","score":"5.3","severity":"MEDIUM","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:L/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","data":{"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:L/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":5.3,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"LOW","userInteraction":"NONE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"LOW","vulnAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"LOW","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"}},{"version":"4.0","source":"CNA","type":"CVSS","score":"5.3","severity":"MEDIUM","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:L/SA:N","data":{"Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","Safety":"NOT_DEFINED","attackComplexity":"LOW","attackRequirements":"NONE","attackVector":"NETWORK","baseScore":5.3,"baseSeverity":"MEDIUM","privilegesRequired":"LOW","providerUrgency":"NOT_DEFINED","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"LOW","userInteraction":"NONE","valueDensity":"NOT_DEFINED","vectorString":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:L/SA:N","version":"4.0","vulnAvailabilityImpact":"NONE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"LOW","vulnerabilityResponseEffort":"NOT_DEFINED"}}],"references":[{"url":"https://github.com/MISP/MISP/commit/c6c27e7b9a59c3df343d0a260ee9c1de538c4cad","name":"https://github.com/MISP/MISP/commit/c6c27e7b9a59c3df343d0a260ee9c1de538c4cad","refsource":"5a6e4751-2f3f-4070-9419-94fb35b644e8","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-135240","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-135240","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"MISP","product":"MISP","version":"affected 2.5.52 semver","platforms":[]}],"timeline":[],"solutions":[{"source":"CNA","title":"","value":"The fix introduces a centralized authorization check that resolves the requested tag IDs against the user's permitted tag set before any attachment occurs. Each of the three previously vulnerable endpoints now queries the Tag model for the subset of requested IDs the user is allowed to attach, and filters out any IDs that fail the check. Additionally, the local_only flag is enforced so that a restricted tag cannot be attached as a global tag by a user who does not own it.","time":"","lang":"en"}],"workarounds":[],"exploits":[],"credits":[{"source":"CNA","value":"ENISA","lang":"en"},{"source":"CNA","value":"iglocska","lang":"en"},{"source":"CNA","value":"Claude Opus 5.5","lang":"en"}],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"cpes":["cpe:2.3:a:misp:misp:*:*:*:*:*:*:*:*"],"modules":["app/Controller/AttributesController.php","app/Controller/EventReportsController.php","app/Controller/EventsController.php","app/Model/Tag.php"],"product":"MISP","programFiles":[],"repo":"https://github.com/MISP/MISP","vendor":"MISP","versions":[{"lessThan":"2.5.52","status":"affected","version":"0","versionType":"semver"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:a:misp:misp:*:*:*:*:*:*:*:*","vulnerable":true}],"negate":false,"operator":"OR"}]}],"credits":[{"lang":"en","type":"reporter","value":"ENISA"},{"lang":"en","type":"remediation developer","value":"iglocska"},{"lang":"en","type":"remediation developer","value":"Claude Opus 5.5"}],"descriptions":[{"lang":"en","value":"MISP contains an authorization bypass in its tag attachment functionality. The endpoints responsible for editing event tags, editing attribute tags, and adding tags to event reports accepted arbitrary tag IDs without verifying whether the authenticated user was permitted to attach the referenced tag.\n\nThe events/addTag endpoint already resolved tag IDs through a restricted lookup that enforced per-user and per-organisation tag visibility rules. However, the three tag-editor endpoints (editEventTags, editAttributeTags, and eventReports/addTag) passed the supplied tag IDs directly to the attachment logic without any such check.\n\nPreconditions:\n- An authenticated user with tagger and add permissions on the target event/attribute/report.\n- Knowledge or discovery of a tag ID that is restricted (local_only) to another organisation.\n\nImpact:\n- A user can attach a tag that is restricted to a different organisation, effectively bypassing the tag visibility and scoping model.\n- A local_only tag can be attached as a global tag, violating the intended distribution restriction and potentially exposing the existence or semantics of another organisation's restricted tag to a broader audience.\n- Data integrity of the MISP instance is compromised as the tag association model no longer reflects the intended access-control boundaries.\n\nAffected versions: MISP prior to 2.5.52."}],"impacts":[{"capecId":"CAPEC-114","descriptions":[{"lang":"en","value":"CAPEC-114 Parameter Tampering"}]}],"metrics":[{"cvssV4_0":{"Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","Safety":"NOT_DEFINED","attackComplexity":"LOW","attackRequirements":"NONE","attackVector":"NETWORK","baseScore":5.3,"baseSeverity":"MEDIUM","privilegesRequired":"LOW","providerUrgency":"NOT_DEFINED","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"LOW","userInteraction":"NONE","valueDensity":"NOT_DEFINED","vectorString":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:L/SA:N","version":"4.0","vulnAvailabilityImpact":"NONE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"LOW","vulnerabilityResponseEffort":"NOT_DEFINED"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]},{"format":"SSVC","other":{"content":{"options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"Supplier","timestamp":"2026-11-23T09:41:06Z","version":"2.0.3"},"type":"SSVC"},"scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-862","description":"CWE-862 Missing Authorization","lang":"en","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-285","description":"CWE-285 Improper Authorization","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-11-23T15:40:30.762Z","orgId":"5a6e4751-2f3f-4070-9419-94fb35b644e8","shortName":"CIRCL"},"references":[{"name":"Security patch","tags":["patch"],"url":"https://github.com/MISP/MISP/commit/c6c27e7b9a59c3df343d0a260ee9c1de538c4cad"}],"solutions":[{"lang":"en","value":"The fix introduces a centralized authorization check that resolves the requested tag IDs against the user's permitted tag set before any attachment occurs. Each of the three previously vulnerable endpoints now queries the Tag model for the subset of requested IDs the user is allowed to attach, and filters out any IDs that fail the check. Additionally, the local_only flag is enforced so that a restricted tag cannot be attached as a global tag by a user who does not own it."}],"title":"MISP: Missing Authorization on Tag Attachment Endpoints Allows Attaching Restricted Tags by ID","x_gcve":[{"extensions":{"bcp-05-x-01":{"ai_annotations":[{"ai_level":"generated","description":"Draft vulnerability metadata was generated from a git-format patch using an Ollama-hosted language model. Human validation is required before publication.","gna_source":1,"models":[{"gna_source":1,"identifier":"qwen3.8:27b","name":"qwen3.8:27b","source":"ollama"}],"review_status":"full","scope":"record","tags":["ai-computer-assisted:llm-generated","ai-computer-assisted:classification"]}]},"bcp-05-x-02":{"x_patch2vuln":{"assumptions":["The affected version range is assumed to be all MISP versions prior to 2.5.52 based on the explicit context; the patch does not contain explicit version boundary markers.","PR:L assumes the attacker needs at minimum tagger and add permissions; the exact role requirements may vary by deployment configuration.","CAPEC-114 (Parameter Tampering) is the closest available pattern; a more specific IDOR-via-numeric-ID pattern is not present in the CAPEC catalog.","The CVSS VI:L and SI:L ratings assume the primary impact is data-model integrity (unauthorized tag associations) rather than full data exfiltration; if downstream consumers rely on tag scoping for access decisions, the effective impact could be higher.","The commit date is 2026-11-16; the fixed version 2.5.52 is taken from the analyst-supplied explicit context."],"capecRationale":[{"capecId":"CAPEC-114","rationale":"The attacker manipulates the tag_id parameter supplied to the tag-editor endpoints to reference a tag ID belonging to another organisation or a local_only tag, bypassing the intended access-control scoping. This is the closest CAPEC pattern: the parameter (tag ID) is valid in format but references a resource the user is not authorized to use. Uncertainty: CAPEC-114 is a broad pattern; a more specific 'IDOR via numeric ID' pattern does not exist in CAPEC, so this is the best available match."}],"commit":"c6c27e7b9a59c3df343d0a260ee9c1de538c4cad","confidence":"medium","credits":[{"lang":"en","type":"reporter","value":"ENISA"},{"lang":"en","type":"remediation developer","value":"iglocska"},{"lang":"en","type":"remediation developer","value":"Claude Opus 5.5"},{"lang":"en","type":"tool","value":"Claude Opus 5.5"}],"cvssRationale":"AV:N - MISP is a network-accessible web application. AC:L - The attacker only needs a valid tag ID (discoverable via enumeration or prior knowledge) and a standard API call; no race conditions or special timing required. AT:N - No attack-target manipulation needed. PR:L - Requires an authenticated user with tagger and add permissions. UI:N - No victim interaction required. VC:N - No direct confidentiality loss of system data; the tag name may be inferred but the primary issue is integrity. VI:L - Integrity impact is low: unauthorized tags are attached and local_only scoping is violated, but the core data store is not corrupted or deleted. VA:N - No availability impact. SC:N - No secondary confidentiality impact. SI:L - Secondary integrity: the tag association model is violated, potentially affecting downstream consumers of MISP data. SA:N - No secondary availability impact.","fixSummary":"The fix introduces a centralized authorization check that resolves the requested tag IDs against the user's permitted tag set before any attachment occurs. Each of the three previously vulnerable endpoints now queries the Tag model for the subset of requested IDs the user is allowed to attach, and filters out any IDs that fail the check. Additionally, the local_only flag is enforced so that a restricted tag cannot be attached as a global tag by a user who does not own it.","generatedAt":"2026-11-23T09:41:06.850282Z","generator":"patch2vuln.py","model":"qwen3.8:27b","modelComparison":{"potentialErrors":[],"rankings":[{"agreementScore":11,"assumptionCount":5,"confidence":"medium","model":"qwen3.8:27b","score":7}],"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."},"patchSha256":"822e8c845dcfe2f4b00928302d80e80bd6af1a24a6b9b2c19481ac9d79cb5dcf","patchSummary":"A new method attachableTagIdsForUser() was added to the Tag model. It accepts a user array and a list of tag IDs, applies the existing createConditions() scoping (which enforces organisation and local_only restrictions), and returns a map of authorized tag IDs to their local_only flag. In AttributesController::editAttributeTags, EventsController::editEventTags, and EventReportsController::addTag, the requested tag ID lists are now filtered through this method before the attachment loop executes. IDs not present in the returned map are silently dropped (or rejected with an error in the event-reports path). A regression test class RestrictedTagAttachById was added to tests/testregressions.py verifying that restricted tags cannot be attached cross-organisation while open tags and own-organisation restricted tags still attach correctly.","patchTruncated":false,"patches":[{"commit":"c6c27e7b9a59c3df343d0a260ee9c1de538c4cad","date":"Mon, 16 Nov 2026 11:27:48 +0100","patchSha256":"822e8c845dcfe2f4b00928302d80e80bd6af1a24a6b9b2c19481ac9d79cb5dcf","retrievedAt":"2026-11-23T09:40:36.002447Z","source":"https://github.com/MISP/MISP/commit/c6c27e7b9a59c3df343d0a260ee9c1de538c4cad","sourceUrl":"https://github.com/MISP/MISP/commit/c6c27e7b9a59c3df343d0a260ee9c1de538c4cad","subject":"fix: [security] Tag ids attached through the tag editors and"}],"source":"https://github.com/MISP/MISP/commit/c6c27e7b9a59c3df343d0a260ee9c1de538c4cad","ssvc":{"options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"Supplier","timestamp":"2026-11-23T09:41:06Z","version":"2.0.3"},"subject":"fix: [security] Tag ids attached through the tag editors and","weaknessRationale":[{"cweId":"CWE-862","rationale":"The three tag-editor endpoints accepted and acted on arbitrary tag IDs without performing an authorization check to confirm the user was permitted to attach the specific tag. The events/addTag endpoint already had this check, but the other three paths did not, constituting a missing authorization control on a per-resource basis."},{"cweId":"CWE-285","rationale":"Even when a tag was visible to the user, the local_only scoping was not enforced in the editor endpoints, allowing a local_only tag to be attached as a global tag. This is an improper authorization decision regarding the scope of the tag attachment."}]}},"bcp-05-x-03":{"x_timeline":{"events":[{"description":"Corrective change authored (c6c27e7b9a59c3df343d0a260ee9c1de538c4cad): fix: [security] Tag ids attached through the tag editors and","id":"evt-fix-developed-1","references":["https://github.com/MISP/MISP/commit/c6c27e7b9a59c3df343d0a260ee9c1de538c4cad"],"timestamp":"2026-11-16T10:27:48Z","type":"fix-developed"},{"description":"Patch retrieved from the supplied URL; retrieval time is used as the default availability time.","id":"evt-fix-available-1","references":["https://github.com/MISP/MISP/commit/c6c27e7b9a59c3df343d0a260ee9c1de538c4cad"],"timestamp":"2026-11-23T09:40:36.002447Z","type":"fix-available"}]}}},"recordType":"advisory","vulnId":"GCVE-1-2026-20434"}]}},"cveMetadata":{"assignerOrgId":"5a6e4751-2f3f-4070-9419-94fb35b644e8","assignerShortName":"CIRCL","cveId":"CVE-2026-135240","datePublished":"2026-11-23T15:40:30.762Z","dateReserved":"2026-11-23T15:40:24.596Z","dateUpdated":"2026-11-23T15:40:30.762Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-23 16:17:42","lastModifiedDate":"2026-11-23 16:17:42","problem_types":["CWE-285","CWE-862","CWE-862 CWE-862 Missing Authorization","CWE-285 CWE-285 Improper Authorization"],"metrics":{"cvssMetricV40":[{"source":"5a6e4751-2f3f-4070-9419-94fb35b644e8","type":"Secondary","cvssData":{"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:L/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":5.3,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"LOW","userInteraction":"NONE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"LOW","vulnAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"LOW","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"}}],"ssvcV203":[{"source":"5a6e4751-2f3f-4070-9419-94fb35b644e8","ssvcData":{"timestamp":"2026-11-23T09:41:06Z","options":[{"exploitation":"none"},{"automatable":"yes"},{"technicalImpact":"partial"}],"role":"Supplier","version":"2.0.3"}}]},"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"135240","Ordinal":"1","Title":"MISP: Missing Authorization on Tag Attachment Endpoints Allows A","CVE":"CVE-2026-135240","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"135240","Ordinal":"1","NoteData":"MISP contains an authorization bypass in its tag attachment functionality. The endpoints responsible for editing event tags, editing attribute tags, and adding tags to event reports accepted arbitrary tag IDs without verifying whether the authenticated user was permitted to attach the referenced tag.\n\nThe events/addTag endpoint already resolved tag IDs through a restricted lookup that enforced per-user and per-organisation tag visibility rules. However, the three tag-editor endpoints (editEventTags, editAttributeTags, and eventReports/addTag) passed the supplied tag IDs directly to the attachment logic without any such check.\n\nPreconditions:\n- An authenticated user with tagger and add permissions on the target event/attribute/report.\n- Knowledge or discovery of a tag ID that is restricted (local_only) to another organisation.\n\nImpact:\n- A user can attach a tag that is restricted to a different organisation, effectively bypassing the tag visibility and scoping model.\n- A local_only tag can be attached as a global tag, violating the intended distribution restriction and potentially exposing the existence or semantics of another organisation's restricted tag to a broader audience.\n- Data integrity of the MISP instance is compromised as the tag association model no longer reflects the intended access-control boundaries.\n\nAffected versions: MISP prior to 2.5.52.","Type":"Description","Title":"MISP: Missing Authorization on Tag Attachment Endpoints Allows A"}]}}}