{"answers":{"affected":"6 open source packages ship an affected version, including phpseclib/phpseclib. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-55599 exists.","fix":"Upgrade phpseclib/phpseclib to a fixed version for your release line: 1.0.30, 2.0.55 or 3.0.54.","what":"CVE-2026-55599 is a medium-severity server-side request forgery vulnerability in phpseclib, published on 22 Jun 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-55599 and fix it if it is affected.\n\nWhat it is: CVE-2026-55599 is a medium-severity server-side request forgery vulnerability in phpseclib, published on 22 Jun 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-55599 exists.\n\nAffected packages and fixed versions:\n- phpseclib/phpseclib (Packagist): affected from 0.1.1; fixed in 1.0.30\n- phpseclib/phpseclib (Packagist): affected from 0.1.1; fixed in 1.0.30\n- phpseclib/phpseclib (Packagist): affected from 2.0.0; fixed in 2.0.55\n- phpseclib/phpseclib (Packagist): affected from 2.0.0; fixed in 2.0.55\n- phpseclib/phpseclib (Packagist): affected from 3.0.0; fixed in 3.0.54\n- phpseclib/phpseclib (Packagist): affected from 3.0.0; fixed in 3.0.54\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-55599/ (Markdown: https://insights.sbomify.com/CVE-2026-55599/index.md)","id":"CVE-2026-55599","markdown":"https://insights.sbomify.com/CVE-2026-55599/index.md","name":"CVE-2026-55599","record":{"aliases":["DEBIAN-CVE-2026-55599","GHSA-m557-wrgg-6rp4","MINI-27w4-fvmx-4237","MINI-4xrp-5fg3-x828","MINI-m36r-q9v9-2x3c","UBUNTU-CVE-2026-55599"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read","security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"PHP secure communications library","requires_auth":"none","summary":"An attacker can force a server using phpseclib to make unauthorized internal network requests during X.509 certificate validation, potentially accessing sensitive internal services.","user_interaction":"not_required","vuln_class":"ssrf"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"phpseclib","vendor":"phpseclib"}],"cvss":{"score":5.8,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-918","name":"Server-Side Request Forgery"}],"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.","ecosystems":["Packagist"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"phpseclib: X.509 certificate validation sends attacker-controlled outbound requests (server-side request forgery) via Authority Information Access","id":"CVE-2026-55599","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Packagist","product":null,"products":[],"type":"ssrf","year":"2026"},"n_packages":6,"n_references":1,"next":{"headline":"Part-DB: Stored HTML injection in BOM validation results via unescaped Part name","id":"CVE-2026-55600"},"packages":[{"ecosystem":"Packagist","fixed":["1.0.30"],"introduced":["0.1.1"],"last_affected":[],"package":"phpseclib/phpseclib","purl":null,"source":"GHSA-m557-wrgg-6rp4"},{"ecosystem":"Packagist","fixed":["1.0.30"],"introduced":["0.1.1"],"last_affected":[],"package":"phpseclib/phpseclib","purl":"pkg:composer/phpseclib/phpseclib","source":"GHSA-m557-wrgg-6rp4"},{"ecosystem":"Packagist","fixed":["2.0.55"],"introduced":["2.0.0"],"last_affected":[],"package":"phpseclib/phpseclib","purl":null,"source":"GHSA-m557-wrgg-6rp4"},{"ecosystem":"Packagist","fixed":["2.0.55"],"introduced":["2.0.0"],"last_affected":[],"package":"phpseclib/phpseclib","purl":"pkg:composer/phpseclib/phpseclib","source":"GHSA-m557-wrgg-6rp4"},{"ecosystem":"Packagist","fixed":["3.0.54"],"introduced":["3.0.0"],"last_affected":[],"package":"phpseclib/phpseclib","purl":null,"source":"GHSA-m557-wrgg-6rp4"},{"ecosystem":"Packagist","fixed":["3.0.54"],"introduced":["3.0.0"],"last_affected":[],"package":"phpseclib/phpseclib","purl":"pkg:composer/phpseclib/phpseclib","source":"GHSA-m557-wrgg-6rp4"}],"prev":{"headline":"ImageMagick: Heap Buffer Over-Write in JP2 encoder when due to incorrect handling of arguments","id":"CVE-2026-55597"},"products":["phpseclib"],"published":"2026-06-22","related":[{"cvss_score":8.2,"headline":"phpseclib's AES-CBC unpadding susceptible to padding oracle timing attack","id":"CVE-2026-32935","kev_date_added":null,"published":"2026-03-20"},{"cvss_score":7.5,"headline":"Name confusion in x509 Subject Alternative Name fields","id":"CVE-2023-52892","kev_date_added":null,"published":"2024-06-27"},{"cvss_score":7.5,"headline":"Phpseclib needs guardrails on large binaryfield integers","id":"CVE-2023-49316","kev_date_added":null,"published":"2023-11-27"},{"cvss_score":7.5,"headline":"phpseclib Infinite Loop vulnerability","id":"CVE-2023-27560","kev_date_added":null,"published":"2023-03-03"},{"cvss_score":3.7,"headline":"phpseclib has a variable-time HMAC comparison in SSH2::get_binary_packet() using != instead of hash_equals()","id":"CVE-2026-40194","kev_date_added":null,"published":"2026-04-10"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-06-23","vendors":["phpseclib"]},"summary":"An attacker can force a server using phpseclib to make unauthorized internal network requests during X.509 certificate validation, potentially accessing sensitive internal services.","url":"https://insights.sbomify.com/CVE-2026-55599/"}