CVE-2026-55599 PUBLISHED

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

Assigner: GitHub_M
Reserved: 16.06.2026 Published: 22.06.2026 Updated: 23.06.2026

phpseclib is a PHP secure communications library. From 0.1.1 until 1.0.30, 2.0.55, and 3.0.54, 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. This vulnerability is fixed in 1.0.30, 2.0.55, and 3.0.54.

Metrics

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

Product Status

Vendor phpseclib
Product phpseclib
Versions
  • Version >= 0.1.1, < 1.0.30 is affected
  • Version >= 2.0.0, < 2.0.55 is affected
  • Version >= 3.0.0, < 3.0.54 is affected

References

Problem Types

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