← Retour à la recherche de CVE

CVE-2026-55390

datamodel-code-generator

Description

datamodel-code-generator generates Python data models from schema definitions. From 0.59.0 until 0.62.0, XML Schema parsing in src/datamodel_code_generator/parser/xmlschema.py for --input-file-type xmlschema resolves xs:include, xs:import, xs:redefine, and xs:override schemaLocation values outside the input base path, allowing arbitrary local files to be read and reflected into generated models. This issue is fixed in version 0.62.0.

CVSS 7.5EPSS 0.361%Risque 0.77
Voir la source
Publication
2026-07-28 22:17:48
Versions concernées
>=0.59.0,<0.62.0
Type
Bibliothèque
Dernière modification
2026-07-30 20:02:44
Vecteur
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N