Skip to main content
Menu
Advisories

AutoGPT Classic: litellm version constraint permitted compromised releases (supply chain)

GHSA-4HQW-7F5J-5V66Published Updated GitHub

Description

github.com/BerriAI/litellm/issues/24512 Litellm was involved in a supply chain attack compromising all package versions ^=1.82.7. Litellm is a transitive dependecy in both original_autogpt and classic forge. github.com/Significant-Gravitas/AutoGPT/pull/12539 fixes the transitive dep in the mainline, but the pinned versions still exist in current poetry locks for above ecosystems.

Details

Specifically, the compromised versions ship with a litellm_init.pth which acts as a credential stealer. See litellm issue for details

PoC

Doing a poetry update could cause poetry to try and pull compromised version of the package.

Impact

Impact is low as PyPI packages have been yanked already, but it may be worth changing the pins to ^=1.17.X,<1.82.7

Release references

The patched-version metadata for this advisory points to the following release(s):

Affected versions

References

GitHub · Significant-Gravitas/AutoGPT