# CVE-2026-26006: Redos (Regular Expression Denial of Service) at Code Extraction Block in significant-gravitas/autogpt

- Severity: Medium 6.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.53%, higher than 45% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-02-10T21:21:00.635Z
- Modified: 2026-06-17T10:25:35.140Z
- Weaknesses: CWE-1333
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- Significant-Gravitas AutoGPT: >= 0.4.0, < 0.6.32
- agpt autogpt_platform: from 0.4.0 before 0.6.32

## References

- <https://github.com/Significant-Gravitas/AutoGPT/security/advisories/GHSA-m2wr-7m3r-p52c> (exploit, mitigation, vendor-advisory)
- <https://github.com/Significant-Gravitas/AutoGPT/commit/57a06f70883ce6be18738c6ae8bb41085c71e266> (patch)
- <https://github.com/Significant-Gravitas/AutoGPT/blob/master/autogpt_platform/backend/backend/blocks/code_extraction_block.py#L106-L109> (product)
- <https://github.com/Significant-Gravitas/AutoGPT/blob/master/autogpt_platform/backend/backend/blocks/code_extraction_block.py#L86-L96> (product)
- <https://github.com/Significant-Gravitas/AutoGPT/releases/tag/autogpt-platform-beta-v0.6.32> (release-notes)

## Sources

- CVE List: [CVE-2026-26006](https://www.cve.org/CVERecord?id=CVE-2026-26006), CVE Terms of Use, modified 2026-02-11
- NVD: [CVE-2026-26006](https://nvd.nist.gov/vuln/detail/CVE-2026-26006), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-26006 · Whole record: https://cve.day/CVE-2026-26006.json · Rebuilt by cve.day 2026-11-25T22:59:13.756Z
