CVE-2024-57190: Erxes Erxes Incorrect Access Control Vulnerability Vulnerability
HIGHCVE-2024-57190 is a HIGH erxes incorrect access control vulnerability vulnerability (CWE-284: Improper Access Control) affecting Erxes libraries in the npm ecosystem. The issue involves erxes incorrect access control vulnerability. Remediation is available by upgrading affected packages to version 1.6.1.
CVE-2024-57190 at a Glance
How to Fix CVE-2024-57190
To remediate this vulnerability, upgrade all affected Erxes dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
npm install erxes@1.6.1
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls erxes
How to Check if You Are Affected
To determine whether your Node.js application is affected by CVE-2024-57190, inspect your project dependencies using npm:
npm ls erxes
Analyze the terminal output to locate any version of Erxes in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.6.1), your application is affected.
Note: The npm ls erxes command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-284: Improper Access Control, where the product does not restrict or incorrectly restricts access to a resource from an unauthorized actor. In Erxes, 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-2024-57190 Affected Erxes Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
erxes
|
npm |
< 1.6.1
|
1.6.1
|
References
Frequently Asked Questions
What is CVE-2024-57190?
Which Erxes versions are affected?
What version fixes CVE-2024-57190?
Is erxes affected?
What CWE is associated with CVE-2024-57190?
How can I check npm dependencies for CVE-2024-57190?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-7rhv-xm4q-wh42",
"modified" : "2025-06-10T20:26:40Z",
"published" : "2025-06-10T18:32:27Z",
"aliases" : [ "CVE-2024-57190" ],
"summary" : "Erxes Incorrect Access Control vulnerability",
"details" : "Erxes <1.6.1 is vulnerable to Incorrect Access Control. An attacker can bypass authentication by providing a \"User\" HTTP header that contains any user, allowing them to talk to any GraphQL endpoint.",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:P"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "erxes"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.6.1"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-57190"
}, {
"type" : "WEB",
"url" : "https://github.com/erxes/erxes/commit/4ed2ca797241d2ba0c9083feeadd9755c1310ce8"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/erxes/erxes"
}, {
"type" : "WEB",
"url" : "https://www.sonarsource.com/blog/micro-services-major-headaches-detecting-vulnerabilities-in-erxes-microservices"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-284", "CWE-287" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2025-06-10T20:26:40Z",
"nvd_published_at" : "2025-06-10T17:20:38Z"
}
}