Intel

AIKIDO-2026-517233

jsonschema-rs is vulnerable to Improper Input Validation

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

59

CVE Score

Medium

Improper Input Validation

Are you affected? Scan for Free

TL;DR

jsonschema-rs validates numeric instances against minimum, maximum, and their exclusive variants using arbitrary-precision numbers, which are always enabled. Integer instances just outside the i64/u64 range are compared against these bounds after a lossy conversion to f64, so a value one step beyond the limit rounds onto the boundary and is treated as satisfying it. An instance that actually violates a numeric bound can therefore be accepted as valid, bypassing the schema constraint on untrusted input. The fix compares such out-of-range integers exactly instead of using f64 rounding.

How do I fix this?

Upgrade the jsonschema-rs library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Versions

0.35.0 - 0.47.0

Fixed in 0.48.0

Background info

jsonschema-rs is vulnerable to Improper Input Validation in versions 0.35.0 - 0.47.0.

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