GCVE-1-2026-20434 (CVE-2026-135240)
Vulnerability from gna-1 – Published: 2026-11-23 15:37 – Updated: 2026-11-23 15:40| URL | Tags |
|---|---|
| https://github.com/MISP/MISP/commit/c6c27e7b9a59c… | patch |
qwen3.8:27b
2 events
advisory
bcp-05-x-01bcp-05-x-02bcp-05-x-03
Draft vulnerability metadata was generated from a git-format patch using an Ollama-hosted language model. Human validation is required before publication.
| Model | Source | Identifier |
|---|---|---|
| qwen3.8:27b | ollama | qwen3.8:27b |
- Generator
-
patch2vuln.pyon 2026-11-23 09:41 - Model
qwen3.8:27b- Input
-
https://github.com/MISP/MISP/commit/c6c27e7b9a59c3df343d0a260ee9c1de538c4cad
822e8c845dcf… - Confidence
- medium
| Commit | Subject | Patch SHA-256 |
|---|---|---|
c6c27e7b9a59
|
fix: [security] Tag ids attached through the tag editors and | 822e8c845dcf… |
Fix summary
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.
Patch summary
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.
CVSS rationale
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.
Weakness rationale
- CWE-862 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.
- CWE-285 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.
Attack pattern rationale
- CAPEC-114 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.
Assumptions to verify
- 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.
Model comparison
Selected qwen3.8:27b
by deterministic-consensus-v1
The selected result is closest to model consensus; this heuristic does not establish factual correctness and human review remains required.
| Model | Score | Agreement | Confidence | Assumptions |
|---|---|---|---|---|
qwen3.8:27b |
7 | 11 | medium | 5 |
- 2026-11-16 10:27 UTC Fix developed Corrective change authored (c6c27e7b9a59c3df343d0a260ee9c1de538c4cad): fix: [security] Tag ids attached through the tag editors and https://github.com/MISP/MISP/commit/c6c27e7b9a59c3df343d0a260ee9c1de538c4cad
- 2026-11-23 09:40 UTC Fix available Patch retrieved from the supplied URL; retrieval time is used as the default availability time. https://github.com/MISP/MISP/commit/c6c27e7b9a59c3df343d0a260ee9c1de538c4cad
{
"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\u0027s 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": {
"orgId": "00000000-0000-4000-8000-000000000000"
},
"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\u0027s 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 \u0027IDOR via numeric ID\u0027 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\u0027s 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": "00000000-0000-4000-8000-000000000000",
"cveId": "CVE-2026-135240",
"datePublished": "2026-11-23T15:37:50.441103Z",
"dateReserved": "2026-11-23T15:40:24.596Z",
"dateUpdated": "2026-11-23T15:40:25.995796Z",
"state": "PUBLISHED",
"vulnId": "GCVE-1-2026-20434"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
Solutions
Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline
Sightings and recorded dates, grouped by day · UTC
How durations are calculated
Following the VTEM framework (Black Hat USA 2015), time to patch starts when the vendor or a coordinator was informed, total time to patch at discovery, and disclosure to patch at public disclosure; vendor response time runs from the report to its acknowledgement. Time to exploit and time unpatched start at the earliest discovery or report, falling back to public disclosure. Unpatched time ends at the first recorded patch, or the calculation time when no patch is recorded. Exploitation to patch shows the interval between those two events; a published proof of concept is a public exploit, not exploitation.
Each result shows its source dates. A negative interval means the end event came first; when date-only inputs leave the order open, the result says so. Date-only inputs are approximate. The earliest evidence wins: KEV report dates and sightings are labelled as such. Records describing another vulnerability are listed but never calculated from, and a PoC alone does not establish exploitation. Missing patch evidence does not prove that no patch exists. Filters below change the event list only.
Loading timeline…
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.