Redos (Regular Expression Denial of Service) at Code Extraction Block in significant-gravitas/autogpt
AutoGPT is a platform that allows users to create, deploy, and manage continuous artificial intelligence agents that automate complex workflows. The autogpt before 0.6.32 is vulnerable to Regular Expression Denial of Service due to the use of regex at Code Extraction Block. The two Regex are used containing the corresponding dangerous patterns \s+[\s\S]*? and \s+(.*?). They share a common characteristic — the combination of two adjacent quantifiers that can match the same space character (\s). As a result, an attacker can supply a long sequence of space characters to trigger excessive regex backtracking, potentially leading to a Denial of Service (DoS). This vulnerability is fixed in 0.6.32.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-26006
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 7 Nov 2026, 01:12 UTC · Revision 1
Source evidence
Redos (Regular Expression Denial of Service) at Code Extraction Block in significant-gravitas/autogpt
core-osv · Original sourcePublished 10 Feb 2026, 21:21 UTC
AutoGPT is a platform that allows users to create, deploy, and manage continuous artificial intelligence agents that automate complex workflows. The autogpt before 0.6.32 is vulnerable to Regular Expression Denial of Service due to the use of regex at Code Extraction Block. The two Regex are used containing the corresponding dangerous patterns \s+[\s\S]*? and \s+(.*?). They share a common characteristic — the combination of two adjacent quantifiers that can match the same space character (\s). As a result, an attacker can supply a long sequence of space characters to trigger excessive regex backtracking, potentially leading to a Denial of Service (DoS). This vulnerability is fixed in 0.6.32.
osv:CVE-2026-26006
Complete source record
{
"id": "f4bd95419d731e2a2028f91bd97e5d7e66d50dab90cdc6acccd00a9eeac865ac",
"url": "https://osv.dev/vulnerability/CVE-2026-26006",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Redos (Regular Expression Denial of Service) at Code Extraction Block in significant-gravitas/autogpt",
"summary": "AutoGPT is a platform that allows users to create, deploy, and manage continuous artificial intelligence agents that automate complex workflows. The autogpt before 0.6.32 is vulnerable to Regular Expression Denial of Service due to the use of regex at Code Extraction Block. The two Regex are used containing the corresponding dangerous patterns \\s+[\\s\\S]*? and \\s+(.*?). They share a common characteristic — the combination of two adjacent quantifiers that can match the same space character (\\s). As a result, an attacker can supply a long sequence of space characters to trigger excessive regex backtracking, potentially leading to a Denial of Service (DoS). This vulnerability is fixed in 0.6.32.",
"evidence": "osv:CVE-2026-26006",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2026-26006",
"aliases": [
"CVE-2026-26006",
"GHSA-m2wr-7m3r-p52c"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/significant-gravitas/autogpt",
"type": "GIT",
"events": [
{
"introduced": "25a7957bb801cc2ffd088ac81269fe96c5696b23"
},
{
"fixed": "73603a8ce54418bc4eba730429854bf072a65f7f"
},
{
"fixed": "57a06f70883ce6be18738c6ae8bb41085c71e266"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:agpt:autogpt_platform:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0.4.0"
},
{
"fixed": "0.6.32"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "57a06f70883ce6be18738c6ae8bb41085c71e266"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "73603a8ce54418bc4eba730429854bf072a65f7f"
}
],
"source": "REFERENCES_TAG",
"original_tag": "autogpt-platform-beta-v0.6.32"
}
]
}
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-26006.json"
}
}
],
"modified": "2026-10-28T02:30:48.958463164Z",
"provider": "osv",
"references": [
"https://github.com/Significant-Gravitas/AutoGPT/blob/master/autogpt_platform/backend/backend/blocks/code_extraction_block.py#L106-L109",
"https://github.com/Significant-Gravitas/AutoGPT/blob/master/autogpt_platform/backend/backend/blocks/code_extraction_block.py#L86-L96",
"https://github.com/Significant-Gravitas/AutoGPT/releases/tag/autogpt-platform-beta-v0.6.32",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/26xxx/CVE-2026-26006.json",
"https://github.com/Significant-Gravitas/AutoGPT/security/advisories/GHSA-m2wr-7m3r-p52c",
"https://nvd.nist.gov/vuln/detail/CVE-2026-26006",
"https://github.com/Significant-Gravitas/AutoGPT/commit/57a06f70883ce6be18738c6ae8bb41085c71e266"
],
"provider_metadata": {
"cwe_ids": [
"CWE-1333"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/26xxx/CVE-2026-26006.json"
}
},
"related_cves": [
{
"value": "CVE-2026-26006",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 516880,
"published_at": "2026-02-10T21:21:00.635+00:00"
}