CVE-2026-72550

Friendica Friendica - SQL Injection

Published Aug 11, 2026 CVSS 3.1 · 9.8 Critical EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

An SQL injection flaw allows attackers to execute arbitrary SQL statements against the Friendica database. The vulnerable code directly concatenates the photo‑view order parameter into a SHOW COLUMNS query using PDO::query(), enabling stacked statement injection. This flaw enables reading, modifying, or deleting the entire database, thereby destroying confidentiality, integrity, and availability of all stored data.

Affected Systems

The vulnerability exists in the Friendica application distributed by the Friendica project, specifically within the 2026.08‑dev development branch. The affected code path is likely present in any builds that incorporate this branch without modification. Thus any Friendica deployment running a version derived from 2026.08‑dev is at risk.

Risk and Exploitability

Cybersecurity controls will rate this as a critical vulnerability with a CVSS score of 9.8. The EPSS score is not available and the vulnerability is not listed in CISA's KEV catalog, yet the attack vector is remote, unauthenticated, and requires no prior login, as inferred from the description. The stacked statement injection capability means a single malicious request can fully compromise the database, making the risk level very significant for any exposed Friendica deployment.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update Friendica to the newest stable release that removes the vulnerable code path
  • Configure network or application firewall rules to restrict access to the photo‑view endpoint, ensuring only authenticated users or trusted hosts can reach the vulnerable parameter
  • Implement input validation or use prepared statements for the photo‑view order parameter so that user data cannot be executed as SQL
  • Apply the principle of least privilege to the database credentials used by the application, reducing the damage that can be caused by an injection attack

Generated by OpenCVE AI on August 11, 2026 at 17:35 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
References
History
Type Values Removed Values Added
First Time appeared Friendica
Friendica friendica
Vendors & Products Friendica
Friendica friendica
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description 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.
Title Friendica Friendica - SQL Injection
Weaknesses CWE-89
References
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

Weaknesses
  • CWE-89

    Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Sources

Status
PUBLISHED
Assigner
TuranSec
Published
Updated
Aug 11, 2026, 3:12 PM
Reserved
Aug 10, 2026, 10:32 AM
Status
Deferred
Published
Aug 11, 2026, 12:17 PM
Modified
Oct 24, 2026, 3:10 PM