CVE-2026-55599

MEDIUM

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

Title source: cna
STIX 2.1

Description

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.

References (1)

Core 1
Core References

Scores

CVSS v3 5.8
EPSS 0.0016
EPSS Percentile 5.2%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N

CISA SSVC

Vulnrichment
Exploitation poc
Automatable yes
Technical Impact partial

Details

CWE
CWE-918
Status published
Products (7)
phpseclib/phpseclib 0.1.1 - 1.0.30
phpseclib/phpseclib 0.1.1 - 1.0.30Packagist
phpseclib/phpseclib 2.0.0 - 2.0.55Packagist
phpseclib/phpseclib 3.0.0 - 3.0.54Packagist
phpseclib/phpseclib >= 0.1.1, < 1.0.30
phpseclib/phpseclib >= 2.0.0, < 2.0.55
phpseclib/phpseclib >= 3.0.0, < 3.0.54
Published Jun 22, 2026
Tracked Since Jun 23, 2026