CVE-2026-45701: Sulu Weak Cryptographical Usage For API Vulnerability

MODERATE
Advisory Identifier: GHSA-7fv8-6pp7-6h85
CWE-327
Published
Advisory Summary

CVE-2026-45701 is a MODERATE weak cryptographical usage for api vulnerability (CWE-327: Use of a Broken or Risky Cryptographic Algorithm) affecting Sulu libraries in the Packagist ecosystem. The issue involves weak cryptographical usage for api key generation and reset tokens. Remediation is available by upgrading affected packages to version 3.0.6, 2.6.23.

CVE-2026-45701 at a Glance

CVE Identifier CVE-2026-45701
GHSA Identifier GHSA-7fv8-6pp7-6h85
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification CWE-327: Use of a Broken or Risky Cryptographic Algorithm
Affected Product Sulu
Package Ecosystem Packagist
Published Date
Last Updated

How to Fix CVE-2026-45701

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

sulu/sulu fixed: 3.0.6
Upgrade sulu/sulu to 3.0.6
sulu/sulu fixed: 2.6.23
Upgrade sulu/sulu to 2.6.23
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 sulu/sulu

How to Check if You Are Affected

To determine whether your application is affected by CVE-2026-45701, inspect your project dependencies for Sulu:

inspect dependencies for sulu/sulu

Analyze the terminal output to locate any version of Sulu in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.0.6), 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-327: Use of a Broken or Risky Cryptographic Algorithm, where the product uses a broken or risky cryptographic algorithm or protocol. In Sulu, 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

### Impact The password reset tokenand API key generation uses a weak cryptographical hash algorithm. ### Patches Fixed in 2.6.23 and 3.0.6 version. ### Workarounds Patch the related `User.php` and `ResettingController.php` file in the SecurityBundle.

CVE-2026-45701 Affected Sulu Versions

2 component(s)
Fixed Versions:
3.0.62.6.23
Product / Package Ecosystem Affected Versions Fixed Version
sulu/sulu
Packagist
≥ 3.0.0-alpha1
< 3.0.6
3.0.6
sulu/sulu
Packagist
< 2.6.23
2.6.23

References

Frequently Asked Questions

What is CVE-2026-45701?
CVE-2026-45701 is a security vulnerability in Sulu involving Weak Cryptographical usage for API Key generation and Reset Tokens under CWE-327: Use of a Broken or Risky Cryptographic Algorithm.
Which Sulu versions are affected?
Affected versions include releases prior to 3.0.6, 2.6.23 across affected packages: sulu/sulu.
What version fixes CVE-2026-45701?
Upgrading to 3.0.6, 2.6.23 (or the latest patched release for your respective branch) resolves the vulnerability.
Is sulu/sulu affected?
Yes, sulu/sulu is affected in releases prior to 3.0.6, 2.6.23. Upgrade your dependency to 3.0.6, 2.6.23 or later.
What CWE is associated with CVE-2026-45701?
CVE-2026-45701 is classified under CWE-327: Use of a Broken or Risky Cryptographic Algorithm (The product uses a broken or risky cryptographic algorithm or protocol.).
How can I check Packagist dependencies for CVE-2026-45701?
Run the dependency tree command: 'inspect dependencies for sulu/sulu'. 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-7fv8-6pp7-6h85",
  "modified" : "2026-06-09T10:51:20Z",
  "published" : "2026-05-18T17:27:22Z",
  "aliases" : [ "CVE-2026-45701" ],
  "summary" : "Sulu: Weak Cryptographical usage for API Key generation and Reset Tokens",
  "details" : "### Impact\n\nThe password reset tokenand API key generation uses a weak cryptographical hash algorithm.\n\n### Patches\n\nFixed in 2.6.23 and 3.0.6 version.\n\n### Workarounds\n\nPatch the related `User.php` and `ResettingController.php` file in the SecurityBundle.",
  "severity" : [ {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "sulu/sulu"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "3.0.0-alpha1"
      }, {
        "fixed" : "3.0.6"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 3.0.5"
    }
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "sulu/sulu"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "2.6.23"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 2.6.22"
    }
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/sulu/sulu/security/advisories/GHSA-7fv8-6pp7-6h85"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-45701"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/sulu/sulu"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/sulu/sulu/releases/tag/2.6.23"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/sulu/sulu/releases/tag/3.0.6"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-327" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-05-18T17:27:22Z",
    "nvd_published_at" : "2026-06-01T17:17:11Z"
  }
}