CVE-2026-55599
phpseclib: X.509 certificate validation sends attacker-controlled outbound requests (server-side request forgery) via Authority Information Access
Also known as GHSA-m557-wrgg-6rp4
Mitigation
- Upgrade phpseclib/phpseclib to one of 1.0.30, 2.0.55, 3.0.54 (or later in the same release line).
Who should check
- Projects that depend on Packagist package phpseclib/phpseclib (>= 0.1.1, < 1.0.30)
- Anyone running phpseclib >= 0.1.1, < 1.0.30; >= 2.0.0, < 2.0.55; >= 3.0.0, < 3.0.54
Vulnerability facts
- Affected
- phpseclib/phpseclib >= 0.1.1, < 1.0.30
- Fixed in
- 1.0.30, 2.0.55, 3.0.54
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 5.8 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: None
- Scope: Changed (impact reaches other components)
- Confidentiality impact: Low
- Integrity impact: None
- Availability impact: None
- EPSS
- 0.21% chance of exploitation in 30 days (percentile 7, 2026-11-26)
- CWE
- CWE-918
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Packagist phpseclib/phpseclib | >= 0.1.1, < 1.0.30 | 1.0.30, 2.0.55, 3.0.54 | osv |
| phpseclib | >= 0.1.1, < 1.0.30; >= 2.0.0, < 2.0.55; >= 3.0.0, < 3.0.54 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-55599. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-55599.md Affected: phpseclib/phpseclib >= 0.1.1, < 1.0.30 Fixed in: 1.0.30, 2.0.55, 3.0.54 Steps: 1. Search this machine and project for phpseclib/phpseclib (Packagist), phpseclib: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
FAQ
Is CVE-2026-55599 being exploited?
There is no confirmed exploitation: CVE-2026-55599 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.21% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-55599?
Medium: CVSS 5.8 (v3.1, scored by CNA). Remote, no login needed.
Which versions are affected by CVE-2026-55599?
phpseclib/phpseclib >= 0.1.1, < 1.0.30.
Is there a fix for CVE-2026-55599?
Yes. Fixed in 1.0.30, 2.0.55, 3.0.54. Upgrade phpseclib/phpseclib to one of 1.0.30, 2.0.55, 3.0.54 (or later in the same release line).
How do I check if I'm affected by CVE-2026-55599?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.