{"id":"CVE-2026-132144","state":"PUBLISHED","title":"MISP: Non-admin users can change login email under external authentication to capture a directory identity","description":"MISP contains an authorization flaw in the user login-email change logic. When an external authentication backend is configured (LDAP, Shibboleth, ApacheSecureAuth, or CustomAuth), the login email address serves as the key by which the directory service resolves a user's identity, organization, and role on each login. The __canChangeLogin() method in UsersController only checked the MISP.disable_user_login_change setting and site-admin status; it did not account for whether an external authentication backend was active. As a result, any authenticated non-admin user (including org admins) could change their own login email to an address that matches a higher-privilege account in the external directory. On the user's next login, the external backend would resolve that email to the target directory identity, granting the attacker the organization and role associated with that identity. This constitutes an account-identity capture and privilege escalation: the attacker effectively assumes the identity of any directory account whose email they can guess or discover. The vulnerability requires an authenticated session with a valid API key or session token and a MISP instance configured with at least one external authentication backend. The impact is limited to the scope of the captured directory identity's privileges within MISP.","publishedAt":"2026-11-18T20:41:10.546Z","updatedAt":"2026-11-18T20:54:07.518Z","severity":{"score":8.3,"label":"High","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:H/VA:N/SC:N/SI:H/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":["UsersController (app/Controller/UsersController.php)"],"programFiles":["app/Controller/UsersController.php"],"repo":"https://github.com/MISP/MISP"}],"references":["https://github.com/MISP/MISP/commit/a1fe5058dc758b0e91bb0ff72f622fa99bdfd873"],"weaknesses":["CWE-285","CWE-639"],"ingestedAt":"2026-11-18T20:56:05.949Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/132xxx/CVE-2026-132144.json","commit":"852e272dd21a4efdcdf479598adc17d0e06ba922","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-132144","state":"PUBLISHED","datePublished":"2026-11-18T20:41:10.546Z","dateUpdated":"2026-11-18T20:54:07.518Z","assignerShortName":"CIRCL","assignerOrgId":"5a6e4751-2f3f-4070-9419-94fb35b644e8","dateReserved":"2026-11-18T13:21:34.157Z"},"containers":{"cna":{"title":"MISP: Non-admin users can change login email under external authentication to capture a directory identity","descriptions":[{"lang":"en","value":"MISP contains an authorization flaw in the user login-email change logic. When an external authentication backend is configured (LDAP, Shibboleth, ApacheSecureAuth, or CustomAuth), the login email address serves as the key by which the directory service resolves a user's identity, organization, and role on each login. The __canChangeLogin() method in UsersController only checked the MISP.disable_user_login_change setting and site-admin status; it did not account for whether an external authentication backend was active. As a result, any authenticated non-admin user (including org admins) could change their own login email to an address that matches a higher-privilege account in the external directory. On the user's next login, the external backend would resolve that email to the target directory identity, granting the attacker the organization and role associated with that identity. This constitutes an account-identity capture and privilege escalation: the attacker effectively assumes the identity of any directory account whose email they can guess or discover. The vulnerability requires an authenticated session with a valid API key or session token and a MISP instance configured with at least one external authentication backend. The impact is limited to the scope of the captured directory identity's privileges within 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":["UsersController (app/Controller/UsersController.php)"],"programFiles":["app/Controller/UsersController.php"],"repo":"https://github.com/MISP/MISP"}],"references":[{"url":"https://github.com/MISP/MISP/commit/a1fe5058dc758b0e91bb0ff72f622fa99bdfd873","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:L/VI:H/VA:N/SC:N/SI:H/SA:N","baseScore":8.3,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"LOW","userInteraction":"NONE","vulnConfidentialityImpact":"LOW","vulnIntegrityImpact":"HIGH","vulnAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"HIGH","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-18T13:14:53Z","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"total"}]}}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-285","lang":"en","description":"CWE-285 Improper Authorization","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-639","lang":"en","description":"CWE-639 Authorization Bypass Through User-Controlled Key","type":"CWE"}]}],"providerMetadata":{"shortName":"CIRCL","orgId":"5a6e4751-2f3f-4070-9419-94fb35b644e8","dateUpdated":"2026-11-18T20:41:10.546Z"},"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-18T13:14:53.442286Z","model":"qwen3.8:27b","source":"https://github.com/MISP/MISP/commit/a1fe5058dc758b0e91bb0ff72f622fa99bdfd873.patch","patchSha256":"502df2ebb69b222bcd0fa06bfab41c03d904d3c8b67ca24ef25f98e8042dc60d","patchTruncated":false,"commit":"a1fe5058dc758b0e91bb0ff72f622fa99bdfd873","subject":"fix: [security] Login e-mails are admin-only under external","patches":[{"source":"https://github.com/MISP/MISP/commit/a1fe5058dc758b0e91bb0ff72f622fa99bdfd873.patch","sourceUrl":"https://github.com/MISP/MISP/commit/a1fe5058dc758b0e91bb0ff72f622fa99bdfd873.patch","patchSha256":"502df2ebb69b222bcd0fa06bfab41c03d904d3c8b67ca24ef25f98e8042dc60d","commit":"a1fe5058dc758b0e91bb0ff72f622fa99bdfd873","subject":"fix: [security] Login e-mails are admin-only under external","date":"Wed, 18 Nov 2026 10:15:00 +0100","retrievedAt":"2026-11-18T13:14:06.772159Z"}],"confidence":"high","assumptions":["The affected MISP version range is not specified in the patch; all versions prior to this commit that lack the external-auth check in __canChangeLogin() are assumed affected.","The vulnerability requires that at least one external authentication backend (Security.auth, ApacheSecureAuth, or CustomAuth) is configured; instances using only local MISP authentication are not affected by this specific issue.","The CVSS VC:L assumes the attacker gains data access scoped to the captured identity's permissions; a higher-privilege target could yield higher confidentiality impact.","CAPEC-126 (Privilege Escalation) is the closest standard mapping; no CAPEC specifically covers directory-identity capture via email-key substitution.","The SSVC technical_impact of 'total' assumes the captured directory identity's full privilege set is transferred to the attacker; if the target identity has limited privileges, the practical impact may be lower.","The commit date (2026-11-18) and AI co-authorship (Claude Opus 5.5) are noted from metadata but do not affect the vulnerability analysis."],"fixSummary":"The authorization check for changing a login email now explicitly denies the operation for non-site-admin users when any external authentication backend is active (Security.auth is set, ApacheSecureAuth.apacheEnv is configured, or Plugin.CustomAuth_enable is true). Only site administrators retain the ability to modify login emails in an external-authentication deployment, preventing non-admin users from redirecting their directory identity lookup to an arbitrary account.","patchSummary":"In app/Controller/UsersController.php, the __canChangeLogin() method was restructured: after the existing site-admin bypass and MISP.disable_user_login_change check, three additional conditions are now required for non-admins to change their login email: Security.auth must be empty, ApacheSecureAuth.apacheEnv must be unset, and Plugin.CustomAuth_enable must be unset. A new regression test class LoginChangeExternalAuth in tests/testregressions.py verifies that self-service and org-admin email changes are refused when external auth is enabled, while site-admin changes remain permitted, and that self-service changes still work when no external auth is configured.","credits":[{"lang":"en","value":"Francois-Xavier Stellamans from the NATO Cyber Security Centre with OpenAI Daybreak support (using GPT5.6-Cyber)","type":"reporter"},{"lang":"en","value":"iglocska","type":"remediation developer"},{"lang":"en","value":"Claude Opus 5.5","type":"remediation developer"}],"cvssRationale":"AV:N: MISP is a network-accessible web application. AC:L: The attack is a single API call to change the email field; no race conditions or special timing are needed. AT:N: No prior tampering of system data is required. PR:L: An authenticated non-admin user with a valid API key is sufficient. UI:N: No victim interaction is needed; the attacker acts on their own account. VC:L: The attacker gains read access to data visible to the captured identity. VI:H: The integrity of the identity-to-account binding is fundamentally broken; the attacker assumes a different identity and its privileges. VA:N: No denial-of-service impact. SC:N: No secondary-component confidentiality impact beyond what is captured. SI:H: The external directory's identity resolution is subverted for the attacker's session. SA:N: No availability impact on the directory service.","ssvc":{"version":"2.0.3","role":"Supplier","timestamp":"2026-11-18T13:14:53Z","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"total"}]},"weaknessRationale":[{"cweId":"CWE-285","rationale":"The __canChangeLogin() authorization check failed to restrict the login-email change action based on the active authentication context. When external authentication was in use, the check should have denied non-admin email changes because the email is the directory identity key, but it only evaluated a single configuration flag."},{"cweId":"CWE-639","rationale":"The login email is a user-controlled key used by the external directory to resolve identity. Because non-admins could modify this key, they could redirect the directory lookup to an arbitrary account, bypassing the intended identity binding."}],"capecRationale":[{"capecId":"CAPEC-126","rationale":"The attacker, holding a low-privilege MISP account, changes their login email to match a higher-privilege directory account. On next login the external backend resolves the email to the target identity, granting the attacker the target's organization and role. This is a direct privilege escalation via identity capture. The mapping is the closest standard CAPEC; no more specific CAPEC for directory-identity capture exists in the CAPEC catalog."}],"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":7,"agreementScore":11,"confidence":"high","assumptionCount":6}],"potentialErrors":[]}}},"bcp-05-x-03":{"x_timeline":{"events":[{"type":"fix-developed","timestamp":"2026-11-18T09:15:00Z","description":"Corrective change authored (a1fe5058dc758b0e91bb0ff72f622fa99bdfd873): fix: [security] Login e-mails are admin-only under external","references":["https://github.com/MISP/MISP/commit/a1fe5058dc758b0e91bb0ff72f622fa99bdfd873.patch"],"id":"evt-fix-developed-1"},{"id":"evt-fix-available-1","type":"fix-available","timestamp":"2026-11-18T13:14:06.772159Z","description":"Patch retrieved from the supplied URL; retrieval time is used as the default availability time.","references":["https://github.com/MISP/MISP/commit/a1fe5058dc758b0e91bb0ff72f622fa99bdfd873.patch"]}]}}},"vulnId":"gcve-1-2026-20351"}],"solutions":[{"lang":"en","value":"The authorization check for changing a login email now explicitly denies the operation for non-site-admin users when any external authentication backend is active (Security.auth is set, ApacheSecureAuth.apacheEnv is configured, or Plugin.CustomAuth_enable is true). Only site administrators retain the ability to modify login emails in an external-authentication deployment, preventing non-admin users from redirecting their directory identity lookup to an arbitrary account."}],"impacts":[{"capecId":"CAPEC-126","descriptions":[{"lang":"en","value":"CAPEC-126 Privilege Escalation"}]}],"credits":[{"lang":"en","value":"Francois-Xavier Stellamans from the NATO Cyber Security Centre with OpenAI Daybreak support (using GPT5.6-Cyber)","type":"reporter"},{"lang":"en","value":"iglocska","type":"remediation developer"},{"lang":"en","value":"Claude Opus 5.5","type":"remediation developer"}],"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-18T20:53:57.986486Z","id":"CVE-2026-132144","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-18T20:54:07.518Z"}}]}}}