Skip to main content

PeerTube CVE-2026-73211

| EUVDEUVD-2026-56786 CRITICAL
SQL Injection (CWE-89)
2026-08-11 security-advisories@github.com
9.8
CVSS 3.1 · Vendor: github
View

Attack ChainAIDerived

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

  1. Access
    Stand up malicious ActivityPub server
  2. Delivery
    Send federated actor with SQLi inboxUrl
  3. Exploit
    Trigger updateScore() UPDATE query
  4. Execution
    Inject SQL to read oAuthToken.accessToken
  5. Impact
    Impersonate 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.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 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

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

PeerTube < 8.1.6

Affected Packages

euvd peertube fix: 8.1.6

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

Vendor (github) 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 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.

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 (github).

CVSS VectorVendor: github

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

Lifecycle Timeline

2
Patch available
Aug 11, 2026 - 18:49 EUVD
CVE Published
Aug 11, 2026 - 18:18 cve.org
CRITICAL 9.8

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

Why It Matters

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.

Business Impact: Severe
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.4%
Top 68% exploitable
Prevalence
Low
niche self-hosted federated video platform, modest fediverse footprint
Data Quality
7 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 Yes
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