Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify internet-facing Friendica instance
-
DeliverySend crafted photo-view 'order' parameter
-
ExploitBreak out of SHOW COLUMNS query
-
ExecutionInject stacked SQL statements
-
ImpactRead, 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
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.
Primary rating from Vendor (TuranSec).
CVSS VectorVendor: TuranSec
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
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.
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.
Insecure Permissions vulnerability in Friendica v.2023.12 allows a remote attacker to obtain sensitive information and e
Module/Settings/UserExport.php in Friendica through 2021.01 allows settings/userexport to be used by anonymous users, as
Cross Site Scripting vulnerability in Friendica v.2023.12 allows a remote attacker to obtain sensitive information via t
Cross Site Scripting vulnerability in Friendica v.2023.12 allows a remote attacker to obtain sensitive information via t
Cross Site Scripting vulnerability in Friendica v.2023.12 allows a remote attacker to obtain sensitive information via t
Cross Site Scripting (XSS) vulnerability in Friendica versions after v.2023.12, allows a remote attacker to execute arbi
Friendica 2024.03 is vulnerable to Cross Site Scripting (XSS) in settings/profile via the homepage, xmpp, and matrix par
Server-side request forgery in Friendica through the 2026.08-dev branch exposes internal network infrastructure to any a
EUVD-2026-56020
GHSA-8xqr-cc5h-9wvp
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB