Skip to main content

libks CVE-2026-49846

| EUVDEUVD-2026-76756 HIGH
Path Traversal (CWE-22)
2026-09-11 security-advisories@github.com
7.5
CVSS 3.1 · Vendor: github
View

Attack ChainAIDerived

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

  1. Access
    Send oversized multi-segment URI
  2. Delivery
    Exhaust clean_uri() canonicalization buffer
  3. Exploit
    Traversal sequences survive unfiltered
  4. Execution
    Consumer joins URI with filesystem base path
  5. Impact
    Read arbitrary file outside document root

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK

2 techniques across 2 tactics: Discovery, Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

No authentication is required and no special client state is needed - the vulnerability is reachable via any HTTP request processed by a libks-based application. The critical prerequisite is that the consuming application must join the URI returned by clean_uri() with a filesystem path; applications that use the parsed URI for routing only without filesystem I/O are not vulnerable to file disclosure. The flaw is also bounded to libks versions prior to 2.0.11; deployments already on 2.0.11 or later are not affected. Network-level access to the service port is required, but no credentials, session tokens, or prior reconnaissance are needed beyond identifying a target running a vulnerable libks consumer.

Impact

The CVSS 3.1 vector AV:N/AC:L/PR:N/UI:N places this firmly in the remotely exploitable, zero-friction category - no credentials, no user interaction, and no special network position required. Confidentiality impact is rated High while Integrity and Availability are None, consistent with a read-only path traversal. EPSS data is not present in the available intelligence, so exploitation probability cannot be quantified beyond the CVSS signal. The vulnerability has not been added to CISA KEV, and no POC has been identified, suggesting it has not yet seen opportunistic exploitation in the wild. However, the low attack complexity and the fact that libks underlies multiple SignalWire communication products means even a mid-sized municipal IT team in bytom running self-hosted signaling infrastructure should treat this as a priority patch rather than a deferred backlog item. The primary limiting factor is deployment footprint: libks is a niche library, so aggregate exposure is bounded by the relatively small population of systems built on SignalWire's C SDK.

Exploit ScenarioDerived

An attacker sends an HTTP request to a libks-based service with a URI crafted to contain a large number of path segments interspersed with .. sequences - for example, /a/b/c/.../../../../../../../etc/passwd. The clean_uri() function exhausts its canonicalization buffer and silently returns the URI with the traversal sequences intact. A downstream handler joins this URI with the application's document root, resolving to a path outside the intended directory and returning the contents of the targeted file to the attacker. No POC has been publicly released, but the exploit mechanics are straightforward given the low complexity CVSS rating.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.3% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Sep 11, 2026

Path traversal in SignalWire's libks HTTP request parser exposes consumers to arbitrary file read. The clean_uri() function fails to reject oversized URI paths - when the path contains more segments than the internal canonicalization buffer accommodates, embedded .. sequences survive unfiltered into any downstream code that joins the URI with a filesystem path. Unauthenticated remote attackers can exploit this against any application built on libks prior to 2.0.11. No public exploit code has been identified at time of analysis, but the CVSS 3.1 score of 7.5 (C:H) reflects the potential for full confidentiality loss through arbitrary file traversal.

RemediationAI

Upgrade libks to version 2.0.11, which patches clean_uri() to reject URIs whose path segment count exceeds the internal canonicalization buffer capacity. The fix is documented in the GitHub security advisory GHSA-684h-wjm9-2p6j (https://github.com/signalwire/libks/security/advisories/GHSA-684h-wjm9-2p6j). For operators who cannot immediately upgrade, a compensating control is to place a reverse proxy or WAF upstream of any libks-based service and configure URI normalization rules that reject or strip excess .. segments before they reach the application - though this adds operational overhead and does not fix the underlying library defect. Applications that do not join libks-parsed URIs with filesystem paths are not exposed to this specific impact, so auditing consumer code paths is also advisable as a triage step while the upgrade is scheduled.

Affected VersionsENISA

libks < 2.0.11

Affected Packages

euvd libks fix: 2.0.11

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

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

Technical ContextAI · show details

libks is a foundational C library maintained by SignalWire (cph. signalwire/libks on GitHub) that provides core primitives - including HTTP request parsing - for SignalWire's C-based communication products. The flaw resides in clean_uri(), the function responsible for canonicalizing URI paths by resolving .. and . segments before passing them to consumers. The canonicalization operates against a fixed-size internal buffer; when a crafted URI path contains more segments than this buffer can hold, the overflow causes the function to silently pass the raw, uncleaned URI through. CWE-22 (Improper Limitation of a Pathname to a Restricted Directory) directly describes this root cause: the library fails to enforce that a resolved path remains within the intended directory boundary. Any consumer that subsequently concatenates the returned URI with a base filesystem path is then vulnerable to directory traversal.

Know when the next one hits your stack

  • 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 (github) PRIMARY 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
vuln.today AI 7.5 HIGH

Network-reachable HTTP parser, no auth or interaction required; impact is read-only file disclosure, so I:N and A:N are appropriate.

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

Primary rating from Vendor (github).

CVSS VectorVendor: github

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

Lifecycle Timeline

2
Patch available
Sep 11, 2026 - 23:04 EUVD
CVE Published
Sep 11, 2026 - 22:16 cve.org
HIGH 7.5

DescriptionCVE.org

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.

Technical POC Analysis

CWE-22 (path traversal) with the underlying defect being CWE-697 (incorrect comparison), in cleanuri() in src/kws.c of libks.

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

SignalWire's libks library, commonly embedded in enterprise communications platforms and VoIP systems, exposes organizations to uncontrolled access of sensitive files including configuration data, credentials, and application logs. No vendor patch is currently available, leaving organizations with vulnerable deployments at immediate risk of data breaches. Affected systems can suffer confidentiality compromises spanning configuration secrets, database credentials, and proprietary application data.

Business Impact: High
Compensating Controls

Implement network segmentation to restrict HTTP access to libks-based services from untrusted sources. Deploy Web Application Firewall rules to reject HTTP requests with excessively long or malformed URI paths. Enable comprehensive HTTP request logging and anomaly detection to identify exploitation attempts targeting path traversal patterns. Apply application-level input validation and URI length restrictions if libks is embedded in internal services.

Threat Intelligence Overview

EPSS Score
0.3%
Top 73% exploitable
Prevalence
Low
niche C library for SignalWire communication products only
Social Media
2
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 HIGH
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.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
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
High

Priority Score

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

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

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