---
id: CVE-2026-49846
title: libks provides foundational support for signalwire C products
summary: >-
  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. Th…
severity: high
cvss: 7.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N'
cwe:
  - CWE-22
  - CWE-697
vendor: signalwire
product: libks
affected:
  - libks < 2.0.11
published: '2026-09-11'
updated: '2026-09-15'
sourceUpdated: '2026-09-15T17:17:16.980'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-49846'
references:
  - url: >-
      https://github.com/signalwire/libks/security/advisories/GHSA-684h-wjm9-2p6j
    label: security-advisories@github.com
tags:
  - nvd
  - cve.org
ssvc:
  exploitation: none
  automatable: 'yes'
  technicalImpact: partial
  timestamp: '2026-09-15T16:43:11.022240Z'
epss: 0.00503
epssPercentile: 0.40437
ingestedAt: '2026-09-14T11:11:19.876Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
