Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. actix-web-lab
  4. ›
  5. GHSA-vhj5-x93p-67jw

GHSA-vhj5-x93p-67jw: actix-web-lab has host header poisoning in redirect middleware can generate attacker-controlled absolute redirects

March 11, 2026

actix-web-lab redirect middleware uses request-derived host information to construct absolute redirect URLs (for example, https://{hostname}{path}). In deployments without strict host allowlisting, an attacker can supply a malicious Host header and poison the Location response header, causing open redirect/phishing behavior.

References

  • github.com/advisories/GHSA-vhj5-x93p-67jw
  • github.com/robjtede/actix-web-lab
  • github.com/robjtede/actix-web-lab/commit/142c28b82eb59b67445a859a2a9b75e01a9964ee
  • github.com/robjtede/actix-web-lab/pull/292
  • github.com/robjtede/actix-web-lab/security/advisories/GHSA-vhj5-x93p-67jw

Code Behaviors & Features

Detect and mitigate GHSA-vhj5-x93p-67jw with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 0.26.0

Fixed versions

  • 0.26.0

Solution

Upgrade to version 0.26.0 or above.

Impact 5.4 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-601: URL Redirection to Untrusted Site ('Open Redirect')

Source file

cargo/actix-web-lab/GHSA-vhj5-x93p-67jw.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:49 +0000.