Skip to content

[GHSA-87r5-mp6g-5w5j] Add @astronautlabs/jsonpath, an unpatched fork of jsonpath - #12183

Open
Rohukas wants to merge 1 commit into
github:Rohukas/advisory-improvement-12183from
Rohukas:Rohukas-GHSA-87r5-mp6g-5w5j
Open

Rohukas wants to merge 1 commit into
github:Rohukas/advisory-improvement-12183from
Rohukas:Rohukas-GHSA-87r5-mp6g-5w5j

Conversation

@Rohukas

@Rohukas Rohukas commented Dec 1, 2026

Copy link
Copy Markdown

GHSA-87r5-mp6g-5w5j (CVE-2026-1615, jsonpath <= 1.2.1) also applies to @astronautlabs/jsonpath, a GitHub fork of dchester/jsonpath ported to TypeScript. The fork never received the 1.3.0 fix. This PR adds it with no patched version.

How this was checked:

  • All 9 published versions were downloaded from npm. Each one depends on static-eval 2.0.2 and calls it directly on the parsed expression. None of them has a safety check. Version 1.0.3 ships only the TypeScript source, which has the same call.
  • A harmless check (not an exploit): JSONPath.query({ items: [{ n: 1, label: "one" }] }, "$.items[?(@.label.toUpperCase() == 'ONE')].n") returns [1] with 1.1.2, so method calls in filter expressions are evaluated. jsonpath 1.3.0 rejects the same query as an unsafe expression.

As with the original advisory, only applications that pass untrusted JSONPath expressions to the library are exposed.

🤖 Generated with Claude Code

@astronautlabs/jsonpath is an unpatched fork of jsonpath with the same
unchecked static-eval call that CVE-2026-1615 covers.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Copilot AI adaptive review requested due to automatic review settings December 1, 2026 13:21
@github-actions
github-actions Bot changed the base branch from main to Rohukas/advisory-improvement-12183 December 1, 2026 13:23

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

The advisory fails to name the unpatched fork or distinguish it from upstream jsonpath, fixed in 1.3.0, making the remediation guidance ambiguous.

1 open issue
What changed in this PR

Extends GHSA-87r5-mp6g-5w5j to cover the unpatched @astronautlabs/jsonpath fork alongside upstream jsonpath.

Changes:

  • Adds the fork as affected, with no patched version and 1.1.2 recorded as the last known affected release.
  • Adds a source reference to the fork’s vulnerable expression evaluation.
File Description
advisories/​github-reviewed/​2026/​02/​GHSA-87r5-mp6g-5w5j/​GHSA-87r5-mp6g-5w5j.json Adds the affected fork, version metadata, and supporting source reference.

Review effort: Max (adaptive)

{
"package": {
"ecosystem": "npm",
"name": "@astronautlabs/jsonpath"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants