Search covers the description text, product and vendor names and weakness types (also partial words).

CVE-2021-41228
google tensorflow

Score7.8 High
CVSS 3.1
Exploit probability (EPSS)0.22%
within the next 30 days
CategoryCode execution & injection
Published5 November 2021
Last modified: 17 June 2026

In short

This vulnerability can be exploited with local access to the device, with a regular user account, without any user interaction.

A successful attack has high impact: reading confidential data, modifying data, crashing the system or making it unavailable.

Weakness type: OS command injection.

✨ AI commentary

After a short ad, a plain-language commentary on this vulnerability is shown. AI can make mistakes; base decisions on the official sources.

Official description

TensorFlow is an open source platform for machine learning. In affected versions TensorFlow's `saved_model_cli` tool is vulnerable to a code injection as it calls `eval` on user supplied strings. This can be used by attackers to run arbitrary code on the plaform where the CLI tool runs. However, given that the tool is always run manually, the impact of this is not severe. We have patched this by adding a `safe` flag which defaults to `True` and an explicit warning for users. The fix will be included in TensorFlow 2.7.0. We will also cherrypick this commit on TensorFlow 2.6.1, TensorFlow 2.5.2, and TensorFlow 2.4.4, as these are also affected and still in supported range.

CVSS: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Weakness: CWE-78 – OS command injection, CWE-94 – Code injection

Affected products

VendorProductVersions
googletensorflow>=2.4.0 <2.4.4
googletensorflow>=2.5.0 <2.5.2
googletensorflow>=2.6.0 <2.6.1
googletensorflow2.7.0

Sources

Latest in the same category

  • CVE-2026-139860 Medium 5.5
    A vulnerability was found in itsourcecode Stock Management System 1.0. This impacts an unknown function of the file php_action/fetchOrderData.php. Performing a manipulation of the argument orderId results in sql…
    Code execution & injection · 30 November 2026
  • CVE-2026-139859 Medium 5.5
    A vulnerability has been found in itsourcecode Stock Management System 1.0. This affects an unknown function of the file php_action/fetchSelectedProduct.php. Such manipulation of the argument productId leads to sql…
    Code execution & injection · 30 November 2026
  • CVE-2026-139858 Low 2.1
    A flaw has been found in Dromara Jpom up to 2.11.14. The impacted element is the function toIndex of the file IndexControl.java of the component Server Index Controller. This manipulation causes cross site scripting.…
    Code execution & injection · 30 November 2026
  • CVE-2026-139857 Low 2.1
    A vulnerability was detected in Dromara Jpom up to 2.11.14. The affected element is the function toIndex of the file modules/server/src/main/java/org/dromara/jpom/controller/IndexControl.java of the component Web…
    Code execution & injection · 30 November 2026
  • CVE-2026-139856 Medium 5.5
    A security vulnerability has been detected in Dromara Jpom up to 2.11.13. Impacted is the function listPage of the file BaseDbService.java. The manipulation of the argument order_field leads to sql injection. The…
    Code execution & injection · 30 November 2026
  • CVE-2026-137199 Critical 9.2
    cross-spawn is a cross-platform solution for Node.js spawn and spawnSync. Prior to 6.0.7 and 7.1.0, Windows applications that pass untrusted arguments to commands routed through cmd.exe can be vulnerable because…
    Code execution & injection · 30 November 2026