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.

Medium 6.1 Published Updated
Exploited in the wild
Not known
Fix
Available

What is CVE-2026-120638?

CVE-2026-120638 is a medium-severity vulnerability, published on 3 Nov 2026.

Official description

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, //evil.example/ becomes //evil.example/ and sends the user to another host.

Weakness: CWE-601, CWE-180

Which versions are affected by CVE-2026-120638?

How do I fix CVE-2026-120638?

Upgrade to a fixed version.

Is CVE-2026-120638 being exploited?

There is no known exploitation of CVE-2026-120638 in the wild and no public exploit code.

Sources

Also known as AZL-112804, DEBIAN-CVE-2026-120638, DHI-tsoc-7jb5-br5b-6bgp, GHSA-33j8-q94p-w495, UBUNTU-CVE-2026-120638.

Is CVE-2026-120638 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free