{"id":"CVE-2026-136123","state":"PUBLISHED","title":"Friendica through 2026.05-1 Impersonation via APContact::compactProfile() Key Overwrite","description":"Friendica through 2026.05-1 contains an improper validation vulnerability in APContact::compactProfile() that allows remote actors to overwrite a local user's stored inbox and public key by declaring that user's profile URL as their actor id. Attackers can then sign ActivityPub activities that HTTPSignature::fetchKey() verifies against the injected publicKeyPem, impersonating the local user on the instance.","publishedAt":"2026-11-24T13:00:05.653Z","updatedAt":"2026-11-24T13:00:05.653Z","severity":{"score":8.7,"label":"High","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N","source":"VulnCheck"},"assigner":"VulnCheck","products":["Friendica Friendica"],"affected":[{"vendor":"Friendica","product":"Friendica","packageURL":"pkg:github/friendica/friendica","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"2026.05-1","versionType":"custom"}]}],"references":["https://github.com/friendica/friendica/pull/16530","https://github.com/friendica/friendica/commit/075748d0728be7aa3bb0af71e02ce9b3134de328","https://github.com/friendica/friendica","https://github.com/friendica/friendica/blob/2026.05-1/src/Model/APContact.php#L508-L519","https://www.vulncheck.com/advisories/friendica-through-2026.05-1-impersonation-via-apcontact-compactprofile-key-overwrite"],"weaknesses":["CWE-346"],"ingestedAt":"2026-11-24T13:12:05.405Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/136xxx/CVE-2026-136123.json","commit":"2d4c213a8c60135a74656a8cdc01184bfa88a1b3","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-136123","state":"PUBLISHED","datePublished":"2026-11-24T13:00:05.653Z","dateUpdated":"2026-11-24T13:00:05.653Z","assignerShortName":"VulnCheck","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateReserved":"2026-11-24T12:38:25.031Z"},"containers":{"cna":{"title":"Friendica through 2026.05-1 Impersonation via APContact::compactProfile() Key Overwrite","descriptions":[{"lang":"en","value":"Friendica through 2026.05-1 contains an improper validation vulnerability in APContact::compactProfile() that allows remote actors to overwrite a local user's stored inbox and public key by declaring that user's profile URL as their actor id. Attackers can then sign ActivityPub activities that HTTPSignature::fetchKey() verifies against the injected publicKeyPem, impersonating the local user on the instance."}],"affected":[{"vendor":"Friendica","product":"Friendica","packageURL":"pkg:github/friendica/friendica","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"2026.05-1","versionType":"custom"}]}],"references":[{"url":"https://github.com/friendica/friendica/pull/16530","tags":["issue-tracking","patch"],"name":"Pull Request #16530"},{"url":"https://github.com/friendica/friendica/commit/075748d0728be7aa3bb0af71e02ce9b3134de328","tags":["patch"],"name":"Patch Commit"},{"url":"https://github.com/friendica/friendica","tags":["product"]},{"url":"https://github.com/friendica/friendica/blob/2026.05-1/src/Model/APContact.php#L508-L519","tags":["technical-description"],"name":"APContact::compactProfile() row overwrite at 2026.05-1"},{"url":"https://www.vulncheck.com/advisories/friendica-through-2026.05-1-impersonation-via-apcontact-compactprofile-key-overwrite","name":"VulnCheck Advisory: Friendica through 2026.05-1 Impersonation via APContact::compactProfile() Key Overwrite","tags":["third-party-advisory"]}],"metrics":[{"format":"CVSS","cvssV4_0":{"version":"4.0","vectorString":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N","attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"HIGH","vulnAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":8.7,"baseSeverity":"HIGH"}},{"format":"CVSS","cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"HIGH","availabilityImpact":"NONE","baseScore":7.5,"baseSeverity":"HIGH"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-346","lang":"en","description":"Origin Validation Error","type":"CWE"}]}],"providerMetadata":{"shortName":"VulnCheck","orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateUpdated":"2026-11-24T13:00:05.653Z"},"datePublic":"2026-11-20T00:00:00.000Z","cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:friendica:friendica:*:*:*:*:*:*:*:*","versionEndIncluding":"2026.05-1"}]}]}],"credits":[{"lang":"en","value":"EZO Labs Security","type":"finder"},{"lang":"en","value":"MrPetovan","type":"remediation developer"}],"x_generator":{"engine":"vulncheck-endgame"}}}}}