CVE-2026-4587: Hybridauth/hybridauth HybridAuth Has Improper SSL Certificate Vulnerability

MODERATE
Advisory Identifier: GHSA-r3hf-q3mf-7h6w
CVSS 3.7
CWE-287
Published
Advisory Summary

CVE-2026-4587 is a MODERATE (CVSS 3.7) hybridauth has improper ssl certificate vulnerability (CWE-287: Improper Authentication) affecting Hybridauth/hybridauth libraries in the Packagist ecosystem. The issue involves hybridauth has improper ssl certificate validation in curl http client. Remediation is available in the latest vendor maintenance releases.

CVE-2026-4587 at a Glance

CVE Identifier CVE-2026-4587
GHSA Identifier GHSA-r3hf-q3mf-7h6w
Severity MODERATE
CVSS v3.1 Base Score 3.7
CWE Classification CWE-287: Improper Authentication
Affected Product Hybridauth/hybridauth
Package Ecosystem Packagist
Published Date
Last Updated

Security Impact

CVSS: 3.7

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N).

Attack Vector Network (AV:N)
Attack Complexity High (AC:H)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality None (C:N)
Integrity Low (I:L)
Availability None (A:N)

How to Fix CVE-2026-4587

To remediate this vulnerability, upgrade all affected Hybridauth/hybridauth dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

hybridauth/hybridauth fixed: Latest secure release
Upgrade hybridauth/hybridauth to Latest secure release
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for hybridauth/hybridauth

How to Check if You Are Affected

To determine whether your application is affected by CVE-2026-4587, inspect your project dependencies for Hybridauth/hybridauth:

inspect dependencies for hybridauth/hybridauth

Analyze the terminal output to locate any version of Hybridauth/hybridauth in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-287: Improper Authentication, where when an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct. In Hybridauth/hybridauth, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

A vulnerability was found in HybridAuth up to 3.12.2. This issue affects some unknown processing of the file src/HttpClient/Curl.php of the component SSL Handler. The manipulation of the argument curlOptions results in improper certificate validation. The attack can be launched remotely. This attack is characterized by high complexity. The exploitability is assessed as difficult. The project was informed of the problem early through an issue report but has not responded yet.

CVE-2026-4587 Affected Hybridauth/hybridauth Versions

1 component(s)
Product / Package Ecosystem Affected Versions Fixed Version
hybridauth/hybridauth
Packagist
≤ 3.12.2

References

Frequently Asked Questions

What is CVE-2026-4587?
CVE-2026-4587 is a security vulnerability in Hybridauth/hybridauth involving HybridAuth Has Improper SSL Certificate Validation in Curl HTTP Client under CWE-287: Improper Authentication.
Which Hybridauth/hybridauth versions are affected?
Affected versions include releases prior to current release patches across affected packages: hybridauth/hybridauth.
What version fixes CVE-2026-4587?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
Is hybridauth/hybridauth affected?
Yes, hybridauth/hybridauth is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
What is the CVSS score of CVE-2026-4587?
CVE-2026-4587 has a CVSS v3.1 base score of 3.7 (MODERATE) with vector string CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N.
What CWE is associated with CVE-2026-4587?
CVE-2026-4587 is classified under CWE-287: Improper Authentication (When an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct.).
How can I check Packagist dependencies for CVE-2026-4587?
Run the dependency tree command: 'inspect dependencies for hybridauth/hybridauth'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-r3hf-q3mf-7h6w",
  "modified" : "2026-03-27T17:53:22Z",
  "published" : "2026-03-23T15:30:44Z",
  "aliases" : [ "CVE-2026-4587" ],
  "summary" : "HybridAuth Has Improper SSL Certificate Validation in Curl HTTP Client",
  "details" : "A vulnerability was found in HybridAuth up to 3.12.2. This issue affects some unknown processing of the file src/HttpClient/Curl.php of the component SSL Handler. The manipulation of the argument curlOptions results in improper certificate validation. The attack can be launched remotely. This attack is characterized by high complexity. The exploitability is assessed as difficult. The project was informed of the problem early through an issue report but has not responded yet.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N"
  }, {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "hybridauth/hybridauth"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "last_affected" : "3.12.2"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-4587"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/hybridauth/hybridauth/issues/1444"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/hybridauth/hybridauth"
  }, {
    "type" : "WEB",
    "url" : "https://vuldb.com/?ctiid.352423"
  }, {
    "type" : "WEB",
    "url" : "https://vuldb.com/?id.352423"
  }, {
    "type" : "WEB",
    "url" : "https://vuldb.com/?submit.775463"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-287" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-03-27T17:53:22Z",
    "nvd_published_at" : "2026-03-23T13:16:31Z"
  }
}