CVE-2026-45701: Sulu Weak Cryptographical Usage For API Vulnerability
MODERATECVE-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
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.
Upgrade sulu/sulu to 3.0.6
Upgrade sulu/sulu to 2.6.23
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
CVE-2026-45701 Affected Sulu Versions
2 component(s)| 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?
Which Sulu versions are affected?
What version fixes CVE-2026-45701?
Is sulu/sulu affected?
What CWE is associated with CVE-2026-45701?
How can I check Packagist dependencies for CVE-2026-45701?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"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"
}
}