Skip to main content

Friendica CVE-2026-72550

| EUVDEUVD-2026-56020 CRITICAL
SQL Injection (CWE-89)
2026-08-11 TuranSec GHSA-8xqr-cc5h-9wvp
9.8
CVSS 3.1 · Vendor: TuranSec
View

Attack ChainAIDerived

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

  1. Access
    Identify internet-facing Friendica instance
  2. Delivery
    Send crafted photo-view 'order' parameter
  3. Exploit
    Break out of SHOW COLUMNS query
  4. Execution
    Inject stacked SQL statements
  5. Impact
    Read, modify, or drop entire database

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Persistence

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

No special conditions - remote unauthenticated exploitation against default configurations of Friendica up to the 2026.08-dev branch. The specific prerequisite is network reachability of the photo-view feature and the ability to control its 'order' parameter, which is exposed without authentication; stacked-statement (multi-statement) execution is possible because the code path uses a bare PDO::query() call rather than a prepared statement. Limiting factors are minimal: exploitation does not require user interaction, credentials, or a non-default setting, so the primary real-world limiter is simply how many Friendica instances are internet-exposed and whether an upstream WAF or proxy filters the 'order' parameter.

Impact

The signals are internally consistent and point to genuine high priority rather than an inflated CVSS: the vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H describes remote, unauthenticated, low-complexity exploitation with no user interaction and total impact on confidentiality, integrity, and availability, which matches a description of unauthenticated stacked-statement SQL injection reaching the whole database. Mitigating the urgency somewhat, there is no CISA KEV listing and no public proof-of-concept identified at time of analysis, and EPSS was not provided - so there is currently no evidence of active or widespread exploitation, and the real-world blast radius is constrained by Friendica's relatively small, self-hosted deployment footprint. That said, any operator running an internet-facing Friendica instance should treat this as urgent because the barrier to exploitation is near-zero and the impact is complete database compromise; the main open question is patch availability, since the only reference is the project's GitHub repository with no confirmed fixed version. Verify the exact fixed commit/release with the Friendica maintainers before assuming remediation.

Exploit ScenarioDerived

An attacker locates an internet-facing Friendica instance and sends a single crafted HTTP request to the photo-view functionality with a malicious 'order' parameter that closes the intended SHOW COLUMNS query and appends attacker-controlled SQL. Because no authentication is required and the query path allows stacked statements, the attacker dumps user credentials and private posts, or issues UPDATE/DROP statements to modify or destroy the database, all without any user interaction. No public exploit code has been identified yet, but the attack is straightforward to weaponize given the described injection point.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
No patch listed yet 0.4% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Aug 11, 2026

Unauthenticated SQL injection in Friendica (through the 2026.08-dev branch) lets remote attackers inject arbitrary SQL through the photo-view 'order' parameter, which is concatenated unsanitized into a SHOW COLUMNS query executed via a bare PDO::query() call. Because PDO::query() permits stacked statements, an attacker needs no credentials to read, alter, or destroy the entire backing database. No public exploit identified at time of analysis, but the flaw is trivially reachable and carries a CVSS 9.8.

RemediationAI

No vendor-released patched version is identified in the available data - the sole reference (https://github.com/friendica/friendica) points to the project repository rather than a tagged fix or advisory, so operators should watch that repository and the Friendica security channels for a fixed release and upgrade to it as soon as it is published; do not assume a version number that has not been confirmed. As immediate compensating controls, restrict or block access to the photo-view endpoint at a reverse proxy / WAF (filter or reject requests where the 'order' parameter contains SQL metacharacters such as semicolons, quotes, or SQL keywords), place the instance behind authentication or an IP allowlist if it does not need to be publicly reachable, and ensure the database account used by Friendica has least-privilege rights so that DROP/ALTER on unrelated schemas is limited - noting these controls reduce but do not eliminate risk and a WAF rule on 'order' may break legitimate sorting functionality. Take a verified database backup before applying changes so that a successful destructive injection can be recovered.

Affected VersionsENISA

Friendica 0 ≤2026.08-dev

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 is an open-source, PHP-based decentralized social networking server that federates over ActivityPub, Diaspora, and OStatus, typically backed by a MySQL/MariaDB database. The root cause is CWE-89 (Improper Neutralization of Special Elements used in an SQL Command): user-controlled input from the photo-view 'order' parameter is string-concatenated directly into a 'SHOW COLUMNS' introspection query instead of being bound as a parameter or validated against an allowlist. The use of PDO::query() rather than a prepared statement (PDO::prepare/execute) is critical - with the default PDO MySQL driver and multi-statement handling, this permits stacked/batched statements, escalating a read-oriented injection point into full read-write-delete capability. The single affected CPE is cpe:2.3:a:friendica:friendica:*:*:*:*:*:*:*:* (EUVD-2026-56020).

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 (TuranSec) PRIMARY 9.8 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 9.8 CRITICAL

Unauthenticated, network-reachable, low-complexity injection with no user interaction and full database read/write/delete gives PR:N, AC:L, and C:H/I:H/A:H.

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

Primary rating from Vendor (TuranSec).

CVSS VectorVendor: TuranSec

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

DescriptionCVE.org

An SQL injection vulnerability in Friendica through the 2026.08-dev branch allows unauthenticated remote attackers to execute arbitrary SQL statements via the photo-view order parameter. The parameter is concatenated unescaped into a SHOW COLUMNS query via a bare PDO::query() call, enabling stacked statement injection. An unauthenticated attacker can read, modify, or delete the entire database.

Executive ViewAI

Why It Matters

Friendica social network platforms running the 2026.08-dev branch face unauthenticated database compromise via a critical SQL injection flaw in the photo-view feature that enables attackers to read, modify, or destroy the entire database without credentials. No public exploit identified at time of analysis, but the vulnerability is trivially reachable with CVSS 9.8 severity. Organizations face immediate risk of complete user data loss and must act on containment and remediation without delay.

Business Impact: Severe
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: WAF rules blocking SQL injection patterns in the 'order' parameter; restrict database user permissions to read-only where feasible; disable the photo-view feature; implement database query logging and real-time alerting for anomalous statements; network isolation of affected systems; database access controls and segmentation to limit lateral movement.

Threat Intelligence Overview

EPSS Score
0.4%
Top 65% exploitable
Prevalence
Low
niche self-hosted federated social platform, small deployment footprint
Data Quality
6 sources
Confidence: High
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 CRITICAL
CISA KEV No
Public POC No
EPSS 0.4%
Patch available No
Active threat No
Deciding rule
CRITICAL severity
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
Out-of-Cycle
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
Very High
Technical Impact
Total

Priority Score

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

Attack Technique

SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.

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