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

CVE-2026-112358: TiBillet Lespass SSRF Vulnerability

CVE-2026-112358 is a server-side request forgery flaw in TiBillet Lespass that allows attackers to manipulate server requests. This post explains its technical details, affected versions, and mitigation steps.

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-112358 Overview

CVE-2026-112358 is a Server-Side Request Forgery (SSRF) vulnerability in TiBillet Lespass up to commit 10e87909c5d526dffa6d424c104fc12860740537. The flaw resides in the get_img_from_url function within ApiBillet/serializers.py, part of the APIv1 component. Attackers can manipulate the img_url or image_url arguments to coerce the server into issuing requests to unintended destinations. Exploitation requires network access and high privileges, and the vendor rates the attack complexity as high. The vendor confirms that destination IP validation, redirect re-checks, and download timeout/size limits are planned in the forthcoming v2 API, which will replace the affected v1 endpoints.

Critical Impact

Authenticated attackers can trigger server-side HTTP requests to internal or external hosts via unvalidated image URL parameters, potentially exposing internal services or metadata endpoints.

Affected Products

  • TiBillet Lespass up to commit 10e87909c5d526dffa6d424c104fc12860740537
  • APIv1 component (ApiBillet/serializers.py)
  • Three affected v1 serializers scheduled for removal in the next major release

Discovery Timeline

  • 2026-10-19 - CVE-2026-112358 published to the National Vulnerability Database (NVD)
  • 2026-10-20 - Last updated in the NVD database

Technical Details for CVE-2026-112358

Vulnerability Analysis

The vulnerability is classified as Server-Side Request Forgery under CWE-918. TiBillet Lespass accepts a user-supplied image URL and fetches the resource server-side without validating the destination address. The get_img_from_url helper in ApiBillet/serializers.py processes the img_url and image_url parameters supplied through APIv1 serializers.

Because the function performs an outbound HTTP request on behalf of the authenticated user, attackers can target internal network resources that are not externally reachable. The vendor confirms that destination IP validation, redirect re-checks, download timeout enforcement, and size limits are absent from the current implementation. Exploitation requires valid high-privileged credentials, which constrains the attack surface.

Root Cause

The root cause is missing destination validation in the server-side URL fetching logic. The get_img_from_url function trusts user-controlled URL input without filtering private IP ranges, loopback addresses, link-local addresses, or cloud metadata endpoints. The function also does not re-validate the target after HTTP redirects, allowing redirect-based bypass of any client-side checks.

Attack Vector

An authenticated attacker submits a crafted request to an APIv1 endpoint containing an img_url or image_url parameter pointing to an internal resource. The server performs the HTTP fetch and may return response data, headers, or timing information observable to the attacker. The attack is remote over the network but requires high privileges and is reported as difficult to exploit.

For technical specifics, refer to the VulDB entry for CVE-2026-112358 and the associated VulDB Vulnerability #422393.

Detection Methods for CVE-2026-112358

Indicators of Compromise

  • Outbound HTTP requests from TiBillet Lespass application servers to internal IP ranges (RFC1918), loopback (127.0.0.0/8), or link-local (169.254.0.0/16) addresses
  • Application-initiated connections to cloud metadata endpoints such as 169.254.169.254
  • APIv1 serializer calls containing img_url or image_url parameters referencing non-public hosts

Detection Strategies

  • Inspect application logs for calls to get_img_from_url with suspicious URL schemes or private-range destinations
  • Deploy egress monitoring that flags server-originated requests to internal subnets and metadata services
  • Correlate authenticated APIv1 session activity with outbound HTTP traffic from the application host

Monitoring Recommendations

  • Enable verbose logging on APIv1 serializers that accept URL input, capturing requester identity and target URL
  • Alert on redirect chains terminating at internal or metadata endpoints
  • Review access patterns for high-privileged accounts invoking image-upload or image-link functionality

How to Mitigate CVE-2026-112358

Immediate Actions Required

  • Restrict high-privileged account access to APIv1 endpoints that invoke get_img_from_url
  • Place the TiBillet Lespass application behind an egress proxy that blocks requests to private IP ranges and cloud metadata services
  • Audit existing accounts and remove unnecessary high-privilege assignments to reduce the exploitable surface

Patch Information

The vendor has not released a dedicated patch for APIv1. The fix, consisting of destination IP validation, redirect re-checks, timeout enforcement, and remote download size limits, is planned for the v2 API. The vendor states that the v1 API, including the three affected serializers, will be removed in the next major release. Monitor the project repository and the VulDB submission #986821 for updates.

Workarounds

  • Migrate consuming clients to the forthcoming v2 API endpoints when available
  • Enforce network-level egress filtering to block application traffic to RFC1918, loopback, link-local, and metadata address ranges
  • Terminate HTTP redirects at a controlled proxy that re-validates the final destination before allowing the request
bash
# Example egress filter blocking SSRF-relevant destinations (iptables)
iptables -A OUTPUT -m owner --uid-owner tibillet -d 10.0.0.0/8 -j REJECT
iptables -A OUTPUT -m owner --uid-owner tibillet -d 172.16.0.0/12 -j REJECT
iptables -A OUTPUT -m owner --uid-owner tibillet -d 192.168.0.0/16 -j REJECT
iptables -A OUTPUT -m owner --uid-owner tibillet -d 127.0.0.0/8 -j REJECT
iptables -A OUTPUT -m owner --uid-owner tibillet -d 169.254.0.0/16 -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.