Vulnerabilities in pkg:npm/@backstage/plugin-permission-backend

PACKAGE
Advisory Identifier: GHSA-f8j4-p5cr-p777
Advisory Summary

CVE-2025-32791 is a MODERATE (CVSS 4.3) permission policy information leakage vulnerability (CWE-213: Exposure of Sensitive Information Due to Incompatible Policies) affecting @backstage/plugin permission backend libraries in the npm ecosystem. The issue involves permission policy information leakage in backstage permission system. Remediation is available by upgrading affected packages to version 0.6.0.

1 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:npm/@backstage/plugin-permission-backend

1 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:npm/@backstage/plugin-permission-backend. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-f8j4-p5cr-p777 CVE-2025-32791 MODERATE Permission policy information leakage in Backstage permission system

CVE-2025-32791 at a Glance

CVE Identifier CVE-2025-32791
GHSA Identifier GHSA-f8j4-p5cr-p777
Severity MODERATE
CVSS v3.1 Base Score 4.3
CWE Classification CWE-213: Exposure of Sensitive Information Due to Incompatible Policies
Affected Product @backstage/plugin permission backend
Package Ecosystem npm
Published Date
Last Updated

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).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality Low (C:L)
Integrity None (I:N)
Availability None (A:N)

How to Fix CVE-2025-32791

To remediate this vulnerability, upgrade all affected @backstage/plugin permission 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.

@backstage/plugin-permission-backend fixed: 0.6.0
npm install @backstage/plugin-permission-backend@0.6.0
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

npm ls @backstage/plugin-permission-backend

How to Check if You Are Affected

To determine whether your Node.js application is affected by CVE-2025-32791, inspect your project dependencies using npm:

npm ls @backstage/plugin-permission-backend

Analyze the terminal output to locate any version of @backstage/plugin permission backend in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.6.0), your application is affected.

Note: The npm ls @backstage/plugin-permission-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-213: Exposure of Sensitive Information Due to Incompatible Policies, where the product's intended functionality exposes information to certain actors in accordance with the developer's security policy, but this information is regarded as sensitive according to the intended security policies of other stakeholders such as the product's administrator, users, or others whose information is being processed. In @backstage/plugin permission 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

### Impact A vulnerability in the Backstage permission plugin backend allows callers to extract some information about the conditional decisions returned by the permission policy installed in the permission backend. If the permission system is not in use or if the installed permission policy does not use conditional decisions, there is no impact. ### Patches This issue has been resolved in version `0.6.0` of the permissions backend. ### Workarounds Administrators of the permission policies can ensure that they are crafted in such a way that conditional decisions do not contain any sensitive information. ### References If you have any questions or comments about this advisory: Open an issue in the [Backstage repository](https://github.com/backstage/backstage) Visit our Discord, linked to in [Backstage README](https://github.com/backstage/backstage)

CVE-2025-32791 Affected @backstage/plugin permission backend Versions

1 component(s)
Fixed Versions:
0.6.0
Product / Package Ecosystem Affected Versions Fixed Version
@backstage/plugin-permission-backend
npm
< 0.6.0
0.6.0

References

Frequently Asked Questions

What is CVE-2025-32791?
CVE-2025-32791 is a security vulnerability in @backstage/plugin permission backend involving Permission policy information leakage in Backstage permission system under CWE-213: Exposure of Sensitive Information Due to Incompatible Policies.
Which @backstage/plugin permission backend versions are affected?
Affected versions include releases prior to 0.6.0 across affected packages: @backstage/plugin-permission-backend.
What version fixes CVE-2025-32791?
Upgrading to 0.6.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is @backstage/plugin-permission-backend affected?
Yes, @backstage/plugin-permission-backend is affected in releases prior to 0.6.0. Upgrade your dependency to 0.6.0 or later.
What is the CVSS score of CVE-2025-32791?
CVE-2025-32791 has a CVSS v3.1 base score of 4.3 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N.
What CWE is associated with CVE-2025-32791?
CVE-2025-32791 is classified under CWE-213: Exposure of Sensitive Information Due to Incompatible Policies (The product's intended functionality exposes information to certain actors in accordance with the developer's security policy, but this information is regarded as sensitive according to the intended security policies of other stakeholders such as the product's administrator, users, or others whose information is being processed.).
How can I check npm dependencies for CVE-2025-32791?
Run the dependency tree command: 'npm ls @backstage/plugin-permission-backend'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-f8j4-p5cr-p777",
  "modified" : "2025-04-17T12:39:25Z",
  "published" : "2025-04-16T15:34:21Z",
  "aliases" : [ "CVE-2025-32791" ],
  "summary" : "Permission policy information leakage in Backstage permission system",
  "details" : "### Impact\n\nA vulnerability in the Backstage permission plugin backend allows callers to extract some information about the conditional decisions returned by the permission policy installed in the permission backend. If the permission system is not in use or if the installed permission policy does not use conditional decisions, there is no impact.\n\n### Patches\n\nThis issue has been resolved in version `0.6.0` of the permissions backend.\n\n### Workarounds\n\nAdministrators of the permission policies can ensure that they are crafted in such a way that conditional decisions do not contain any sensitive information.\n\n### References\n\nIf you have any questions or comments about this advisory:\n\nOpen an issue in the [Backstage repository](https://github.com/backstage/backstage)\nVisit our Discord, linked to in [Backstage README](https://github.com/backstage/backstage)",
  "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-permission-backend"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.6.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/backstage/backstage/security/advisories/GHSA-f8j4-p5cr-p777"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-32791"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/backstage/backstage"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-213" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-04-16T15:34:21Z",
    "nvd_published_at" : "2025-04-16T22:15:14Z"
  }
}