Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessStand up malicious ActivityPub server
-
DeliverySend federated actor with SQLi inboxUrl
-
ExploitTrigger updateScore() UPDATE query
-
ExecutionInject SQL to read oAuthToken.accessToken
-
ImpactImpersonate and take over administrator account
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 | Exploitation requires that the target PeerTube instance (< 8.1.6) accept ActivityPub federation from the attacker's server and process a follow interaction so that ActorFollowModel.updateScore() runs against the attacker-controlled actor inboxUrl - the injection point is the inboxUrl/sharedInboxUrl value carried in federation metadata. No authentication and no user interaction are needed (PR:N/UI:N). The primary limiting factor is federation reachability: instances that disable federation or enforce an instance allow-list prevent the untrusted remote actor from reaching the vulnerable query; open-federation default deployments have no such barrier. |
| Impact | This is a genuine high-priority issue, not a paper-tiger high CVSS. The CVSS 3.1 vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (9.8) is consistent with the description: an unauthenticated remote server can trigger the code path purely through ActivityPub federation, which is on by default. Impact is severe - read/write DB access plus theft of OAuth access tokens leading to full administrator takeover. No EPSS score, KEV listing, or SSVC decision data was provided, so probability-of-exploitation and automatability cannot be quantified from the input; the risk rating here rests on the CVSS vector, the confirmed code-level root cause, and the public patch/advisory. The main real-world limiter is that exploitation requires the instance to accept and process federation from the attacker's server - trivial on default open-federation deployments, harder where federation is disabled or allow-listed. |
| Exploit ScenarioDerived | An attacker stands up a malicious ActivityPub server and initiates a federation follow toward a target PeerTube instance, presenting an actor whose inboxUrl contains a crafted SQL payload. When PeerTube recalculates the follow score, the payload executes inside the UPDATE query, letting the attacker read oAuthToken.accessToken and hijack an administrator session. No public exploit code was identified, but the fix commit publicly reveals the exact injectable field and query. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 11, 2026
SQL injection in PeerTube's federation layer (versions prior to 8.1.6) lets an unauthenticated remote ActivityPub server read and write arbitrary database tables and seize administrator accounts. The flaw lives in ActorFollowModel.updateScore(), where an attacker-controlled actor inboxUrl is string-interpolated directly into an UPDATE statement; by exfiltrating oAuthToken.accessToken values an attacker can impersonate admins. No public exploit identified at time of analysis, but the fixing commit and GitHub advisory publicly disclose the exact vulnerable code path.
RemediationAI
Vendor-released patch: 8.1.6 - upgrade PeerTube to v8.1.6 or later (a subsequent v8.1.8 release also exists: https://github.com/Chocobozzz/PeerTube/releases/tag/v8.1.6). Operators upgrading from <= v8.0.2 must follow the v8.1.0 IMPORTANT NOTES per the changelog. Because exploitation arrives over ActivityPub federation, an interim compensating control for instances that cannot patch immediately is to disable open federation or restrict following/followers to an explicit allow-list of trusted instances, which blocks untrusted remote actors from reaching the updateScore() path but breaks federation with unlisted peers. After patching, rotate OAuth access tokens and force admin credential resets, since oAuthToken.accessToken values may already have been exposed. Full details are in advisory GHSA-pqr4-34h8-g39x.
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
PeerTube is a Node.js/Sequelize video platform that federates over ActivityPub. When a remote server interacts with follow relationships, PeerTube periodically recalculates follow 'scores' via ActorFollowModel.updateScore(). The vulnerable code built a raw SQL string ('UPDATE "actorFollow" SET "score" = LEAST(...) WHERE "actor"."inboxUrl" = '<inboxUrl>' OR ...') by directly interpolating the actor's inboxUrl, which is supplied by the remote federated server rather than validated locally. This is a textbook CWE-89 SQL injection: untrusted federation metadata reaches a query without parameterization. The fix (commit cc07364) converts the statement to Sequelize bind parameters ($inboxUrl, $value, $maxScore), and the same release hardens a similar raw-query pattern in user-notification.ts.
Know when the next one hits your stack
- 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 remote server reaches the injectable query via default federation (AV:N/AC:L/PR:N/UI:N); arbitrary DB read/write and admin takeover yield C:H/I:H/A:H.
Primary rating from Vendor (github).
CVSS VectorVendor: github
Lifecycle Timeline
2DescriptionCVE.org
PeerTube is an ActivityPub-federated video streaming platform. Prior to 8.1.6, ActorFollowModel.updateScore() interpolates the attacker-controlled ActivityPub actor inboxUrl into an SQL query, allowing an unauthenticated remote server to read and write PeerTube database tables, including oAuthToken.accessToken, and take over administrator accounts. This issue is fixed in version 8.1.6.
Executive ViewAI
PeerTube instances running software versions prior to 8.1.6 are vulnerable to remote SQL injection attacks that allow attackers without authentication to read and write the entire database, compromising administrator accounts and extracting sensitive authentication credentials. Any organization operating PeerTube for video hosting or communications is at risk of administrative account takeover and data exfiltration. Urgent patch deployment is required to prevent security breach.
Apply vendor patch.
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.
EUVD-2026-56786
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB