@backstage/plugin-search-backend@0.0.0-nightly-20260418031715

The Backstage backend plugin that provides your backstage app with search

Direct Vulnerabilities

Known vulnerabilities in the @backstage/plugin-search-backend package. This does not include vulnerabilities belonging to this package’s dependencies.

Fix vulnerabilities automatically

Snyk's AI Trust Platform automatically finds the best upgrade path and integrates with your development workflows. Secure your code at zero cost.

Fix for free
VulnerabilityVulnerable Version
  • M
Incorrect Authorization

@backstage/plugin-search-backend is a The Backstage backend plugin that provides your backstage app with search

Affected versions of this package are vulnerable to Incorrect Authorization in AuthorizedSearchEngine when all document types are denied by authorization policy. An authenticated attacker can issue a search query that, after authorization filtering removes all permitted document types, proceeds to query the underlying Elasticsearch engine with an empty type list rather than returning an empty result set, potentially exposing search index metadata or results that should be inaccessible. The fix short-circuits execution in both AuthorizedSearchEngine and ElasticSearchSearchEngine when the authorized document type list is empty.

How to fix Incorrect Authorization?

Upgrade @backstage/plugin-search-backend to version 2.1.6 or higher.

<2.1.6