---
title: "datamodel-code-generator — CVE-2026-107377"
description: "A path traversal flaw affects the PyPI package datamodel-code-generator. Affected versions: >= 0.59.0, <= 0.80.0. Fixed from version 0.81.0. CVSS score 7.5."
canonical: https://inyourgeek.com/en/failles-de-securite/2026-10-08-cve-2026-107377
type: faille-de-securite
author: "Sébastien Soulier"
publisher: "InYourGeek"
language: en
datePublished: 2026-10-08
dateModified: 2026-10-08
---
# datamodel-code-generator — CVE-2026-107377

A path traversal flaw affects the PyPI package datamodel-code-generator. Affected versions: >= 0.59.0, <= 0.80.0. Fixed from version 0.81.0. CVSS score 7.5.

## What to do

Update datamodel-code-generator to 0.81.0 or later.

| Fact | Value |
| --- | --- |
| Package | datamodel-code-generator |
| Ecosystem | PyPI (Python) |
| Class | Path traversal |
| Affected versions | >= 0.59.0, <= 0.80.0 |
| Fixed version | 0.81.0 |
| CVSS | 7.5 |
| CVE | CVE-2026-107377 |
| GHSA | GHSA-77xj-x4rm-935c |
| Published on | October 8, 2026 |
| Severity | High |

## Sources

- [GitHub Security Advisory — GHSA-77xj-x4rm-935c](https://github.com/advisories/GHSA-77xj-x4rm-935c) — GitHub Security Advisories
- [NVD — CVE-2026-107377](https://nvd.nist.gov/vuln/detail/CVE-2026-107377) — NVD

---

Equivalent HTML page : https://inyourgeek.com/en/failles-de-securite/2026-10-08-cve-2026-107377
Published by InYourGeek — https://inyourgeek.com/en/a-propos
Method and safeguards : https://inyourgeek.com/en/methode
Full register : https://inyourgeek.com/en/failles-de-securite
