Security mailing lists by PureSourceCode

CVE-2026-55599

MEDIUM 5.8CVSS 3.1

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.

Published
22 Jun 2026
Last modified
10 Sep 2026
Assigned by
security-advisories@github.com
NVD status
Analyzed
Weakness
CWE-918
Also known as
GHSA-m557-wrgg-6rp4
Sources
NVDJSONOSV GHSA-m557-wrgg-6rp4JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 MEDIUM 5.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N
OSV GitHub CVSS 3.1 MEDIUM 5.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD phpseclib phpseclib
cpe:2.3:a:phpseclib:phpseclib:*:*:*:*:*:*:*:*
>= 0.1.1, < 1.0.30 1.0.30
NVD phpseclib phpseclib
cpe:2.3:a:phpseclib:phpseclib:*:*:*:*:*:*:*:*
>= 2.0.0, < 2.0.55 2.0.55
NVD phpseclib phpseclib
cpe:2.3:a:phpseclib:phpseclib:*:*:*:*:*:*:*:*
>= 3.0.0, < 3.0.54 3.0.54
OSV Packagist phpseclib/phpseclib >= 0.1.1, < 1.0.30 1.0.30
OSV Packagist phpseclib/phpseclib >= 2.0.0, < 2.0.55 2.0.55
OSV Packagist phpseclib/phpseclib >= 3.0.0, < 3.0.54 3.0.54

References

History

  • 25 Nov 2026 21:03 UTC · NVD: first stored (published 22 Jun 2026)
  • 25 Nov 2026 20:15 UTC · OSV: first stored (published 16 Jun 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.