Skip to main content

Friendica EUVDEUVD-2026-133909

| CVE-2026-136123 HIGH
Origin Validation Error (CWE-346)
2026-11-24 VulnCheck GHSA-66mr-rcp9-673m
8.7
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft remote profile declaring victim's local actor id
  2. Delivery
    Induce instance to fetch attacker profile
  3. Exploit
    compactProfile overwrites local inbox and publicKeyPem
  4. Execution
    Sign ActivityPub activities with attacker key
  5. Impact
    HTTPSignature verifies, impersonating local user across federation

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Origin validation
Exploitation Conditions

No special configuration is required: the flaw affects default Friendica instances through 2026.05-1 and is reachable remotely without authentication (PR:N) or user interaction (UI:N). The one operational prerequisite is that the target instance must fetch and process the attacker's crafted remote ActivityPub profile - which occurs through normal federation/interaction - where that profile sets its actor id/url to a local user's profile URL while supplying attacker-controlled inbox and publicKeyPem values. The limiting factor is federation reachability (the instance must retrieve the malicious actor document); there is no authentication, privilege, or non-default-setting barrier, so defenders should treat any federated instance as exposed. Impact is confined to integrity/impersonation - no confidentiality or availability effect.

Impact

This is a genuine high-priority integrity flaw, not an inflated CVSS score. The vendor CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) describes remote, unauthenticated, low-complexity exploitation with no required attack conditions, and the impact is cleanly scoped: VI:H (high integrity impact - authentication/impersonation) with VC:N and VA:N, meaning no data disclosure and no availability loss. My independent read agrees: the harm is impersonation, not data theft or service disruption. Signals are consistent rather than conflicting: the CWE-346 (origin validation) classification, the source-diff mechanism, and the integrity-only impact all align. Tempering factors: the vuln.today decision label is 'this_week' (not act_now/emergency), there is no CISA KEV listing and no EPSS probability supplied, so there is no evidence of active or automated exploitation - risk is driven by severity-of-impact plus triviality-of-trigger rather than observed attacks. The 'Code Injection' tag overstates the mechanism; this is identity spoofing/key overwrite, not arbitrary code execution. Net: patch within the vendor-indicated week, prioritized by exposure, but the niche deployment footprint bounds the blast radius.

Exploit ScenarioDerived

An attacker stands up (or controls) a remote ActivityPub actor and causes the target Friendica instance to fetch that remote profile through normal federation. The crafted profile declares a local user's profile URL as its actor id while supplying the attacker's own inbox and publicKeyPem; the vulnerable APContact::compactProfile() writes those values into the local user's stored contact row. The attacker then signs ActivityPub activities that HTTPSignature::fetchKey() validates against the injected key, impersonating that local user. No public weaponized exploit is identified, but the fix PR (#16530) ships a test case (testRemoteProfileCannotClaimALocalUrl) that demonstrates the exact attack mechanism; given AV:N/AC:L/PR:N/UI:N, reproduction is straightforward.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 24, 2026

Friendica through 2026.05-1 allows remote, unauthenticated actors to impersonate local users by publishing an ActivityPub profile whose actor id or URL is a local user's profile URL while supplying an attacker-controlled inbox and publicKeyPem. When the instance ingests that profile through normal federation, APContact::compactProfile() can overwrite the local user's stored contact data, and ActivityPub activities signed with the attacker's key then pass HTTPSignature::fetchKey() verification as that local user. No public exploit was identified at time of analysis; the assessed impact is integrity and impersonation only, with no confidentiality or availability effect.

RemediationAI

Apply the vendor fix referenced by GitHub pull request 16530 and commit 075748d0728be7aa3bb0af71e02ce9b3134de328, or upgrade to a Friendica release that contains that change; because the provided data does not state an exact patched release number, confirm the deployed release includes the isLocalUrl guard in APContact::compactProfile() before treating the instance as fixed. The fix rejects remote profiles that claim a local URL and returns the existing contact instead of writing attacker-supplied inbox and publicKeyPem values, closing the impersonation path. No vendor-documented workaround is provided in the references; if patching is delayed, restricting inbound federation to trusted peers or temporarily reducing federation reachability lowers exposure because the attack requires the instance to fetch the crafted remote actor document, but this can break normal federation and is not a complete substitute for the patch. Relevant references are https://github.com/friendica/friendica/pull/16530 and https://www.vulncheck.com/advisories/friendica-through-2026.05-1-impersonation-via-apcontact-compactprofile-key-overwrite.

Affected VersionsENISA

Friendica 0 ≤2026.05-1

Affected Packages

euvd friendica no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Friendica federates over ActivityPub, where remote actor documents declare an id, url, inbox and publicKey; the instance persists remote actors in its apcontact data. APContact::compactProfile() is the compaction path that normalizes fetched actor profiles, and before the fix it did not verify that a profile claiming a local URL actually originated locally. This is a CWE-346 origin validation error: a remote document can claim a local user's profile URL, causing the stored inbox and publicKeyPem for that local row to be replaced with attacker values. HTTPSignature::fetchKey() later resolves the key for signature verification, so activities signed with the injected key are accepted as the local user. The supplied patch adds a DI::baseUrl()->isLocalUrl($apcontact['url']) guard and a regression test asserting that a remote profile claiming a local URL does not create or overwrite an apcontact row. The CPE cpe:2.3:a:friendica:friendica:*:*:*:*:*:*:*:* covers Friendica versions through 2026.05-1; VulnCheck tags the issue as Code Injection, while the described and independently assessed effect is stored key/inbox overwrite leading to impersonation, not code execution.

Know when Friendica gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 8.7 HIGH
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
vuln.today AI 7.5 HIGH

Remote, unauthenticated, low-complexity profile fetch overwrites the stored key yielding high integrity impact (impersonation); no confidentiality or availability loss, scope unchanged consistent with vendor SI:N.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
High
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

CVE-2026-136123 is a high-severity vulnerability in Friendica (through version 2026.05-1) that enables remote, unauthenticated attackers to impersonate local users on federated social instances. This undermines trust in user identities and could lead to fraudulent activities, reputational damage, and potential legal exposure for organizations relying on Friendica for internal or external communications.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.4%
Top 78% exploitable
Prevalence
Low
niche self-hosted fediverse server, small deployment base
Data Quality
5 sources
Confidence: Medium
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Code Injection CRITICAL

Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.

CVE-2024-27730 CRITICAL POC
9.8 Aug 15

Insecure Permissions vulnerability in Friendica v.2023.12 allows a remote attacker to obtain sensitive information and e

CVE-2021-30141 HIGH POC
7.5 Apr 05

Module/Settings/UserExport.php in Friendica through 2021.01 allows settings/userexport to be used by anonymous users, as

CVE-2024-27731 MEDIUM POC
6.1 Aug 15

Cross Site Scripting vulnerability in Friendica v.2023.12 allows a remote attacker to obtain sensitive information via t

CVE-2024-27729 MEDIUM POC
6.1 Aug 15

Cross Site Scripting vulnerability in Friendica v.2023.12 allows a remote attacker to obtain sensitive information via t

CVE-2024-27728 MEDIUM POC
6.1 Aug 15

Cross Site Scripting vulnerability in Friendica v.2023.12 allows a remote attacker to obtain sensitive information via t

CVE-2024-26495 MEDIUM POC
6.1 Apr 03

Cross Site Scripting (XSS) vulnerability in Friendica versions after v.2023.12, allows a remote attacker to execute arbi

CVE-2026-72550 CRITICAL
9.8 Aug 11

Unauthenticated SQL injection in Friendica (through the 2026.08-dev branch) lets remote attackers inject arbitrary SQL t

CVE-2024-39094 MEDIUM POC
5.4 Aug 20

Friendica 2024.03 is vulnerable to Cross Site Scripting (XSS) in settings/profile via the homepage, xmpp, and matrix par

CVE-2026-137309 HIGH
7.1 Nov 26

Incorrect authorization in Friendica through 2026.05-1 lets any authenticated local user overwrite another author's post

CVE-2026-72597 MEDIUM
6.5 Aug 11

Server-side request forgery in Friendica through the 2026.08-dev branch exposes internal network infrastructure to any a

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy