---
title: "CVE-2026-120638"
canonical_url: "https://pkgseek.com/security/CVE-2026-120638"
locale: "en"
source: "pkgseek"
entity_type: "cve"
severity: "medium"
---

# CVE-2026-120638

CGI versions before 5.00 for Perl allow open redirects via HTML entity decoding of the URL after application validation in redirect.  redirect decodes HTML entities in its URL before writing the Location header, so a URL the application has already validated can change meaning. For example, /&#47;evil.example/ becomes //evil.example/ and sends the user to another host.

CVE-2026-120638 is rated MEDIUM (6.1), with 10 indexed affected package builds across 3 distributions.

- **Severity / Score**: MEDIUM (6.1)
- **Affected builds**: 10
- **Affected distros**: 3
- **Distros with fixed_in**: Fedora

## Affected Packages

| Distribution | Release | Package | Version | Fixed In |
| --- | --- | --- | --- | --- |
| Debian | trixie | libcgi-pm-perl | 4.68-1 | — |
| Fedora | 43 | perl-CGI | 4.70-2.fc43 | 5.02-1.fc43 |
| Fedora | 43 | perl-CGI-tests | 4.70-2.fc43 | 5.02-1.fc43 |
| Fedora | 44 | perl-CGI | 4.71-2.fc44 | 5.02-1.fc44 |
| Fedora | 44 | perl-CGI-tests | 4.71-2.fc44 | 5.02-1.fc44 |
| Fedora | 45 | perl-CGI | 4.72-2.fc45 | 5.02-1.fc45 |
| Fedora | 45 | perl-CGI-tests | 4.72-2.fc45 | 5.02-1.fc45 |
| Ubuntu | focal | libcgi-pm-perl | 4.46-1 | — |
| Ubuntu | jammy | libcgi-pm-perl | 4.54-1 | — |
| Ubuntu | noble | libcgi-pm-perl | 4.63-1 | — |
