{"id":"CVE-2026-133190","state":"PUBLISHED","title":"MISP CryptographicKey: Revoked PGP Keys Still Validate Protected Event Signatures and Key Revocation Sync Is Ineffective","description":"MISP, a threat intelligence sharing platform, contains a vulnerability in its cryptographic key management for protected (PGP-signed) events. Two related defects allow a revoked PGP key to remain effective for signing and validating protected events.\n\nFirst, the validateProtectedEvent() method in the CryptographicKey model iterates over the event's stored cryptographic keys to verify a PGP signature but does not check the revoked flag on each key. A key explicitly marked as revoked is still used to validate signatures, meaning an entity whose key has been revoked can continue to sign protected events and have them accepted by the MISP instance.\n\nSecond, the captureCryptographicKeyUpdate() method, responsible for synchronizing the key list when a sync user edits a protected event, contained a query bug (find('first') instead of find('all')) that caused only the first stored key to be considered. As a result, revocations of additional keys were never persisted, keys absent from the pushed list were not removed, and entries lacking an explicit fingerprint were mismatched and incorrectly deleted. Additionally, the revocation logic did not enforce the invariant that a revocation, once stored, is never lifted by subsequent pushes.\n\nA third minor issue: a signed protected event submitted without any cryptographic keys triggered an unhandled 500 error rather than a proper rejection response.\n\nPreconditions: the attacker must be an authenticated sync user with permission to add or edit protected events on the MISP instance. The impact is that revoked keys retain signing authority, key revocations propagated by sync partners are silently dropped, and the integrity of the protected-event trust chain is compromised. In a multi-instance MISP deployment, events signed by revoked keys can propagate to other instances, extending the integrity impact across the sync network.","publishedAt":"2026-11-19T14:44:46.132Z","updatedAt":"2026-11-19T14:52:25.872Z","severity":{"score":6.3,"label":"Medium","version":"4.0","vector":"CVSS:4.0/AV:N/AC:H/AT:N/PR:N/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":["CryptographicKey model (app/Model/CryptographicKey.php)"],"programFiles":["app/Model/CryptographicKey.php"],"repo":"https://github.com/MISP/MISP"}],"references":["https://github.com/MISP/MISP/commit/eee1f8b67"],"weaknesses":["CWE-345","CWE-287"],"ingestedAt":"2026-11-19T15:04:05.994Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/133xxx/CVE-2026-133190.json","commit":"0d81ac0386ccfff7d14863126f2ab42090d7e53c","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-133190","state":"PUBLISHED","datePublished":"2026-11-19T14:44:46.132Z","dateUpdated":"2026-11-19T14:52:25.872Z","assignerShortName":"CIRCL","assignerOrgId":"5a6e4751-2f3f-4070-9419-94fb35b644e8","dateReserved":"2026-11-19T14:44:40.990Z"},"containers":{"cna":{"title":"MISP CryptographicKey: Revoked PGP Keys Still Validate Protected Event Signatures and Key Revocation Sync Is Ineffective","descriptions":[{"lang":"en","value":"MISP, a threat intelligence sharing platform, contains a vulnerability in its cryptographic key management for protected (PGP-signed) events. Two related defects allow a revoked PGP key to remain effective for signing and validating protected events.\n\nFirst, the validateProtectedEvent() method in the CryptographicKey model iterates over the event's stored cryptographic keys to verify a PGP signature but does not check the revoked flag on each key. A key explicitly marked as revoked is still used to validate signatures, meaning an entity whose key has been revoked can continue to sign protected events and have them accepted by the MISP instance.\n\nSecond, the captureCryptographicKeyUpdate() method, responsible for synchronizing the key list when a sync user edits a protected event, contained a query bug (find('first') instead of find('all')) that caused only the first stored key to be considered. As a result, revocations of additional keys were never persisted, keys absent from the pushed list were not removed, and entries lacking an explicit fingerprint were mismatched and incorrectly deleted. Additionally, the revocation logic did not enforce the invariant that a revocation, once stored, is never lifted by subsequent pushes.\n\nA third minor issue: a signed protected event submitted without any cryptographic keys triggered an unhandled 500 error rather than a proper rejection response.\n\nPreconditions: the attacker must be an authenticated sync user with permission to add or edit protected events on the MISP instance. The impact is that revoked keys retain signing authority, key revocations propagated by sync partners are silently dropped, and the integrity of the protected-event trust chain is compromised. In a multi-instance MISP deployment, events signed by revoked keys can propagate to other instances, extending the integrity impact across the sync network."}],"affected":[{"vendor":"misp","product":"misp","versions":[{"version":"0","status":"affected","lessThanOrEqual":"2.5.51","versionType":"semver"}],"cpes":["cpe:2.3:a:misp:misp:*:*:*:*:*:*:*:*"],"modules":["CryptographicKey model (app/Model/CryptographicKey.php)"],"programFiles":["app/Model/CryptographicKey.php"],"repo":"https://github.com/MISP/MISP"}],"references":[{"url":"https://github.com/MISP/MISP/commit/eee1f8b67","name":"Security patch","tags":["patch"]}],"metrics":[{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N","baseScore":3.7,"baseSeverity":"LOW"}},{"format":"SSVC","scenarios":[{"lang":"en","value":"GENERAL"}],"other":{"type":"SSVC","content":{"version":"2.0.3","role":"Supplier","timestamp":"2026-11-19T14:35:26Z","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}]}}},{"cvssV4_0":{"version":"4.0","vectorString":"CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N","baseScore":6.3,"baseSeverity":"MEDIUM"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-345","lang":"en","description":"CWE-345 Insufficient Verification of Data Authenticity","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-287","lang":"en","description":"CWE-287 Improper Authentication","type":"CWE"}]}],"providerMetadata":{"shortName":"CIRCL","orgId":"5a6e4751-2f3f-4070-9419-94fb35b644e8","dateUpdated":"2026-11-19T14:44:46.132Z"},"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-19T14:35:26.990914Z","model":"qwen3.8:27b","source":"https://github.com/MISP/MISP/commit/eee1f8b67.patch","patchSha256":"ad525a5a81462a3936cd6ad7cb153b93b23ec465ba010b8634cee54bcb6c7d87","patchTruncated":false,"commit":"eee1f8b675c5c472fa73b41982824c0c17dd639e","subject":"fix: [security] Revoked keys no longer sign protected events,","patches":[{"source":"https://github.com/MISP/MISP/commit/eee1f8b67.patch","sourceUrl":"https://github.com/MISP/MISP/commit/eee1f8b67.patch","patchSha256":"ad525a5a81462a3936cd6ad7cb153b93b23ec465ba010b8634cee54bcb6c7d87","commit":"eee1f8b675c5c472fa73b41982824c0c17dd639e","subject":"fix: [security] Revoked keys no longer sign protected events,","date":"Sat, 14 Nov 2026 12:53:39 +0100","retrievedAt":"2026-11-19T14:34:41.330303Z"}],"confidence":"medium","assumptions":["The affected MISP version range is not specified in the patch; all versions prior to this commit are assumed affected.","The attacker is assumed to be an authenticated sync user with permission to add or edit protected events; unauthenticated exploitation is not evidenced.","The secondary integrity impact (SI:H) assumes a multi-instance MISP sync deployment; in a single-instance deployment the secondary impact may be lower.","CAPEC-124 is selected as the closest available pattern; no CAPEC specifically covers cryptographic key revocation bypass, so the mapping is approximate.","The Co-Authored-By line for Claude Opus 5.5 is treated as a tool credit; it is unclear whether this represents AI-assisted development or a placeholder.","The 500-error issue (signed event without keys) is treated as a minor robustness defect subsumed under the primary revocation-bypass vulnerability rather than a separate issue.","CVSS AT:N is used because the only options are N or P; the attacker does perform active interaction (submitting a signed event), but no special passive observation position is required."],"fixSummary":"The fix enforces key revocation in signature validation by skipping any key whose revoked flag is set before attempting PGP verification. It corrects the key-sync query to retrieve all stored keys (not just the first), ensures revocations are persisted and never lifted by a subsequent push, properly removes keys absent from the pushed list, and computes a fingerprint for entries that lack one so they match their stored counterpart. A signed protected event with no keys is now refused with a proper error response instead of an unhandled 500.","patchSummary":"In CryptographicKey.php: (1) validateProtectedEvent() now checks $supplied_key['revoked'] and continues (skips) if set, before calling verifySignature(). (2) captureCryptographicKeyUpdate() changes find('first') to find('all') so all stored keys are considered. (3) A pre-loop computes a fingerprint via extractKeyData() for pushed entries that lack one. (4) The revocation branch is restructured: it now saves only the revoked flag (id + revoked=1) and the condition uses !empty() checks to ensure a revocation is never lifted. (5) The $existingKey array access is flattened (removing the nested 'CryptographicKey' key). (6) deleteAll() is guarded with an empty check on $toRemove. (7) The no-keys error message includes the event UUID and the log entry uses event ID 0. In tests/testregressions.py: a new ProtectedEventKeyRevocation test class adds nine regression tests covering revoked-key rejection, unrevoked-key acceptance, revocation persistence, non-lifting of revocations, key removal, fingerprint-less entry match","credits":[{"lang":"en","value":"ENISA 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":"CERT.pl","type":"reporter"},{"lang":"en","value":"Claude Opus 5.5","type":"tool"}],"cvssRationale":"AV:N: MISP is a network-accessible web application; the attacker interacts via the HTTP API. AC:L: exploitation requires only signing an event with a revoked key and submitting it; no race conditions or special timing. AT:N: no special targeting beyond network reachability to the MISP instance. PR:L: the attacker must be an authenticated sync user with permission to add/edit protected events. UI:N: no victim interaction is required. VC:N: no confidentiality impact is evident. VI:H: integrity is significantly impacted because revoked keys retain signing authority and revocations are not applied, undermining the trust chain for protected events. VA:N: the 500-error issue is minor and does not constitute a meaningful availability impact. SC:N: no secondary confidentiality impact. SI:H: in a multi-instance MISP sync network, events signed by revoked keys can propagate to peer instances, extending the integrity compromise. SA:N: no secondary availability impact.","ssvc":{"version":"2.0.3","role":"Supplier","timestamp":"2026-11-19T14:35:26Z","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}]},"weaknessRationale":[{"cweId":"CWE-345","rationale":"The signature verification routine validated the cryptographic signature but failed to verify the authenticity/validity of the signing key by checking its revocation status. A revoked key was treated as a valid signing authority, which is a failure to fully verify data authenticity."},{"cweId":"CWE-287","rationale":"The system accepted a revoked key as a valid credential for signing protected events, effectively failing to authenticate the signer's current authorization status. The key revocation mechanism was bypassed."}],"capecRationale":[{"capecId":"CAPEC-124","rationale":"The revoked-key state is an exceptional condition in the key lifecycle that the application failed to handle correctly during signature validation and key synchronization. The attacker exploits the system's failure to treat a revoked key as an exceptional (invalid) state. This is the closest CAPEC pattern; a more specific 'key revocation bypass' pattern does not exist in the CAPEC catalog, so CAPEC-124 is the best available match."},{"capecId":"CAPEC-100","rationale":"The key-sync path is vulnerable to manipulation of the pushed key list: by omitting keys or crafting entries without fingerprints, an attacker can prevent revocations from being applied or cause valid keys to be removed. This is a secondary attack vector enabled by the same code defects. The mapping is approximate because the primary issue is a logic flaw rather than direct parameter injection."}],"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":5,"agreementScore":11,"confidence":"medium","assumptionCount":7}],"potentialErrors":[]}}},"bcp-05-x-03":{"x_timeline":{"events":[{"type":"fix-developed","timestamp":"2026-11-14T11:53:39Z","description":"Corrective change authored (eee1f8b675c5c472fa73b41982824c0c17dd639e): fix: [security] Revoked keys no longer sign protected events,","references":["https://github.com/MISP/MISP/commit/eee1f8b67.patch"],"id":"evt-fix-developed-1"},{"id":"evt-fix-available-1","type":"fix-available","timestamp":"2026-11-19T14:34:41.330303Z","description":"Patch retrieved from the supplied URL; retrieval time is used as the default availability time.","references":["https://github.com/MISP/MISP/commit/eee1f8b67.patch"]}]}}},"vulnId":"gcve-1-2026-20236"}],"solutions":[{"lang":"en","value":"The fix enforces key revocation in signature validation by skipping any key whose revoked flag is set before attempting PGP verification. It corrects the key-sync query to retrieve all stored keys (not just the first), ensures revocations are persisted and never lifted by a subsequent push, properly removes keys absent from the pushed list, and computes a fingerprint for entries that lack one so they match their stored counterpart. A signed protected event with no keys is now refused with a proper error response instead of an unhandled 500."}],"impacts":[{"capecId":"CAPEC-124","descriptions":[{"lang":"en","value":"CAPEC-124 Exploiting Incorrectly Handled Exceptional Conditions"}]},{"capecId":"CAPEC-100","descriptions":[{"lang":"en","value":"CAPEC-100 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":"CERT.pl","type":"reporter"},{"lang":"en","value":"Claude Opus 5.5","type":"tool"}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:misp:misp:*:*:*:*:*:*:*:*","versionStartIncluding":"0","versionEndIncluding":"2.5.51"}]}]}]},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-11-19T14:52:11.814868Z","id":"CVE-2026-133190","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:52:25.872Z"}}]}}}