Cyber Resilience

CVE-2026-55599

SSRF in Phpseclib 0.1.1 – 1.0.30

Public PoCSSRF
Published
22 June 2026
Modified
26 June 2026
Patch / advisory
CVSS Score v3.1 5.8
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N
EPSS Score 0.0016 5th percentile
Risk Priority 35 floored blend · peak EPSS

Summary

CVE-2026-55599 is a medium-severity SSRF (CWE-918) vulnerability in Phpseclib Phpseclib. Its CVSS base score is 5.8 (Medium).

Operationally, exploitation aligns with the MITRE ATT&CK technique Cloud Instance Metadata API (T1552.005); ranked at the 5th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

The strongest mitigations our analysis identified map to AC-4 (Information Flow Enforcement) and SC-7 (Boundary Protection) — see the control section below for these in your framework.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

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…

more

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.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise TechniquesAI

T1552.005 Cloud Instance Metadata API Credential Access
Adversaries may attempt to access the Cloud Instance Metadata API to collect credentials and other sensitive data.
Why these techniques?

SSRF in certificate validation directly enables access to cloud instance metadata endpoints (e.g., 169.254.169.254) and internal hosts.

Confidence: MEDIUM · MITRE ATT&CK Enterprise v19.0

CVEs Like This One

CVE-2026-40194Same product: Phpseclib Phpseclib
CVE-2023-27560Same product: Phpseclib Phpseclib
CVE-2023-52892Same product: Phpseclib Phpseclib
CVE-2026-32935Same product: Phpseclib Phpseclib
CVE-2023-49316Same product: Phpseclib Phpseclib
CVE-2026-33237Shared CWE-918
CVE-2026-49876Shared CWE-918
CVE-2026-33679Shared CWE-918
CVE-2026-63107Shared CWE-918
CVE-2026-42858Shared CWE-918

Affected Assets

phpseclib
phpseclib
0.1.1 — 1.0.30 · 2.0.0 — 2.0.55 · 3.0.0 — 3.0.54

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)
  • SC-7 Boundary Protection
  • AC-4 Information Flow Enforcement
  • CM-7 Least Functionality
Detect
Catch it (NIST detect / respond)

Harden
Shrink the surface (DISA STIG)

Validate
Prove the fix (OWASP ASVS)
  • V1.3.6
  • V1.5.3
  • V5.3.2
  • V10.4.7

Mitigating Controls (NIST 800-53 r5) AI

prevent

Boundary protection rules can explicitly block the library-initiated outbound connections to internal-only addresses (127.0.0.1, 169.254.169.254, RFC 1918) that the AIA SSRF attempts to reach.

prevent

Information flow enforcement policies can deny the untrusted certificate-driven connection to arbitrary AIA URLs before the phpseclib fetch occurs.

prevent

Least functionality configuration can disable the insecure default URL-fetch behavior inside X509::validateSignature() so that AIA extensions are never followed.

Mitigating Controls (NIST CSF 2.0) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→CSF cross-walk (authority under review) — links open the control.

PR.PS-06 mostly match
prevents

Secure development practices directly include input validation and destination allow-listing that prevent SSRF.

DE.CM-09 partial match
prevents

Runtime monitoring of web applications and services can detect anomalous outbound requests indicative of SSRF.

ID.RA-01 partial match
prevents

Vulnerability identification processes can discover and record SSRF flaws in web applications.

PR.IR-01 partial match
prevents

Network segmentation and egress controls can limit the damage from successful SSRF requests.

Mitigating Controls (ISO/IEC 27001:2022 Annex A) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→ISO cross-walk (authority under review) — links open the control.

prevents

Operational threat data describing SSRF campaigns can be used to tighten outbound-request allow-lists and detection rules before attackers exploit them.

References