CVE-2026-22781 Details
Description
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.
A critical OS command injection vulnerability has been identified in TinyWeb HTTP Server versions prior to 1.98. The issue arises in the CGI ISINDEX query handling, where query parameters are passed as command-line arguments to the CGI executable without proper sanitization. This allows unauthenticated remote attackers to inject Windows shell metacharacters through HTTP requests, executing arbitrary commands on the server. The vulnerability is present in all versions from 0.5 up to 1.97.
Users are advised to upgrade to TinyWeb version 1.98 or later, where this vulnerability has been fixed. If an upgrade is not possible, remove or disable all CGI scripts from the 'cgi-bin' directory.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jan 12, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-78 | Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| ritlabs tinyweb | < 1.98 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jan 16, 2026 | Initial Analysis | [email protected] |
| Jan 12, 2026 | New CVE Received | [email protected] |