Description
TinyWeb through 0.0.8 contains a path traversal vulnerability that allows unauthenticated attackers to read arbitrary files by submitting ../ sequences in the URL path, which are concatenated directly to the configured web root in HttpBuilder::buildResponse() without normalization, dot-segment removal, or boundary checks. Attackers can craft a single request with ../ sequences that pass through the URL parser unchanged and reach the filesystem call via HttpFile::setFile(), exposing sensitive files such as credential stores and private keys when the server process runs as root.
Published: 2026-07-28
Score: 8.7 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

TinyWeb 0.0.8 contains a path traversal flaw that permits unauthenticated attackers to read any file on the host by sending URL paths with /.. sequences. The server concatenates the raw path to the configured web root in HttpBuilder::buildResponse() without normalizing or removing dot segments, allowing an attacker to access sensitive files such as credential stores and private keys when the service runs as root. The weakness is a classic path traversal defect (CWE-22) with a potential to compromise confidentiality on any installation that does not restrict file access.

Affected Systems

All installations of GeneralSandman TinyWeb through version 0.0.8 are affected. This includes any build where the web root is unprotected and the process runs with elevated privileges. Users who run TinyWeb with root or broader permissions are at greatest risk.

Risk and Exploitability

The CVSS score of 8.7 signals high severity, yet the EPSS score is less than 1 percent and the vulnerability is not listed in CISA KEV, indicating a low calculated exploitation probability. However, because the flaw allows directly reading arbitrary files over the network without authentication, it remains a critical risk for confidentiality. The attack vector is straightforward: an attacker sends a crafted URL containing multiple /.. components that bypass the server’s parsing logic and reach the file system call via HttpFile::setFile().

Generated by OpenCVE AI on August 3, 2026 at 14:44 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update TinyWeb to the latest release or apply the vendor patch that addresses the path traversal flaw.
  • If an immediate upgrade is not possible, run the web server under a non-privileged user account and enforce strict file system permissions to limit access to critical files such as credential stores and private keys.
  • Add a preprocessing layer or reverse proxy that normalizes URL paths, removes dot segments, and enforces a whitelist of allowed directories before requests reach the application.

Generated by OpenCVE AI on August 3, 2026 at 14:44 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 28 Jul 2026 21:00:00 +0000

Type Values Removed Values Added
First Time appeared Generalsandman
Generalsandman tinyweb
Vendors & Products Generalsandman
Generalsandman tinyweb

Tue, 28 Jul 2026 20:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Tue, 28 Jul 2026 17:00:00 +0000

Type Values Removed Values Added
Description TinyWeb through 0.0.8 contains a path traversal vulnerability that allows unauthenticated attackers to read arbitrary files by submitting ../ sequences in the URL path, which are concatenated directly to the configured web root in HttpBuilder::buildResponse() without normalization, dot-segment removal, or boundary checks. Attackers can craft a single request with ../ sequences that pass through the URL parser unchanged and reach the filesystem call via HttpFile::setFile(), exposing sensitive files such as credential stores and private keys when the server process runs as root.
Title TinyWeb 0.0.8 Path Traversal via URL Path Component
Weaknesses CWE-22
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'}

cvssV4_0

{'score': 8.7, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N'}


Subscriptions

Generalsandman Tinyweb
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-07-28T19:34:14.583Z

Reserved: 2026-07-28T16:06:49.773Z

Link: CVE-2026-67185

cve-icon Vulnrichment

Updated: 2026-07-28T19:34:08.779Z

cve-icon NVD

Status : Deferred

Published: 2026-07-28T17:17:08.013

Modified: 2026-07-30T16:41:25.650

Link: CVE-2026-67185

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-03T14:45:04Z

Weaknesses
  • CWE-22

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