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.
Published: 2026-08-11
Score: 9.8 Critical
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

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.

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

Remediation

No vendor fix or workaround currently provided.

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 yet.

References
History

Tue, 11 Aug 2026 17:30:00 +0000

Type Values Removed Values Added
First Time appeared Friendica
Friendica friendica
Vendors & Products Friendica
Friendica friendica

Tue, 11 Aug 2026 16:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Tue, 11 Aug 2026 11:30:00 +0000

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'}


Subscriptions

Friendica Friendica
cve-icon MITRE

Status: PUBLISHED

Assigner: TuranSec

Published:

Updated: 2026-08-11T15:12:00.244Z

Reserved: 2026-08-10T10:32:49.081Z

Link: CVE-2026-72550

cve-icon Vulnrichment

Updated: 2026-08-11T15:11:48.674Z

cve-icon NVD

Status : Received

Published: 2026-08-11T12:17:40.607

Modified: 2026-08-11T16:17:35.357

Link: CVE-2026-72550

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-11T17:45:09Z

Weaknesses
  • CWE-89

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