Skip to main content

LibreTV CVE-2026-123207

| EUVDEUVD-2026-117652 LOW
Time-of-check Time-of-use (TOCTOU) Race Condition (CWE-367)
2026-11-05 VulnCheck GHSA-55w8-f34c-fr45
2.3
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Authenticate to LibreTV instance
  2. Delivery
    Submit attacker-controlled DNS hostname to /api/proxy
  3. Exploit
    Pass checkUpstreamAllowed with public IP answer
  4. Execution
    Rebind DNS to internal IP at connect
  5. Persist
    Server fetches loopback/metadata endpoint
  6. Impact
    Read internal service response

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture TOCTOU prevention
Exploitation Conditions

Exploitation requires three concrete prerequisites: (1) the attacker must be an authenticated LibreTV user (CVSS PR:L); (2) the attacker must control authoritative DNS for a hostname they submit, so they can return different answers on successive lookups; and (3) they must win the time-of-check/time-of-use race in which checkUpstreamAllowed() sees a public address during validation while fetchWithSafeRedirects() re-resolves the name to an internal address at connection time (the unpinned-resolution window, reflected as AT:P). The exposed sinks are the /api/source/test, /api/proxy, /api/search, and /api/detail endpoints. Limiting factors: authentication is mandatory, control of authoritative DNS is mandatory, the timing race must be won, only LibreTV versions before v2.21.2 are affected, and realized impact depends on the deployment actually having reachable internal services or a cloud metadata endpoint - a hardened or metadata-less environment yields little.

Impact

This is a genuinely low-priority finding, and the signals are consistent rather than conflicting. The vendor-assigned CVSS 4.0 score is 2.3 (Low), reflecting that exploitation requires authentication (PR:L), carries an attack requirement (AT:P) - the DNS-rebinding race between validation and connection that the CWE-367 TOCTOU classification and the description both describe - and yields no impact on the vulnerable system itself (VC:N/VI:N/VA:N), only limited confidentiality impact on a subsequent system (SC:L) such as a reachable internal service or cloud metadata endpoint. The vuln.today decision label is 'monitor,' which aligns with the low score. There is no CISA KEV listing and no EPSS value in the provided data, so exploitation probability cannot be quantified; absence of these is not evidence of safety but there is no signal of active or widespread exploitation. The vulnerability was reported by VulnCheck, who also published an advisory, and a vendor patch is available (v2.21.2). Net: a real but low-severity SSRF-protection bypass gated behind authentication and a timing/DNS-control precondition - patch on a normal cycle, not an emergency.

Exploit ScenarioDerived

An authenticated LibreTV user submits a URL on a domain whose authoritative DNS they control, then supplies /api/source/test (or /api/proxy, /api/search, /api/detail) with that URL. The server's checkUpstreamAllowed() validation resolves the name to a public address and passes, but because fetchWithSafeRedirects() does not pin that resolution, the subsequent connection re-resolves to an attacker-chosen internal address (loopback, private host, or cloud metadata endpoint), letting the attacker read responses from internal services. No public exploit identified at time of analysis; VulnCheck published an advisory describing the technique.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 05, 2026

Authenticated LibreTV users can bypass the application's SSRF guard before v2.21.2 by supplying a hostname under their own authoritative DNS that resolves to a public address during checkUpstreamAllowed() but to a loopback, private, or cloud metadata address when fetchWithSafeRedirects() re-resolves it at connection time. The reachable sinks are the /api/source/test, /api/proxy, /api/search, and /api/detail endpoints. Impact is limited: the attacker must already hold an account, must control authoritative DNS, and must win a time-of-check/time-of-use race, so the assessed vector is CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:N/A:N; there is no KEV listing and no public exploit identified at time of analysis, and the priority decision is monitor.

RemediationAI

Upgrade to LibreTV v2.21.2 or later, which is the vendor-released fix: PR https://github.com/LibreSpark/LibreTV/pull/960 (commit cb4219368b7f6502387a703ef2a781ba763da2b1) adds the undici ^6.21.1 dependency and wraps guarded fetches in runWithSSRFProtection() so the connect-time address is validated rather than only the pre-flight lookup, closing the DNS rebinding window. Confirmed patch URLs are https://github.com/LibreSpark/LibreTV/pull/960, https://github.com/LibreSpark/LibreTV/commit/cb4219368b7f6502387a703ef2a781ba763da2b1 and https://github.com/LibreSpark/LibreTV/releases/tag/v2.21.2. Until the upgrade can be applied, the practical options are to restrict who can register or reach the /api/source/test, /api/proxy, /api/search and /api/detail endpoints, and to run LibreTV in a network segment that cannot reach cloud metadata endpoints or internal management services, since the vendor's complete fix is the updated release. Note that exploitation requires an authenticated account and attacker-controlled authoritative DNS.

Affected VersionsENISA

LibreTV 0 <v2.21.2

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

LibreTV is a Node.js/TypeScript media aggregation front end. Its SSRF defenses live in src/lib/ssrf.ts: checkUpstreamAllowed() validates a candidate URL before the request, and fetchWithSafeRedirects() walks redirects with manual redirect handling, calling that validator at each hop. The design flaw (CWE-367, time-of-check/time-of-use) is that validation and connection each perform their own DNS resolution, and the resolved address is never pinned to the connection. An attacker who controls authoritative DNS for the submitted hostname can answer the validation lookup with a public IP and the connection-time lookup with 127.0.0.1, an RFC1918 address, or a link-local metadata address such as 169.254.169.254, defeating the pre-flight check. The vendor fix in PR #960 wraps guarded fetches in a new runWithSSRFProtection() helper and introduces the undici ^6.21.1 dependency, which supports a custom dispatcher/lookup so the address actually used for the connection can be checked at connect time; blocked connections surface as an ERR_SSRF_BLOCKED cause that normalizeSSRFError() converts into a friendly rejection message, and the added tests in fetch-utils.test.ts specifically cover the case where the underlying connection resolves to a private IP, including when safeRedirects is disabled.

Know when Libretv 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

Vendor (VulnCheck) PRIMARY 2.3 LOW
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:N/SC:L/SI:N/SA:N
vuln.today AI 3.5 LOW

Authenticated user (PR:L) must control DNS and win a resolution race (AC:H); SSRF reaches other systems (S:C) and only reads limited data (C:L), no integrity or availability impact.

3.1 AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:N/A:N
4.0 AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:N/SC:L/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
Low
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

LibreTV before v2.21.2 contains a server-side request forgery vulnerability that allows authenticated users to bypass checkUpstreamAllowed() by exploiting unpinned DNS resolution in fetchWithSafeRedirects(). Attackers controlling authoritative DNS can return public addresses during validation and internal addresses at connection time via /api/source/test, /api/proxy, /api/search or /api/detail to reach loopback services, private hosts or cloud metadata endpoints.

Threat Intelligence Overview

EPSS Score
0.2%
Top 85% exploitable
Prevalence
Low
self-hosted open-source media aggregator, niche hobbyist deployment footprint
Social Media
1
Sightings
Data Quality
5 sources
Confidence: Medium

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 LOW
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
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· derived
Defer
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Low

Priority Score

12
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +12
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy