Vulnerabilities in pkg:npm/@backstage/plugin-search-backend-module-elasticsearch
PACKAGECVE-2026-106562 is a MODERATE (CVSS 4.3) backstage has incorrect authorization vulnerability (CWE-863: Incorrect Authorization) affecting @backstage/plugin search backend libraries in the npm ecosystem. The issue involves backstage has incorrect authorization in search engine permission filtering. Remediation is available by upgrading affected packages to version 2.1.6, 1.8.7.
pkg:npm/@backstage/plugin-search-backend-module-elasticsearch
Vulnerability advisories affecting package pkg:npm/@backstage/plugin-search-backend-module-elasticsearch. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-9325-vq29-gp3v | CVE-2026-106562 | MODERATE | Backstage has incorrect authorization in search engine permission filtering |
CVE-2026-106562 at a Glance
Security Impact
CVSS: 4.3
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N).
How to Fix CVE-2026-106562
To remediate this vulnerability, upgrade all affected @backstage/plugin search backend 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 @backstage/plugin-search-backend@2.1.6
npm install @backstage/plugin-search-backend-module-elasticsearch@1.8.7
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls @backstage/plugin-search-backend
How to Check if You Are Affected
To determine whether your Node.js application is affected by CVE-2026-106562, inspect your project dependencies using npm:
npm ls @backstage/plugin-search-backend
Analyze the terminal output to locate any version of @backstage/plugin search backend in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.1.6), your application is affected.
Note: The npm ls @backstage/plugin-search-backend 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-863: Incorrect Authorization, where the product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check. In @backstage/plugin search backend, 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-106562 Affected @backstage/plugin search backend Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
@backstage/plugin-search-backend
|
npm |
< 2.1.6
|
2.1.6
|
|
@backstage/plugin-search-backend-module-elasticsearch
|
npm |
< 1.8.7
|
1.8.7
|
References
Frequently Asked Questions
What is CVE-2026-106562?
Which @backstage/plugin search backend versions are affected?
What version fixes CVE-2026-106562?
Is @backstage/plugin-search-backend affected?
Is @backstage/plugin-search-backend-module-elasticsearch affected?
What is the CVSS score of CVE-2026-106562?
What CWE is associated with CVE-2026-106562?
How can I check npm dependencies for CVE-2026-106562?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-9325-vq29-gp3v",
"modified" : "2026-10-07T18:02:52Z",
"published" : "2026-10-07T18:02:52Z",
"aliases" : [ "CVE-2026-106562" ],
"summary" : "Backstage has incorrect authorization in search engine permission filtering",
"details" : "### Impact\n\nAn authenticated Backstage user subject to a `DENY` policy for search document types could receive search results they were not authorized to view. This affects deployments with `permission.enabled: true` and an Elasticsearch or OpenSearch search backend.\n\n### Patches\n\n- Upgrade `@backstage/plugin-search-backend` to 2.1.6\n- Upgrade `@backstage/plugin-search-backend-module-elasticsearch` to 1.8.7\n\n### Workarounds\n\nIf you are unable to upgrade immediately:\n\n- Temporarily modify permission policies to use `CONDITIONAL` decisions with per-result filtering rather than blanket `DENY` for search document types\n- Restrict Elasticsearch/OpenSearch index access at the cluster level so that the search service account can only reach expected Backstage indices, limiting the blast radius if the authorization bypass is triggered.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "@backstage/plugin-search-backend"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2.1.6"
} ]
} ]
}, {
"package" : {
"ecosystem" : "npm",
"name" : "@backstage/plugin-search-backend-module-elasticsearch"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.8.7"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/backstage/backstage/security/advisories/GHSA-9325-vq29-gp3v"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-106562"
}, {
"type" : "WEB",
"url" : "https://github.com/backstage/backstage/commit/2d5d3e77d630455d6d48cfa8f31fd3c126fd6f29"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/backstage/backstage"
}, {
"type" : "WEB",
"url" : "https://github.com/backstage/backstage/releases/tag/v1.54.1"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-754", "CWE-863" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2026-10-07T18:02:52Z",
"nvd_published_at" : "2026-10-07T15:17:17Z"
}
}