Description
libks provides foundational support for signalwire C products. Prior to version 2.0.11, `clean_uri()` in libks's HTTP request parser fails to reject URIs whose path has more segments than its internal canonicalization buffer can hold. The canonicalization step silently passes such URIs through with embedded ".." sequences intact, enabling path traversal in any consumer that later joins the URI with a filesystem path. Version 2.0.11 patches the issue.
Published: 2026-09-11
Score: 7.5 High
EPSS: < 1% Very Low
KEV: No
Impact: Path traversal via HTTP URI overflow
Action: Immediate Patch
AI Analysis

Impact

libks is the foundational library for Signalwire's C products, and its HTTP request parser includes a function named clean_uri(). As of versions before 2.0.11, clean_uri() does not reject URIs that contain more path segments than its internal canonicalization buffer can store. The canonicalization step silently passes these malformed URIs through while preserving embedded ".." sequences. When a consuming application later concatenates the URI to a filesystem path, an attacker can traverse directories outside the intended location. Because the vulnerability stems from the library itself, any application using libks before the 2.0.11 fix is susceptible to this path traversal flaw.

Affected Systems

Signalwire products that bundle libks prior to version 2.0.11 are vulnerable. The affected component provides foundational support for Signalwire C products.

Risk and Exploitability

The CVSS score of 7.5 indicates a high‑severity vulnerability, while the EPSS score of less than 1% suggests a low but non‑zero probability of exploitation in the wild. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities catalog. The likely attack vector involves a service that incorporates libks. If the service subsequently appends the malformed URI to a file system path, the attacker could traverse outside the intended directory, leading to unauthorized file access or modification, subject to the privileges of the running process.

Generated by OpenCVE AI on September 15, 2026 at 20:02 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade libks to version 2.0.11 or later, which resolves the URI segment overflow bug
  • After upgrading, verify that any component that appends the URI to a file system path performs additional checks to ensure the resulting path is confined to the intended directory
  • If an immediate patch is not possible, block or validate HTTP of URI segments or reject paths with ".." before they reach libks

Generated by OpenCVE AI on September 15, 2026 at 20:02 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 15 Sep 2026 17:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Sun, 13 Sep 2026 20:30:00 +0000

Type Values Removed Values Added
First Time appeared Signalwire
Signalwire libks
Vendors & Products Signalwire
Signalwire libks

Fri, 11 Sep 2026 23:45:00 +0000

Type Values Removed Values Added
Description libks provides foundational support for signalwire C products. Prior to version 2.0.11, `clean_uri()` in libks's HTTP request parser fails to reject URIs whose path has more segments than its internal canonicalization buffer can hold. The canonicalization step silently passes such URIs through with embedded ".." sequences intact, enabling path traversal in any consumer that later joins the URI with a filesystem path. Version 2.0.11 patches the issue.
Title libks has path traversal in kws HTTP parser via URI segment overflow
Weaknesses CWE-22
CWE-697
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N'}


Subscriptions

Signalwire Libks
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-09-15T16:43:22.708Z

Reserved: 2026-06-01T22:03:19.640Z

Link: CVE-2026-49846

cve-icon Vulnrichment

Updated: 2026-09-15T16:43:17.727Z

cve-icon NVD

Status : Deferred

Published: 2026-09-11T22:16:37.537

Modified: 2026-09-30T17:51:56.193

Link: CVE-2026-49846

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-15T20:15:14Z

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

  • CWE-697

    Incorrect Comparison