Skip to main content

Tinyweb CVE-2026-22781

CRITICAL
OS Command Injection (CWE-78)
2026-01-12 security-advisories@github.com
9.8
CVSS 3.1 · GitHub Advisory
View

Attack ChainAIDerived

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

  1. Access
    Send HTTP request with malicious ISINDEX query parameter
  2. Exploit
    TinyWeb passes parameter as command-line argument to CGI executable
  3. Execution
    Windows shell interprets metacharacters in CreateProcess()
  4. Impact
    Execute arbitrary OS commands with server privileges

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization OS command sanitization, avoid shell exec
MITRE ATT&CK

2 techniques across 1 tactic: Execution

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

Exploitation Conditions

TinyWeb HTTP Server version 1.97 or earlier with CGI ISINDEX-style query parameter handling enabled. No authentication required; default configurations are vulnerable to remote unauthenticated exploitation.

Impact

CVSS 9.8 (Critical). No auth, network vector, low complexity. EPSS 0.56%. Windows CGI command injection is a well-known attack vector. Patch available.

Exploit ScenarioDerived

An attacker requests /cgi-bin/prog.exe?arg1&malicious.exe to trigger execution of injected commands through the CreateProcess() call.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.6% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Mar 12, 2026

TinyWeb HTTP Server before 1.98 has OS command injection via CGI ISINDEX query parameters. The query string is passed as command-line arguments to CGI executables through Windows CreateProcess(), allowing unauthenticated RCE. Patch available.

Earlier versions of this analysis (1)
v1 Mar 12, 2026 - 21:54 CVSS 9.8

TinyWeb HTTP Server allows unauthenticated command injection through CGI ISINDEX query parameters on Windows.

RemediationAI

Update to TinyWeb 1.98 or later.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

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

Technical ContextAI · show details

ISINDEX-style query parameters are passed as command-line arguments to CGI programs via Windows CreateProcess() (CWE-78). An attacker can inject Windows shell metacharacters to execute arbitrary commands alongside the intended CGI invocation.

Know when Tinyweb gets its next vulnerability

  • 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

GitHub Advisory PRIMARY 9.8 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Primary rating from GitHub Advisory · only source for this CVE.

CVSS VectorGitHub Advisory

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

Lifecycle Timeline

2
Patch released
Jan 16, 2026 - 18:44 nvd
Patch available
CVE Published
Jan 12, 2026 - 19:16 nvd
CRITICAL 9.8

DescriptionGitHub Advisory

TinyWeb is a web server (HTTP, HTTPS) written in Delphi for Win32. TinyWeb HTTP Server before version 1.98 is vulnerable to OS command injection via CGI ISINDEX-style query parameters. The query parameters are passed as command-line arguments to the CGI executable via Windows CreateProcess(). An unauthenticated remote attacker can execute arbitrary commands on the server by injecting Windows shell metacharacters into HTTP requests. This vulnerability is fixed in 1.98.

Executive ViewAI

Why It Matters

Organizations using Delphi for Win32. TinyWeb HTTP Server face critical risk from CVE-2026-22781, a OS command injection vulnerability rated CVSS 9.8. Successful exploitation could allow attackers to execute arbitrary code or commands on affected systems, potentially leading to full system compromise. A patch is available and should be applied immediately given the critical severity.

Business Impact: Severe
Compensating Controls

Apply vendor patch. If immediate patching is not feasible: (1) Deploy WAF rules to block injection patterns; (2) Restrict network access to affected components; (3) Enable enhanced logging for suspicious activity.

Threat Intelligence Overview

EPSS Score
0.6%
Top 32% exploitable
Data Quality
4 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 CRITICAL
CISA KEV No
Public POC No
EPSS 0.6%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
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
Out-of-Cycle
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
Very High

Priority Score

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

Attack Technique

OS command injection occurs when an application passes unsanitized user input directly into system shell commands.

Affected Products (CPE)GitHub Advisory

cpe:2.3:a:ritlabs:tinyweb:*:*:*:*:*:*:*:*
CVE-2026-67185 HIGH POC
8.7 Jul 28

Path traversal in TinyWeb through 0.0.8 allows unauthenticated remote attackers to read arbitrary files from the server'

CVE-2026-67184 HIGH POC
8.7 Jul 28

Null pointer dereference in TinyWeb 0.0.8 and earlier allows unauthenticated remote attackers to crash worker processes

CVE-2026-67183 HIGH POC
8.7 Jul 28

Memory exhaustion vulnerability in TinyWeb HTTP server (through 0.0.8) enables unauthenticated remote attackers to cause

CVE-2024-34199 HIGH POC
8.6 May 14

TinyWeb 1.94 and below allows unauthenticated remote attackers to cause a denial of service (Buffer Overflow) when sendi

CVE-2026-27613 CRITICAL
9.8 Feb 25

Unauthenticated command injection in TinyWeb HTTP/HTTPS server for Win32 before 2.01 allows remote attackers to execute

CVE-2024-5193 MEDIUM POC
5.5 May 22

A security vulnerability has been detected in Ritlabs TinyWeb Server 1.94. Rated medium severity (CVSS 5.5), this vulner

CVE-2026-28497 CRITICAL
9.1 Mar 06

Integer overflow in TinyWeb before 2.03.

CVE-2026-29046 HIGH
8.2 Mar 06

TinyWeb versions prior to 2.04 fail to properly sanitize control characters and encoded sequences (CR, LF, NUL) in HTTP

CVE-2026-27633 HIGH
7.5 Feb 26

TinyWeb versions prior to 2.02 are vulnerable to denial of service through memory exhaustion when unauthenticated attack

CVE-2026-27630 HIGH
7.5 Feb 26

TinyWeb versions prior to 2.02 lack connection limits and request timeouts, enabling unauthenticated remote attackers to

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