GHSA-27f5-xjrr-q9ff: @opensearch project/opensearch Malware Vulnerability
CRITICALGHSA-27f5-xjrr-q9ff is a CRITICAL (CVSS 9.6) malware vulnerability (CWE-506: Embedded Malicious Code) affecting @opensearch project/opensearch libraries in the npm ecosystem. The issue involves malware in @opensearch-project/opensearch. Remediation is available in the latest vendor maintenance releases.
GHSA-27f5-xjrr-q9ff at a Glance
Security Impact
CVSS: 9.6
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H).
How to Fix GHSA-27f5-xjrr-q9ff
To remediate this vulnerability, upgrade all affected @opensearch project/opensearch 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 @opensearch-project/opensearch@Latest secure release
npm install @opensearch-project/opensearch@Latest secure release
npm install @opensearch-project/opensearch@Latest secure release
npm install @opensearch-project/opensearch@Latest secure release
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls @opensearch-project/opensearch
How to Check if You Are Affected
To determine whether your Node.js application is affected by GHSA-27f5-xjrr-q9ff, inspect your project dependencies using npm:
npm ls @opensearch-project/opensearch
Analyze the terminal output to locate any version of @opensearch project/opensearch 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: The npm ls @opensearch-project/opensearch 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-506: Embedded Malicious Code, where the product contains code that appears to be malicious in nature. In @opensearch project/opensearch, 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
GHSA-27f5-xjrr-q9ff Affected @opensearch project/opensearch Versions
4 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
@opensearch-project/opensearch
|
npm |
3.5.3
All 1 versions
3.5.3
|
None specified
|
|
@opensearch-project/opensearch
|
npm |
3.6.2
All 1 versions
3.6.2
|
None specified
|
|
@opensearch-project/opensearch
|
npm |
3.7.0
All 1 versions
3.7.0
|
None specified
|
|
@opensearch-project/opensearch
|
npm |
3.8.0
All 1 versions
3.8.0
|
None specified
|
References
Frequently Asked Questions
What is GHSA-27f5-xjrr-q9ff?
Which @opensearch project/opensearch versions are affected?
What version fixes GHSA-27f5-xjrr-q9ff?
Is @opensearch-project/opensearch affected?
What is the CVSS score of GHSA-27f5-xjrr-q9ff?
What CWE is associated with GHSA-27f5-xjrr-q9ff?
How can I check npm dependencies for GHSA-27f5-xjrr-q9ff?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-27f5-xjrr-q9ff",
"modified" : "2026-05-19T14:35:05Z",
"published" : "2026-05-19T14:35:05Z",
"aliases" : [ ],
"summary" : "Malware in @opensearch-project/opensearch",
"details" : "## Overview\n\nThe OpenSearch Project has sustained a security incident involving an external actor gaining force-push permissions within the project's CI infrastructure to embed malicious packages into four release versions of `@opensearch-project/opensearch`. Users are instructed to immediately take actions recommended in the **Remediation** section of this advisory.\n\n## Affected Versions\n\n**Package**: `@opensearch-project/opensearch`\n\n| Version | Published (UTC) | Published (America/New_York) |\n|---------|----------------|------------------------------|\n| 3.5.3 | 2026-05-12T00:47:39Z | May 11, 2026, 8:47:39 PM EDT |\n| 3.6.2 | 2026-05-12T00:29:34Z | May 11, 2026, 8:29:34 PM EDT |\n| 3.7.0 | 2026-05-12T00:42:29Z | May 11, 2026, 8:42:29 PM EDT |\n| 3.8.0 | 2026-05-12T00:43:54Z | May 11, 2026, 8:43:54 PM EDT |\n\n## Remediation\n\nAny computer that has these package versions installed or updated between 00:00 UTC 12 May 2026 (8:00 PM EDT 11 May 2026) and 10:00 UTC 12 May 2026 (6:00 AM EDT 12 May 2026) should be considered fully compromised. Steps should immediately be taken to prevent further compromise.\n\n- **All secrets and keys** stored on that computer should be rotated immediately from an alternate system.\n- The affected packages should be removed immediately, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.\n\n## References\n\n[GHSA-g7cv-rxg3-hmpx](https://github.com/TanStack/router/security/advisories/GHSA-g7cv-rxg3-hmpx)\nhttps://github.com/TanStack/router/issues/7383",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "@opensearch-project/opensearch"
},
"versions" : [ "3.5.3" ]
}, {
"package" : {
"ecosystem" : "npm",
"name" : "@opensearch-project/opensearch"
},
"versions" : [ "3.6.2" ]
}, {
"package" : {
"ecosystem" : "npm",
"name" : "@opensearch-project/opensearch"
},
"versions" : [ "3.7.0" ]
}, {
"package" : {
"ecosystem" : "npm",
"name" : "@opensearch-project/opensearch"
},
"versions" : [ "3.8.0" ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/opensearch-project/opensearch-js/security/advisories/GHSA-27f5-xjrr-q9ff"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/opensearch-project/opensearch-js"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-506" ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2026-05-19T14:35:05Z",
"nvd_published_at" : null
}
}