CVE-2026-30848: Parse Server Path Traversal Vulnerability

MODERATE
Advisory Identifier: GHSA-hm3f-q6rw-m6wh
CWE-22
Published
Advisory Summary

CVE-2026-30848 is a MODERATE path traversal vulnerability (CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')) affecting Parse Server libraries in the npm ecosystem. The issue involves `pagesrouter` path traversal allows reading files outside configured pages directory. Remediation is available by upgrading affected packages to version 8.6.8, 9.5.0-alpha.8.

CVE-2026-30848 at a Glance

CVE Identifier CVE-2026-30848
GHSA Identifier GHSA-hm3f-q6rw-m6wh
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Affected Product Parse Server
Package Ecosystem npm
Published Date
Last Updated

How to Fix CVE-2026-30848

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

parse-server fixed: 8.6.8
npm install parse-server@8.6.8
parse-server fixed: 9.5.0-alpha.8
npm install parse-server@9.5.0-alpha.8
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 parse-server

How to Check if You Are Affected

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

npm ls parse-server

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

Note: The npm ls parse-server 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-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal'), where the product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory. In Parse Server, 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 The `PagesRouter` static file serving route is vulnerable to a path traversal attack that allows unauthenticated reading of files outside the configured `pagesPath` directory. The boundary check uses a string prefix comparison without enforcing a directory separator boundary. An attacker can use path traversal sequences to access files in sibling directories whose names share the same prefix as the pages directory (e.g. `pages-secret` starts with `pages`). This affects any Parse Server deployment with the `pages` feature enabled (`pages.enableRouter: true`). Exploitation requires a sibling directory of `pagesPath` whose name begins with the same string as the pages directory name. ### Patches The fix enforces a path separator boundary in the check, ensuring resolved paths must be strictly inside the `pagesPath` directory. ### Workarounds Ensure the `pagesPath` directory has no sibling directories whose names begin with the same prefix. For example, if `pagesPath` is `/srv/pages`, ensure no directory like `/srv/pages-backup` or `/srv/pages_old` exists alongside it. ### References - GitHub security advisory: https://github.com/parse-community/parse-server/security/advisories/GHSA-hm3f-q6rw-m6wh - Fix for Parse Server 9: https://github.com/parse-community/parse-server/releases/tag/9.5.0-alpha.8 - Fix for Parse Server 8: https://github.com/parse-community/parse-server/releases/tag/8.6.8

CVE-2026-30848 Affected Parse Server Versions

2 component(s)
Fixed Versions:
8.6.89.5.0-alpha.8
Product / Package Ecosystem Affected Versions Fixed Version
parse-server
npm
< 8.6.8
8.6.8
parse-server
npm
≥ 9.0.0-alpha.1
< 9.5.0-alpha.8
9.5.0-alpha.8

References

Frequently Asked Questions

What is CVE-2026-30848?
CVE-2026-30848 is a security vulnerability in Parse Server involving `PagesRouter` path traversal allows reading files outside configured pages directory under CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal').
Which Parse Server versions are affected?
Affected versions include releases prior to 8.6.8, 9.5.0-alpha.8 across affected packages: parse-server.
What version fixes CVE-2026-30848?
Upgrading to 8.6.8, 9.5.0-alpha.8 (or the latest patched release for your respective branch) resolves the vulnerability.
Is parse-server affected?
Yes, parse-server is affected in releases prior to 8.6.8, 9.5.0-alpha.8. Upgrade your dependency to 8.6.8, 9.5.0-alpha.8 or later.
What CWE is associated with CVE-2026-30848?
CVE-2026-30848 is classified under CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') (The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.).
How can I check npm dependencies for CVE-2026-30848?
Run the dependency tree command: 'npm ls parse-server'. 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-hm3f-q6rw-m6wh",
  "modified" : "2026-03-09T17:41:55Z",
  "published" : "2026-03-09T17:41:55Z",
  "aliases" : [ "CVE-2026-30848" ],
  "summary" : "Parse Server: `PagesRouter` path traversal allows reading files outside configured pages directory",
  "details" : "### Impact\n\nThe `PagesRouter` static file serving route is vulnerable to a path traversal attack that allows unauthenticated reading of files outside the configured `pagesPath` directory. The boundary check uses a string prefix comparison without enforcing a directory separator boundary. An attacker can use path traversal sequences to access files in sibling directories whose names share the same prefix as the pages directory (e.g. `pages-secret` starts with `pages`).\n\nThis affects any Parse Server deployment with the `pages` feature enabled (`pages.enableRouter: true`). Exploitation requires a sibling directory of `pagesPath` whose name begins with the same string as the pages directory name.\n\n### Patches\n\nThe fix enforces a path separator boundary in the check, ensuring resolved paths must be strictly inside the `pagesPath` directory.\n\n### Workarounds\n\nEnsure the `pagesPath` directory has no sibling directories whose names begin with the same prefix. For example, if `pagesPath` is `/srv/pages`, ensure no directory like `/srv/pages-backup` or `/srv/pages_old` exists alongside it.\n\n### References\n\n- GitHub security advisory: https://github.com/parse-community/parse-server/security/advisories/GHSA-hm3f-q6rw-m6wh\n- Fix for Parse Server 9: https://github.com/parse-community/parse-server/releases/tag/9.5.0-alpha.8\n- Fix for Parse Server 8: https://github.com/parse-community/parse-server/releases/tag/8.6.8",
  "severity" : [ {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "npm",
      "name" : "parse-server"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "8.6.8"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "npm",
      "name" : "parse-server"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "9.0.0-alpha.1"
      }, {
        "fixed" : "9.5.0-alpha.8"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/parse-community/parse-server/security/advisories/GHSA-hm3f-q6rw-m6wh"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-30848"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/parse-community/parse-server"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-22" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-03-09T17:41:55Z",
    "nvd_published_at" : "2026-03-07T17:15:52Z"
  }
}