p PatchFirst

CVE-2026-59882

CVE-2026-59882 · guzzlehttp/psr7: Host Confusion via Weak URI Host Validation

This page contains facts from public vulnerability sources. Check the original advisory before updating.

guzzlehttp/psr7 is a PSR-7 HTTP message library implementation in PHP. Prior to 2.12.3, Uri::assertValidHost() does not reject URI host components containing authority delimiters, embedded ports, or malformed IPv6 brackets, allowing Uri::getHost() to disagree with the URI authority used for security or routing decisions. This issue is fixed in version 2.12.3.

CVSS 4.2 · Medium · EPSS 0.3% · Fix available

Published
Updated

Stack: system · php

Affected products and versions

  • psr7

    Versions
    • < 2.12.3: Affected

    No fix published

  • php-guzzlehttp-psr7 Debian:12

    Versions
    • 2.10.3-1
    • 2.10.4-1
    • 2.11.0-1
    • 2.12.0-1
    • 2.12.1-1
    • 2.12.3-1
    • 2.12.4-1
    • 2.12.5-1
    • 2.13.0-1
    • 2.13.1-1
    • 2.4.5-1
    • 2.4.5-1+deb12u1
    • 2.5.0-1
    • 2.6.0-1
    • 2.6.1-1
    • 2.6.2-1
    • 2.6.2-2
    • 2.6.2-3
    • 2.7.0-1
    • 2.7.0-2
    • 2.7.0-3
    • 2.7.1-1
    • 2.8.0-1
    • 2.8.0-2
    • 2.9.0-1
    • 2.9.0-2
    • 3.0.0-1
    • 3.1.0-1
    • 3.2.0-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • php-guzzlehttp-psr7 Debian:13

    Versions
    • 2.10.3-1
    • 2.10.4-1
    • 2.11.0-1
    • 2.12.0-1
    • 2.12.1-1
    • 2.12.3-1
    • 2.12.4-1
    • 2.12.5-1
    • 2.13.0-1
    • 2.13.1-1
    • 2.7.1-1
    • 2.7.1-1+deb13u1
    • 2.7.1-1+deb13u2
    • 2.8.0-1
    • 2.8.0-2
    • 2.9.0-1
    • 2.9.0-2
    • 3.0.0-1
    • 3.1.0-1
    • 3.2.0-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • php-guzzlehttp-psr7 Debian:14

    Versions
    • 2.10.3-1
    • 2.10.4-1
    • 2.11.0-1
    • 2.12.0-1
    • 2.12.1-1
    • 2.7.1-1
    • 2.8.0-1
    • 2.8.0-2
    • 2.9.0-1
    • 2.9.0-2
    Affected ranges
    • ECOSYSTEM: < 2.12.3-1

    Update to 2.12.3-1

  • guzzlehttp/psr7 Packagist

    Versions
    • 1.0.0
    • 1.1.0
    • 1.2.0
    • 1.2.1
    • 1.2.2
    • 1.2.3
    • 1.3.0
    • 1.3.1
    • 1.4.0
    • 1.4.1
    • 1.4.2
    • 1.5.0
    • 1.5.1
    • 1.5.2
    • 1.6.0
    • 1.6.1
    • 1.7.0
    • 1.8.0
    • 1.8.1
    • 1.8.2
    • 1.8.3
    • 1.8.4
    • 1.8.5
    • 1.9.0
    • 1.9.1
    • 2.0.0
    • 2.0.0-beta1
    • 2.0.0-rc1
    • 2.1.0
    • 2.1.1
    • 2.1.2
    • 2.10.0
    • 2.10.1
    • 2.10.2
    • 2.10.3
    • 2.10.4
    • 2.11.0
    • 2.11.1
    • 2.12.0
    • 2.12.1
    • 2.12.2
    • 2.2.0
    • 2.2.1
    • 2.2.2
    • 2.3.0
    • 2.4.0
    • 2.4.1
    • 2.4.2
    • 2.4.3
    • 2.4.4
    • 2.4.5
    • 2.5.0
    • 2.5.1
    • 2.6.0
    • 2.6.1
    • 2.6.2
    • 2.6.3
    • 2.7.0
    • 2.7.1
    • 2.8.0
    • 2.8.1
    • 2.9.0
    • 2.9.1
    Affected ranges
    • ECOSYSTEM: < 2.12.3

    Update to 2.12.3

  • php-guzzlehttp-psr7 Ubuntu:16.04:LTS

    Versions
    • 1.1.0-1
    • 1.2.0-1
    • 1.2.1-1
    • 1.2.2-1
    • 1.2.2-1build1
    • 1.2.2-1ubuntu1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • php-guzzlehttp-psr7 Ubuntu:20.04:LTS

    Versions
    • 1.4.2-0.1
    • 1.4.2-0.1+deb10u2build0.20.04.1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • php-guzzlehttp-psr7 Ubuntu:Pro:22.04:LTS

    Versions
    • 1.7.0-1
    • 1.8.3-1
    • 1.8.3-1ubuntu0.1~esm1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • php-guzzlehttp-psr7 Ubuntu:24.04:LTS

    Versions
    • 2.6.0-1
    • 2.6.1-1
    • 2.6.2-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • php-guzzlehttp-psr7 Ubuntu:25.10

    Versions
    • 2.7.0-3
    • 2.7.1-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • php-guzzlehttp-psr7 Ubuntu:26.04:LTS

    Versions
    • 2.7.1-1
    • 2.8.0-1
    • 2.8.0-2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →