Intel

AIKIDO-2026-342953

@ibm-cloud/openapi-ruleset is vulnerable to Regular Expression Denial of Service (ReDoS)

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

53

CVE Score

Medium

Regular Expression Denial of Service (ReDoS)

Are you affected? Scan for Free

TL;DR

@ibm-cloud/openapi-ruleset validates OpenAPI documents against IBM Cloud API conventions using Spectral rules. The ibm-schema-casing-convention and ibm-parameter-casing-convention rules check schema names and header parameter names with regular expressions that use overlapping, ambiguous quantifiers. A crafted schema name or header parameter name triggers catastrophic backtracking, causing the validation process to exhaust CPU and hang. The fix rewrites both patterns so they match in linear time while keeping the same validation logic.

How do I fix this?

Upgrade the @ibm-cloud/openapi-ruleset 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 run the validator against OpenAPI documents from untrusted sources.

Versions

1.14.1 - 1.33.10

Fixed in 1.33.11

Background info

@ibm-cloud/openapi-ruleset is vulnerable to Regular Expression Denial of Service (ReDoS) in versions 1.14.1 - 1.33.10.

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