Node-RED's local-filesystem library storage module (getLibraryEntry() and saveLibraryEntry() in… (CVE-2026-71269)
Node-RED's local-filesystem library storage module has a path traversal vulnerability in the getLibraryEntry() and saveLibraryEntry() functions. Authenticated users can exploit this by supplying crafted path parameters to read or write arbitrary files outside the intended library directory. This can lead to remote code execution if write access is available. This vulnerability is distinct from a previously fixed traversal issue in Node-RED and currently has no confirmed patch.
AI Analysis
Technical Summary
The local-filesystem library storage module in Node-RED (specifically getLibraryEntry() and saveLibraryEntry() in packages/node_modules/@node-red/runtime/lib/storage/localfilesystem/library.js) improperly joins user-supplied path parameters directly into filesystem paths without sanitization or containment checks. This allows authenticated users, including those with read-only tokens, to perform directory traversal attacks by using '../' sequences in the path parameter to read arbitrary files outside the library directory. Users with write permissions can write arbitrary files, potentially enabling remote code execution via mechanisms such as SSH authorized_keys or cron injection. This vulnerability is separate and distinct from the previously fixed CVE-2021-21298 affecting the Projects API. No patch or remediation is currently documented.
Potential Impact
An attacker with authenticated access can read arbitrary files outside the intended library directory, potentially exposing sensitive information. If the attacker has write permissions, they can write arbitrary files to the filesystem, which may lead to remote code execution through common attack vectors like SSH authorized_keys or cron jobs. The vulnerability affects confidentiality, integrity, and availability of the affected system.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, restrict access to trusted users only and limit write permissions to the library storage module. Monitor for updates from Node-RED regarding an official fix.
Node-RED's local-filesystem library storage module (getLibraryEntry() and saveLibraryEntry() in… (CVE-2026-71269)
Description
Node-RED's local-filesystem library storage module has a path traversal vulnerability in the getLibraryEntry() and saveLibraryEntry() functions. Authenticated users can exploit this by supplying crafted path parameters to read or write arbitrary files outside the intended library directory. This can lead to remote code execution if write access is available. This vulnerability is distinct from a previously fixed traversal issue in Node-RED and currently has no confirmed patch.
CVSS v3.1
Score 7.2high
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The local-filesystem library storage module in Node-RED (specifically getLibraryEntry() and saveLibraryEntry() in packages/node_modules/@node-red/runtime/lib/storage/localfilesystem/library.js) improperly joins user-supplied path parameters directly into filesystem paths without sanitization or containment checks. This allows authenticated users, including those with read-only tokens, to perform directory traversal attacks by using '../' sequences in the path parameter to read arbitrary files outside the library directory. Users with write permissions can write arbitrary files, potentially enabling remote code execution via mechanisms such as SSH authorized_keys or cron injection. This vulnerability is separate and distinct from the previously fixed CVE-2021-21298 affecting the Projects API. No patch or remediation is currently documented.
Potential Impact
An attacker with authenticated access can read arbitrary files outside the intended library directory, potentially exposing sensitive information. If the attacker has write permissions, they can write arbitrary files to the filesystem, which may lead to remote code execution through common attack vectors like SSH authorized_keys or cron jobs. The vulnerability affects confidentiality, integrity, and availability of the affected system.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, restrict access to trusted users only and limit write permissions to the library storage module. Monitor for updates from Node-RED regarding an official fix.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-f3wc-7g8m-89m9
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-71269"]
- Ecosystems
- []
- Database Specific Severity
- HIGH
- Cvss Version
- 3.1
Threat ID: 6a738526bf8831d5394f00d7
Added to database: 08/05/2026, 18:47:02 UTC
Last enriched: 08/05/2026, 18:57:15 UTC
Last updated: 08/05/2026, 19:01:14 UTC
Views: 3
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.