Intel

AIKIDO-2025-10586

github.com/getkin/kin-openapi is vulnerable to Path Traversal

Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Aug 25, 2025
August 25, 2025

68

CVSS Score

Medium

Path Traversal

Are you affected? Scan for Free

TL;DR

Affected versions of this package are vulnerable to path traversal in the ReadFromFile function due to insufficient input sanitization, allowing attackers to access files outside the intended directory.

How do I fix this?

Upgrade the github.com/getkin/kin-openapi 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.90.0 - 0.132.0

Fixed in 0.133.0

Background info

github.com/getkin/kin-openapi is vulnerable to Path Traversal in versions 0.90.0 - 0.132.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