Arbitrary Command Injection The advisory has been revoked - it doesn't affect any version of package python-tools  (opens in a new tab)


Threat Intelligence

Social Trends
EPSS
0.36% (29th 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-RHEL7-PYTHONTOOLS-15061102
  • published23 Jan 2026
  • disclosed20 Jan 2026

Introduced: 20 Jan 2026

CVE-2025-15366  (opens in a new tab)
CWE-77  (opens in a new tab)

Amendment

The Red Hat security team deemed this advisory irrelevant for RHEL:7.

NVD Description

Note: Versions mentioned in the description apply only to the upstream python-tools package and not the python-tools package as distributed by RHEL.

The imaplib module, when passed a user-controlled command, can have additional commands injected using newlines. Mitigation rejects commands containing control characters.