Skip to content

MAL-2025-192953 Malicious code in aiogram-types-v3 (PyPI)

Unknown
Published
Updated
Exploit status
No public exploit known

Description


-= Per source details. Do not edit below this line.=-

Source: kam193 (f6ba04e944f1dfda1aaa2d571fa79cd8ce4074a106bae228e582473226810baf)

During installation or importing the module, the package starts a reverse shell to hardcoded locatiom


Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers.

Campaign: 2025-12-aiogram-sever-patch

Reasons (based on the campaign):

  • The package contains code to create a reverse shell, allowing an attacker to execute any commands on the victim's machine.

  • The package overrides the install command in setup.py to execute malicious code during installation.

  • dependency-confusion

Upgrade path

1 package: 0 fixed.

PackageAffectedFixed inStatus
pypi aiogram-types-v3(PyPI) = 3.0.1; = 3.0.2; = 3.0.5; = 3.1.0 +8 more No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
pypi aiogram-types-v3(PyPI) = 3.0.1 No fix listed
pypi aiogram-types-v3(PyPI) = 3.0.2 No fix listed
pypi aiogram-types-v3(PyPI) = 3.0.5 No fix listed
pypi aiogram-types-v3(PyPI) = 3.1.0 No fix listed
pypi aiogram-types-v3(PyPI) = 3.1.5 No fix listed
pypi aiogram-types-v3(PyPI) = 3.3.1 No fix listed
pypi aiogram-types-v3(PyPI) = 3.4.0 No fix listed
pypi aiogram-types-v3(PyPI) = 3.9.7 No fix listed
pypi aiogram-types-v3(PyPI) = 3.2.0 No fix listed
pypi aiogram-types-v3(PyPI) = 4.2.0 No fix listed
pypi aiogram-types-v3(PyPI) = 5.9.8 No fix listed
pypi aiogram-types-v3(PyPI) = 3.9.8 No fix listed

References