Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-22781: CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in maximmasiutin TinyWeb

0
Critical
VulnerabilityCVE-2026-22781cvecve-2026-22781cwe-78
Published: Mon Jan 12 2026 (01/12/2026, 18:23:00 UTC)
Source: CVE Database V5
Vendor/Project: maximmasiutin
Product: TinyWeb

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.

AI-Powered Analysis

AILast updated: 01/12/2026, 18:53:22 UTC

Technical Analysis

CVE-2026-22781 is an OS command injection vulnerability identified in the TinyWeb HTTP server, a lightweight web server written in Delphi for Win32 platforms. Versions of TinyWeb prior to 1.98 improperly handle CGI ISINDEX-style query parameters by passing them directly as command-line arguments to CGI executables using the Windows CreateProcess() API. This lack of input sanitization allows attackers to inject Windows shell metacharacters into HTTP requests, enabling execution of arbitrary OS commands on the server. The vulnerability requires no authentication or user interaction, making it remotely exploitable by any attacker with network access to the server. The impact is severe, as arbitrary code execution can lead to full system compromise, data theft, or service disruption. The vulnerability is classified under CWE-78 (Improper Neutralization of Special Elements used in an OS Command) and has a CVSS 4.0 base score of 10.0, reflecting its critical nature with high impact on confidentiality, integrity, and availability. Although no known exploits have been reported in the wild, the straightforward exploitation method and critical severity necessitate urgent remediation. The vendor has addressed the issue in TinyWeb version 1.98, which properly sanitizes input parameters to prevent command injection.

Potential Impact

For European organizations, this vulnerability poses a significant risk, particularly for those using TinyWeb servers in production environments or exposing them to the internet. Successful exploitation can lead to complete compromise of affected servers, allowing attackers to execute arbitrary commands, potentially leading to data breaches, ransomware deployment, lateral movement within networks, or disruption of critical services. Given the unauthenticated and remote nature of the exploit, attackers can operate stealthily and at scale. Organizations in sectors such as finance, healthcare, government, and critical infrastructure, which often rely on Windows-based web services, are at heightened risk. The vulnerability could also be leveraged to establish persistent footholds or pivot to other internal systems, amplifying the impact. The absence of known exploits in the wild currently provides a window for proactive defense, but the critical severity demands immediate attention to avoid potential future attacks.

Mitigation Recommendations

European organizations should immediately upgrade TinyWeb servers to version 1.98 or later, where the vulnerability is fixed. If upgrading is not immediately feasible, implement network-level controls such as firewall rules to restrict access to the TinyWeb server, limiting exposure to trusted IP addresses only. Disable or restrict CGI ISINDEX functionality if not required, as this is the attack vector. Employ web application firewalls (WAFs) with custom rules to detect and block suspicious query parameters containing shell metacharacters. Conduct thorough audits of all systems running TinyWeb to identify vulnerable instances. Monitor server logs for unusual command execution patterns or unexpected CGI requests. Implement strict input validation and sanitization on any custom CGI scripts or web applications interfacing with TinyWeb. Finally, ensure robust endpoint detection and response (EDR) solutions are in place to detect potential exploitation attempts and respond rapidly.

Need more detailed analysis?Upgrade to Pro Console

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-01-09T18:27:19.388Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 69653fb6da2266e838f91b23

Added to database: 1/12/2026, 6:38:46 PM

Last enriched: 1/12/2026, 6:53:22 PM

Last updated: 1/13/2026, 7:47:19 AM

Views: 12

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console in Console -> Billing for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats