Arbitrary Code Injection Affecting label-studio package, versions <1.23.1-r0


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.21% (10th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-MINIMOSLATEST-LABELSTUDIO-20147886
  • published26 Sept 2026
  • disclosed28 Jul 2026

Introduced: 28 Jul 2026

CVE-2026-54621  (opens in a new tab)
CWE-94  (opens in a new tab)
CWE-1336  (opens in a new tab)

How to fix?

Upgrade Minimos:latest label-studio to version 1.23.1-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream label-studio package and not the label-studio package as distributed by Minimos. See How to fix? for Minimos:latest relevant fixed versions and status.

datamodel-code-generator generates Python data models from schema definitions. Prior to 0.60.1, GraphQL Union description values in src/datamodel_code_generator/model/template/UnionTypeStatement.jinja2 and src/datamodel_code_generator/model/template/UnionTypeStatement.py312.jinja2 are rendered into Python comments without neutralizing carriage returns in Python # comments, allowing attacker-controlled GraphQL schema content to inject Python code into generated models that runs when imported. This issue is fixed in version 0.60.1.