CVE-2024-1881

CriticalCVSS 9.8/10Last modified Jun 17, 2026

Description

AutoGPT, a component of significant-gravitas/autogpt, is vulnerable to an improper neutralization of special elements used in an OS command ('OS Command Injection') due to a flaw in its shell command validation function. Specifically, the vulnerability exists in versions v0.5.0 up to but not including 5.1.0. The issue arises from the application's method of validating shell commands against an allowlist or denylist, where it only checks the first word of the command. This allows an attacker to bypass the intended restrictions by crafting commands that are executed despite not being on the allowlist or by including malicious commands not present in the denylist. Successful exploitation of this vulnerability could allow an attacker to execute arbitrary shell commands.

Metrics

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

Weakness enumeration

Affected software

No affected versions have been published.

Timeline

Published
Jun 6, 2024
Last modified
Jun 17, 2026
NVD status
Modified

Related CVEs from 2024

CVE-2024-18827.2This vulnerability allows an already authenticated admin user to create a malicious payload that could be leveraged for remote code executioCVE-2024-18836.1This is a reflected cross site scripting vulnerability in the PaperCut NG/MF application server. An attacker can exploit this weakness by crCVE-2024-18846.5This is a Server-Side Request Forgery (SSRF) vulnerability in the PaperCut NG/MF server-side module that allows an attacker to induce the sCVE-2024-18859.8This vulnerability allows remote attackers to execute arbitrary code on the affected webOS of LG Signage.CVE-2024-18868.8This vulnerability allows remote attackers to traverse the directory on the affected webOS of LG Signage.CVE-2024-18874.3Mattermost fails to check if compliance export is enabled when fetching posts of public channels allowing a user that is not a member of theCVE-2024-18884.3Mattermost fails to check the "invite_guest" permission when inviting guests of other teams to a team, allowing a member with permissions toCVE-2024-18898.8Cross-Site Request Forgery vulnerability in SMA Cluster Controller, affecting version 01.05.01.R. This vulnerability could allow an attackerCVE-2024-18905.4Vulnerability whereby an attacker could send a malicious link to an authenticated operator, which could allow remote attackers to perform a CVE-2024-18915.4A stored cross site scripting vulnerability exists in Tenable Security Center where an authenticated, remote attacker could inject HTML codeCVE-2024-18926.5A Regular Expression Denial of Service (ReDoS) vulnerability exists in the XMLFeedSpider class of the scrapy/scrapy project, specifically inCVE-2024-18938.8The Easy Property Listings plugin for WordPress is vulnerable to time-based SQL Injection via the ‘property_status’ shortcode attribute in a
CVE-2024-1881: Critical severity, CVSS 9.8 | Vulnix