Intel

AIKIDO-2026-57390

jsonptr is vulnerable to Denial of Service (DoS)

Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Jul 30, 2026
July 30, 2026

53

CVE Score

Medium

Denial of Service (DoS)

Are you affected? Scan for Free

TL;DR

The delete module resolves a JSON Pointer's final token to an array index and passes it straight to the underlying vector removal. When that token is the RFC 6901 - token or a numeric index equal to the array length, the index equals the length and the removal call panics instead of reporting a miss. Code that deletes JSON Pointers built from untrusted input, such as a JSON Patch remove operation, therefore crashes on input like /- against any array. The fix computes the index with an exclusive bound helper so an out-of-range index returns None and leaves the document unchanged.

How do I fix this?

Upgrade the jsonptr library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you delete JSON Pointers built from untrusted input, for example JSON Patch remove operations.

Package

Versions

0.5.0 - 0.7.1

Fixed in 0.8.0

Background info

jsonptr is vulnerable to Denial of Service (DoS) in versions 0.5.0 - 0.7.1.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea