Intel

AIKIDO-2025-10586

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

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

68

Medium Risk

This Affects:

GOgithub.com/getkin/kin-openapi
0.90.0 - 0.132.0
Fixed in 0.133.0
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.

Who does this affect?

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

Background info

github.com/getkin/kin-openapi is vulnerable to Path Traversal in versions 0.90.0 - 0.132.0.

How to fix this

Upgrade the github.com/getkin/kin-openapi library to the patch version.