CVE-2026-45222: @steipete/summarize @steipete/summarize Allows Local Attackers To Vulnerability

MODERATE
Advisory Identifier: GHSA-qp7v-gjgg-4mj6
CVSS 6.1
CWE-732
Published
Advisory Summary

CVE-2026-45222 is a MODERATE (CVSS 6.1) @steipete/summarize allows local attackers to vulnerability (CWE-732: Incorrect Permission Assignment for Critical Resource) affecting @steipete/summarize libraries in the npm ecosystem. The issue involves @steipete/summarize allows local attackers to read bearer tokens and api credentials stored in ~/.summarize/daemon.json. Remediation is available by upgrading affected packages to version 0.15.0.

CVE-2026-45222 at a Glance

CVE Identifier CVE-2026-45222
GHSA Identifier GHSA-qp7v-gjgg-4mj6
Severity MODERATE
CVSS v3.1 Base Score 6.1
CWE Classification CWE-732: Incorrect Permission Assignment for Critical Resource
Affected Product @steipete/summarize
Package Ecosystem npm
Published Date
Last Updated

Security Impact

CVSS: 6.1

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N).

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

How to Fix CVE-2026-45222

To remediate this vulnerability, upgrade all affected @steipete/summarize dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

@steipete/summarize fixed: 0.15.0
npm install @steipete/summarize@0.15.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 @steipete/summarize

How to Check if You Are Affected

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

npm ls @steipete/summarize

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

Note: The npm ls @steipete/summarize 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-732: Incorrect Permission Assignment for Critical Resource, where the product specifies permissions for a security-critical resource in a way that allows that resource to be read or modified by unintended actors. In @steipete/summarize, 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

Summarize versions through 0.14.1, fixed in commit 0cfb0fb, creates the daemon configuration directory and file with default filesystem permissions that may be world-readable on Unix-like systems, allowing local attackers to read bearer tokens and API credentials stored in ~/.summarize/daemon.json. A local attacker can exploit these permissive permissions to read the daemon bearer token and persisted provider credentials, enabling unauthorized access to the daemon or recovery of sensitive API keys.

CVE-2026-45222 Affected @steipete/summarize Versions

1 component(s)
Fixed Versions:
0.15.0
Product / Package Ecosystem Affected Versions Fixed Version
@steipete/summarize
npm
< 0.15.0
0.15.0

References

Frequently Asked Questions

What is CVE-2026-45222?
CVE-2026-45222 is a security vulnerability in @steipete/summarize involving @steipete/summarize allows local attackers to read bearer tokens and API credentials stored in ~/.summarize/daemon.json under CWE-732: Incorrect Permission Assignment for Critical Resource.
Which @steipete/summarize versions are affected?
Affected versions include releases prior to 0.15.0 across affected packages: @steipete/summarize.
What version fixes CVE-2026-45222?
Upgrading to 0.15.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is @steipete/summarize affected?
Yes, @steipete/summarize is affected in releases prior to 0.15.0. Upgrade your dependency to 0.15.0 or later.
What is the CVSS score of CVE-2026-45222?
CVE-2026-45222 has a CVSS v3.1 base score of 6.1 (MODERATE) with vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N.
What CWE is associated with CVE-2026-45222?
CVE-2026-45222 is classified under CWE-732: Incorrect Permission Assignment for Critical Resource (The product specifies permissions for a security-critical resource in a way that allows that resource to be read or modified by unintended actors.).
How can I check npm dependencies for CVE-2026-45222?
Run the dependency tree command: 'npm ls @steipete/summarize'. 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-qp7v-gjgg-4mj6",
  "modified" : "2026-05-18T16:47:45Z",
  "published" : "2026-05-11T21:31:34Z",
  "aliases" : [ "CVE-2026-45222" ],
  "summary" : "@steipete/summarize allows local attackers to read bearer tokens and API credentials stored in ~/.summarize/daemon.json",
  "details" : "Summarize versions through 0.14.1, fixed in commit 0cfb0fb, creates the daemon configuration directory and file with default filesystem permissions that may be world-readable on Unix-like systems, allowing local attackers to read bearer tokens and API credentials stored in ~/.summarize/daemon.json. A local attacker can exploit these permissive permissions to read the daemon bearer token and persisted provider credentials, enabling unauthorized access to the daemon or recovery of sensitive API keys.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N"
  }, {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "npm",
      "name" : "@steipete/summarize"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.15.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-45222"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/steipete/summarize/pull/214"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/steipete/summarize/commit/0cfb0fb99777a87a7b02082b5e4bd449f8dd6175"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/steipete/summarize"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/steipete/summarize/releases/tag/v0.15.0"
  }, {
    "type" : "WEB",
    "url" : "https://www.vulncheck.com/advisories/summarize-insecure-daemon-configuration-file-permissions"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-732" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-05-18T16:47:44Z",
    "nvd_published_at" : "2026-05-11T19:16:27Z"
  }
}