Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. phpseclib/phpseclib
  4. ›
  5. GHSA-m557-wrgg-6rp4

GHSA-m557-wrgg-6rp4: phpseclib: X.509 certificate validation sends attacker-controlled outbound requests (server-side request forgery) via Authority Information Access

June 16, 2026 (updated July 8, 2026)

When an application validates an untrusted X.509 certificate with phpseclib, X509::validateSignature() reads a URL out of that certificate’s Authority Information Access (AIA) extension and connects to it. Attacker who supplies certificate fully controls host, port, and path of that connection. URL fetching is enabled by default, and no destination is blocked. An unauthenticated attacker can therefore make a validating server open connections to internal hosts and ports it should never reach, for example loopback 127.0.0.1, cloud metadata address 169.254.169.254, and internal-only services. This is a server-side request forgery (SSRF) caused by an insecure default. It is reproducible on current released LTS 3.0.53 and on 4.0 development line.

References

  • github.com/advisories/GHSA-m557-wrgg-6rp4
  • github.com/phpseclib/phpseclib/security/advisories/GHSA-m557-wrgg-6rp4
  • nvd.nist.gov/vuln/detail/CVE-2026-55599

Code Behaviors & Features

Detect and mitigate GHSA-m557-wrgg-6rp4 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 0.1.1 before 1.0.30, all versions starting from 2.0.0 before 2.0.55, all versions starting from 3.0.0 before 3.0.54

Fixed versions

  • 1.0.30
  • 2.0.55
  • 3.0.54

Solution

Upgrade to versions 1.0.30, 2.0.55, 3.0.54 or above.

Impact 5.8 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-918: Server-Side Request Forgery (SSRF)

Source file

packagist/phpseclib/phpseclib/GHSA-m557-wrgg-6rp4.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sat, 18 Jul 2026 00:23:47 +0000.