CVE-2020-15141: Path Traversal Vulnerability in openapi-python-client

openapi-python-client Updated 02 Oct 2025

Summary

14/08/2020
Yes i
Low
3.0

CVE-2020-15141: In openapi-python-client before version 0.5.3, there is a path traversal vulnerability. Affects openapi-python-client across 2 version ranges.

< 0.5.3 < 3e7dfae5d0b3685abf1ede1bc6c086a116ac4746

Fixed in 3e7dfae5d0b3685abf1ede1bc6c086a116ac4746. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

openapi-python-client is a Python package available on PyPI that generates client libraries from OpenAPI specifications. It allows users to easily interact with APIs defined using the OpenAPI standard. The package is widely used in Python projects to automate the generation of API client code. However, a path traversal vulnerability has been discovered in versions prior to 0.5.3 of openapi-python-client.

Vulnerability Detail

The path traversal vulnerability in openapi-python-client allows an attacker to manipulate the generated files' location on disk by providing a maliciously crafted OpenAPI document. This can lead to arbitrary file placement on the system, potentially allowing an attacker to overwrite or create files in sensitive locations. The vulnerability poses a significant risk to the integrity and security of the affected system.

How To Fix

Minimum fixed version

3e7dfae5d0b3685abf1ede1bc6c086a116ac4746

This is the first release that contains the fix.

pip install --upgrade "openapi-python-client==3e7dfae5d0b3685abf1ede1bc6c086a116ac4746"

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There is no known workaround for this vulnerability. It is essential to update to the fixed version of openapi-python-client as soon as possible.

Conclusion

The path traversal vulnerability in openapi-python-client can be exploited by an attacker to manipulate the location of generated files on disk. This can lead to unauthorized access, data loss, or system compromise. It is highly recommended to upgrade to version 0.5.3 or later of openapi-python-client to mitigate the risk. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for openapi-python-client →

Share this vulnerability

FAQ

openapi-python-client is a Python package that generates client libraries from OpenAPI specifications. It simplifies the process of interacting with APIs defined using the OpenAPI standard.

A path traversal vulnerability allows an attacker to access files or directories outside of the intended directory structure. In this case, the vulnerability in openapi-python-client allows an attacker to manipulate the location of generated files on disk.

The path traversal vulnerability in openapi-python-client can lead to arbitrary file placement on the system. This can be exploited by an attacker to overwrite or create files in sensitive locations, potentially leading to unauthorized access, data loss, or system compromise.

Yes, a fix is available for this vulnerability. Users should upgrade openapi-python-client to version 0.5.3 or later to mitigate the risk.

No, there are no known workarounds for this vulnerability. It is crucial to update to the fixed version of openapi-python-client.

Related vulnerabilities

Recent vulnerabilities recorded for openapi-python-client.

How To Fix

Minimum fixed version

3e7dfae5d0b3685abf1ede1bc6c086a116ac4746

This is the first release that contains the fix.

pip install --upgrade "openapi-python-client==3e7dfae5d0b3685abf1ede1bc6c086a116ac4746"

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback