Skip to main content
Vulnerability Database/CVE-2026-110223

CVE-2026-110223: Kavita SSRF Vulnerability

CVE-2026-110223 is a server-side request forgery flaw in Kavita versions 0.9.0 through 0.9.1.4 that enables authenticated attackers to bypass security controls and probe internal networks. This article covers technical details, affected versions, impact assessment, and recommended mitigation strategies.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-110223 Overview

CVE-2026-110223 is a Server-Side Request Forgery (SSRF) vulnerability [CWE-918] affecting Kavita versions 0.9.0 through 0.9.1.4. The flaw resides in the POST /api/Cbl/upload-cbl-file endpoint, which performs URL validation against an SSRF blocklist but revalidates the host inconsistently. Authenticated users can bypass the blocklist using DNS rebinding or HTTPS redirects, causing the server to issue requests to internal addresses after the preflight check passes. The condition enables blind probing of internal ports and services from the Kavita host.

Critical Impact

Authenticated attackers can abuse Kavita as an SSRF proxy to probe internal network services that are not directly reachable from outside.

Affected Products

  • Kavita 0.9.0
  • Kavita versions through 0.9.1.4
  • Kavita.Server CBL upload endpoint (/api/Cbl/upload-cbl-file)

Discovery Timeline

  • 2026-10-13 - CVE-2026-110223 published to NVD
  • 2026-10-14 - Last updated in NVD database

Technical Details for CVE-2026-110223

Vulnerability Analysis

Kavita is a self-hosted digital library server for comics, manga, and books. The CBLController.upload-cbl-file endpoint accepts a user-supplied URL for a Comic Book List file. Before fetching, Kavita validates the URL through logic in FlurlConfiguration.cs that is intended to block private, loopback, and link-local address ranges. The validation is performed once against the hostname, after which the HTTP client resolves and connects to the URL independently.

This time-of-check to time-of-use (TOCTOU) gap allows two bypass techniques. In a DNS rebinding attack, the attacker controls an authoritative name server that returns a public IP during preflight and an internal IP (for example 127.0.0.1 or 169.254.169.254) on the subsequent fetch. In an HTTPS redirect attack, the initial URL resolves to a public host that returns an HTTP 3xx response pointing at an internal address, which the HTTP client follows without re-validation.

Because the HTTP response body is not reflected back to the caller, exploitation is blind. Attackers infer internal state from response timing, connection errors, and server-side logs, enabling port scanning and service fingerprinting of internal infrastructure.

Root Cause

The root cause is incomplete SSRF defense in FlurlConfiguration.cs. The blocklist is enforced at URL parse time rather than at socket connect time, and the HTTP client follows redirects without reapplying the host validation. Authentication is required but trivial in self-hosted deployments where account registration is often enabled.

Attack Vector

An authenticated user submits a crafted URL to POST /api/Cbl/upload-cbl-file. The host either resolves to attacker-controlled DNS with a rebinding configuration, or returns an HTTPS redirect to an internal target such as http://127.0.0.1:8080 or a cloud metadata endpoint. The Kavita backend then issues the outbound request from its own network position. See the HackMD Kavita SSRF Analysis and the VulnCheck Kavita SSRF Advisory for detailed technical analysis.

Detection Methods for CVE-2026-110223

Indicators of Compromise

  • Requests to POST /api/Cbl/upload-cbl-file containing URLs with unusual hostnames or short DNS time-to-live values
  • Outbound connections from the Kavita process to RFC 1918 ranges (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16), loopback, or 169.254.169.254
  • Repeated upload-cbl-file submissions from a single authenticated account targeting varying hostnames

Detection Strategies

  • Alert on Kavita server processes initiating TCP connections to internal subnets outside expected database and storage dependencies
  • Correlate upload-cbl-file API requests with subsequent outbound DNS queries exhibiting rebinding patterns (multiple A records or sub-TTL changes)
  • Inspect application logs for HTTP 3xx redirects followed by requests to private address space

Monitoring Recommendations

  • Enable verbose HTTP client logging on the Kavita backend to capture resolved IPs and redirect chains
  • Monitor egress firewall logs for denied connections sourced from the Kavita host
  • Baseline normal CBL upload destinations and alert on deviations

How to Mitigate CVE-2026-110223

Immediate Actions Required

  • Upgrade Kavita to a release later than 0.9.1.4 once a patched version is published by the maintainers
  • Restrict account creation on self-hosted Kavita instances to trusted users
  • Place Kavita behind an egress proxy that blocks connections to internal address ranges and cloud metadata endpoints

Patch Information

At the time of publication, consult the GitHub Kavita Project repository for the latest release notes. Review the vulnerable logic in FlurlConfiguration.cs and CBLController.cs to confirm fixes resolve the TOCTOU and redirect-following issues.

Workarounds

  • Disable or firewall the /api/Cbl/upload-cbl-file endpoint at the reverse proxy layer if CBL uploads are not required
  • Deploy network segmentation so the Kavita host cannot reach sensitive internal services or cloud metadata APIs
  • Configure the HTTP client or host firewall to deny outbound traffic to loopback, link-local, and RFC 1918 destinations
bash
# Example nginx reverse proxy block for the vulnerable endpoint
location /api/Cbl/upload-cbl-file {
    deny all;
    return 403;
}

# Example iptables egress rules preventing SSRF to internal ranges
iptables -A OUTPUT -m owner --uid-owner kavita -d 127.0.0.0/8 -j REJECT
iptables -A OUTPUT -m owner --uid-owner kavita -d 10.0.0.0/8 -j REJECT
iptables -A OUTPUT -m owner --uid-owner kavita -d 172.16.0.0/12 -j REJECT
iptables -A OUTPUT -m owner --uid-owner kavita -d 192.168.0.0/16 -j REJECT
iptables -A OUTPUT -m owner --uid-owner kavita -d 169.254.169.254 -j REJECT

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.