CVE-2026-55599: phpseclib: X.509 certificate validation sends attacker-controlled outbound requests (server-side request forgery) via Authority Information Access
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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
phpseclibto a version that resolves this vulnerability.Fixed in 1.0.30 - Upgrade
Upgrade
phpseclibto a version that resolves this vulnerability.Fixed in 2.0.55 - Upgrade
Upgrade
phpseclibto a version that resolves this vulnerability.Fixed in 3.0.54 - Configuration
Disable URL fetching during X.509 certificate validation so X509::validateSignature() does not connect to URLs read from the certificate's Authority Information Access (AIA) extension.
phpseclib (X.509 certificate validation) URL fetching from certificate Authority Information Access (AIA) = disabled
Event History
Frequently Asked Questions
What is the severity of CVE-2026-55599?
CVE-2026-55599 has a medium severity rating of 5.8.
What is CVE-2026-55599?
CVE-2026-55599 is a vulnerability in phpseclib that allows for server-side request forgery through untrusted X.509 certificate validation.
How do I fix CVE-2026-55599?
To mitigate CVE-2026-55599, upgrade phpseclib to a version later than 1.0.30, 2.0.55, and 3.0.54.
What types of applications are affected by CVE-2026-55599?
Applications using phpseclib versions from 0.1.1 to 1.0.30, 2.0.55, and 3.0.54 for X.509 certificate validation are affected.
What kind of attack can CVE-2026-55599 facilitate?
CVE-2026-55599 can facilitate server-side request forgery (SSRF) attacks by allowing unauthorized outbound requests.