# CVE-2026-22781: TinyWeb CGI Command Injection

- Severity: Critical 10.0 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.44%, higher than 84% of CVEs (2026-12-01)
- Published: 2026-01-12T18:23:00.512Z
- Modified: 2026-06-17T10:20:24.913Z
- Weaknesses: CWE-78
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- maximmasiutin TinyWeb: < 1.98
- ritlabs tinyweb: before 1.98

## Every score

- GitHub_M: CVSS:4.0 10.0 Critical `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/maximmasiutin/TinyWeb/security/advisories/GHSA-m779-84h5-72q2> (third-party-advisory)
- <https://github.com/maximmasiutin/TinyWeb/commit/876b7e2887f4ea5be3e18bb2af7313f23a283c96> (patch)
- <https://www.masiutin.net/tinyweb-cve-2025-cgi-command-injection.html> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-22781](https://www.cve.org/CVERecord?id=CVE-2026-22781), CVE Terms of Use, modified 2026-01-12
- NVD: [CVE-2026-22781](https://nvd.nist.gov/vuln/detail/CVE-2026-22781), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-22781 · Whole record: https://cve.day/CVE-2026-22781.json · Rebuilt by cve.day 2026-11-25T22:59:12.734Z
