CVE-2026-120633
published medium CVSS 3.1 · 6.1CGI versions before 5.00 for Perl trust the client X-Forwarded-Host header in url, self_url, virtual_host and virtual_port
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Not stated | — | CGI0 to < 5.00 · Other versions: unaffected | Affected | Not stated | CPANSec |
| Amazon Linux | AL2 | Release evaluationALAS2-2026-4140 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-3436 | Fixed | Not stated | Amazon Linux assessment |
| Alpine Linux | edge | perl-cgi | Fixed | 5.02-r0 | Package fix record |
| SUSE / openSUSE | openSUSE-Tumbleweed | perl-CGIaarch64 | Advisory build | 5.20.0-1.1 | OPENSUSE-SU-2026:12465-1 |
| Amazon Linux | AL2 | perl-CGInoarch | Listed in advisory | Not stated | ALAS2-2026-4140 |
| SUSE / openSUSE | openSUSE-Tumbleweed | perl-CGIppc64le | Advisory build | 5.20.0-1.1 | OPENSUSE-SU-2026:12465-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | perl-CGIs390x | Advisory build | 5.20.0-1.1 | OPENSUSE-SU-2026:12465-1 |
Show 4 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | perl-CGIx86_64 | Advisory build | 5.20.0-1.1 | OPENSUSE-SU-2026:12465-1 |
| Amazon Linux | AL2 | perl-CGIsrc | Listed in advisory | Not stated | ALAS2-2026-4140 |
| Amazon Linux | AL2023 | perl-CGInoarch | Listed in advisory | Not stated | ALAS2023-2026-3436 |
| Amazon Linux | AL2023 | perl-CGIsrc | Listed in advisory | Not stated | ALAS2023-2026-3436 |
Description
CGI versions before 5.00 for Perl trust the client X-Forwarded-Host header in url, self_url, virtual_host and virtual_port. These take the host name and port from the X-Forwarded-Host request header when present, and otherwise from Host, without validating either. The URLs from url and self_url are the default redirect location and the start_html(-base=>1) base href, and the default start_form action when REQUEST_URI is not set. A client can poison shared caches, and URLs the application stores or sends, with redirects, links and scripts that point at a host it controls.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.1 / 10
- Severity
- medium
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| CGI | 0 to < 5.00 (affected · custom)Default: unaffected | CPANSec · cna |
Weaknesses
2- CWE-348 CWE-348 Use of Less Trusted Source
- CWE-601 CWE-601 URL Redirection to Untrusted Site ('Open Redirect')
References
3Provider assertions
2CPANSec · cna
CGI versions before 5.00 for Perl trust the client X-Forwarded-Host header in url, self_url, virtual_host and virtual_port
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 3370d79fc122a0f87103f36d90622a8dc153900ba40f0da4961ba385dfdf7f2e
- Ingested
- 09 Nov 2026, 18:59:49 UTC
- Source record
- Official CVE record