# cgi (RubyGems) vulnerabilities

Source: https://junglewise.ai/threats/technologies/cgi  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Updated: 13 November 2026, 03:07 UTC. Rebuilt every hour.  
Data: https://junglewise.ai/threats/technologies/cgi.json  
License: CC BY 4.0 with a link back

Junglewise Threat Intelligence has tracked 6 vulnerabilities in cgi (RubyGems): 0 in the last 7 days and 1 in the last 90 days, 0 of them critical and 0 exploited in the wild. The most recent, CVE-2026-120641, was published on 4 November 2026. 1 vulnerability in the last four weeks, up from none in the four before.

## Counts

- Last 7 days: 0
- Last 30 days: 1
- Last 90 days: 1
- All time: 6 (0 critical, 0 exploited in the wild)

## About cgi (RubyGems)

Ruby gem providing CGI (Common Gateway Interface) support for Ruby applications.

## Latest cgi (RubyGems) vulnerabilities

- [CVE-2026-120641: CGI for Perl path traversal in upload filenames](https://junglewise.ai/threats/cve-2026-120641-cgi-versions-before-5-00-for-perl-return-upload-filenames-with) (info, published 4 Nov 2026)
- [CVE-2025-27220: CGI has Regular Expression Denial of Service (ReDoS) potential in Util#escapeElement](https://junglewise.ai/threats/cve-2025-27220-cgi-has-regular-expression-denial-of-service-redos-potential-in) (low, CVSS 3.1, published 3 Mar 2025)
- [CVE-2025-27219: CGI has Denial of Service (DoS) potential in Cookie.parse](https://junglewise.ai/threats/cve-2025-27219-cgi-has-denial-of-service-dos-potential-in-cookie-parse) (low, CVSS 3.1, published 3 Mar 2025)
- [CVE-2021-33621: HTTP response splitting in CGI](https://junglewise.ai/threats/cve-2021-33621-http-response-splitting-in-cgi) (low, CVSS 3.1, published 19 Nov 2022)
- [CVE-2021-41819: Cookie Prefix Spoofing in CGI::Cookie.parse](https://junglewise.ai/threats/cve-2021-41819-cookie-prefix-spoofing-in-cgi-cookie-parse) (low, CVSS 3.1, published 21 Jan 2022)
- [CVE-2021-41816: Buffer overrun in CGI.escape_html](https://junglewise.ai/threats/cve-2021-41816-buffer-overrun-in-cgi-escape-html) (low, CVSS 3.1, published 14 Dec 2021)

## Most severe cgi (RubyGems) vulnerabilities

- [CVE-2021-41816: Buffer overrun in CGI.escape_html](https://junglewise.ai/threats/cve-2021-41816-buffer-overrun-in-cgi-escape-html) (low, CVSS 3.1, published 14 Dec 2021)
- [CVE-2021-41819: Cookie Prefix Spoofing in CGI::Cookie.parse](https://junglewise.ai/threats/cve-2021-41819-cookie-prefix-spoofing-in-cgi-cookie-parse) (low, CVSS 3.1, published 21 Jan 2022)
- [CVE-2021-33621: HTTP response splitting in CGI](https://junglewise.ai/threats/cve-2021-33621-http-response-splitting-in-cgi) (low, CVSS 3.1, published 19 Nov 2022)
- [CVE-2025-27219: CGI has Denial of Service (DoS) potential in Cookie.parse](https://junglewise.ai/threats/cve-2025-27219-cgi-has-denial-of-service-dos-potential-in-cookie-parse) (low, CVSS 3.1, published 3 Mar 2025)
- [CVE-2025-27220: CGI has Regular Expression Denial of Service (ReDoS) potential in Util#escapeElement](https://junglewise.ai/threats/cve-2025-27220-cgi-has-regular-expression-denial-of-service-redos-potential-in) (low, CVSS 3.1, published 3 Mar 2025)
- [CVE-2026-120641: CGI for Perl path traversal in upload filenames](https://junglewise.ai/threats/cve-2026-120641-cgi-versions-before-5-00-for-perl-return-upload-filenames-with) (info, published 4 Nov 2026)

## Vulnerabilities per week

1 vulnerability in the last four weeks, up from none in the four before.

| Week of | Vulns | Critical | Exploited |
| --- | --- | --- | --- |
| 17 Aug 2026 | 0 | 0 | 0 |
| 24 Aug 2026 | 0 | 0 | 0 |
| 31 Aug 2026 | 0 | 0 | 0 |
| 7 Sep 2026 | 0 | 0 | 0 |
| 14 Sep 2026 | 0 | 0 | 0 |
| 21 Sep 2026 | 0 | 0 | 0 |
| 28 Sep 2026 | 0 | 0 | 0 |
| 5 Oct 2026 | 0 | 0 | 0 |
| 12 Oct 2026 | 0 | 0 | 0 |
| 19 Oct 2026 | 0 | 0 | 0 |
| 26 Oct 2026 | 0 | 0 | 0 |
| 2 Nov 2026 | 1 | 0 | 0 |
| 9 Nov 2026 | 0 | 0 | 0 |

## Other RubyGems technologies

- [actionpack (RubyGems)](https://junglewise.ai/threats/technologies/actionpack): 77 vulnerabilities
- [nokogiri (RubyGems)](https://junglewise.ai/threats/technologies/nokogiri): 69 vulnerabilities
- [rack (RubyGems)](https://junglewise.ai/threats/technologies/rack): 55 vulnerabilities
- [activerecord (RubyGems)](https://junglewise.ai/threats/technologies/rubygems-activerecord): 26 vulnerabilities
- [rubygems-update (RubyGems)](https://junglewise.ai/threats/technologies/rubygems-update): 25 vulnerabilities
- [puppet (RubyGems)](https://junglewise.ai/threats/technologies/puppet): 23 vulnerabilities
- [activesupport (RubyGems)](https://junglewise.ai/threats/technologies/activesupport): 20 vulnerabilities
- [actionview (RubyGems)](https://junglewise.ai/threats/technologies/actionview): 19 vulnerabilities
- [activestorage (RubyGems)](https://junglewise.ai/threats/technologies/activestorage): 19 vulnerabilities
- [camaleon_cms (RubyGems)](https://junglewise.ai/threats/technologies/camaleon-cms): 19 vulnerabilities
- [rails-html-sanitizer (RubyGems)](https://junglewise.ai/threats/technologies/rails-html-sanitizer): 18 vulnerabilities
- [loofah (RubyGems)](https://junglewise.ai/threats/technologies/loofah): 17 vulnerabilities

## Sources

NVD, GitHub Security Advisories, OSV, the CISA Known Exploited Vulnerabilities catalog, FIRST EPSS and vendor advisories. Rebuilt every hour. Cite as: Junglewise Threat Intelligence, "cgi (RubyGems) vulnerabilities", https://junglewise.ai/threats/technologies/cgi, 13 November 2026.
